Archive_Tar::create() (Previous) (Next) Archive_Tar::extract()

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

Archive_Tar::createModify()

Archive_Tar::createModify() -- create a new archive

Описание

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

If the file already exists and is writable, it is replaced by the new tar. It is a 'create' and not a 'add'. If the file exists and is read-only or is a directory, it is not replaced.

Параметр

  • mixed $filelist - an array of filenames and directory names, or a single string with names separated by a single blank space.

  • string $add_dir - contains a path to be added to the memorized path of each element in the list.

  • string $remove_dir - contains a path to be removed from the memorized path of each element in the list, when relevant. Default is an empty string.

Возвращаемое значение

boolean - Возвращает TRUE в случае успеха и FALSE при неудаче.

Заметка

Эта функция не должна вызываться статически.

Archive_Tar::create() (Previous) (Next) Archive_Tar::extract()

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.