Archive_Tar::addModify() (Previous) (Next) Archive_Tar::createModify()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Archive_Tar::create()

Archive_Tar::create() -- create archive file

Beschrijving

This method creates the archive file and adds the listed files or directories.

If a file with the same tar name exists and is writable, it is replaced by the new tar archive (it is not an 'add', but a 'create'). If a file exists and is write-protected or is a folder, the method raises a PEAR_Error.

Parameter

  • mixed $filelist - an array of filenames and directory names, or a single string with names separated by a single blank space. For each directory added in the archive, the files and sub-directories are also added.

Return waarde

boolean - Geeft TRUE terug bij success, FALSE bij een fout.

Note

Deze functie kan niet statisch worden aangeroepen.

Archive_Tar::addModify() (Previous) (Next) Archive_Tar::createModify()

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.