previousFile_Passwd_Common::_close (Previous) (Next) File_Passwd_Common::__constructnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_Passwd_Common::_save

File_Passwd_Common::_save() – Save the modified content to the passwd file

Synopsis

mixed File_Passwd_Common::_save ( string $content )

Description

Save content to file.

(package developer related)

Parameter

string $content

file content

Return value

Returns TRUE on success, PEAR_Error on failure.

Possible PEAR_Error values
Error Code Summary
FILE_PASSWD_E_DIR_NOT_CREATED the directory in which the passwd file should reside couldn't be created
FILE_PASSWD_E_FILE_NOT_OPENED passwd file couldn't be opened in write mode
FILE_PASSWD_E_FILE_NOT_LOCKED passwd file couldn't be locked exclusively
FILE_PASSWD_E_FILE_NOT_UNLOCKED passwd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSED passwd file couldn't be closed

Note

This function can not be called statically.

previousFile_Passwd_Common::_close (Previous) (Next) File_Passwd_Common::__constructnext

Download Documentation Last updated: Sun, 18 Oct 2009
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.