SproutCMS

This is the code documentation for the SproutCMS project

function add()

Adds files or directories, recursively, to an archive.

Usage

object $Archive->add ( string $path [, string $name [, bool $recursive ]] );

Arguments

  1. string $path
    file or directory to add
  2. string $name = NULL
    name to use for the given file or directory
  3. bool $recursive = NULL
    add files recursively, used with directories

Return value

  • object