File_Passwd_Common::_save()

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

Synopsis

mixed File_Passwd_Common::_save (string $content)

Opis

Save content to file.

(związane z developerem pakietu)

Parametr

string $content

file content

Zwracana wartość

Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.

Tabela 39-1. Możliwe wartości PEAR_Error

Error CodeSummary
FILE_PASSWD_E_DIR_NOT_CREATEDthe directory in which the passwd file should reside couldn't be created
FILE_PASSWD_E_FILE_NOT_OPENEDpasswd file couldn't be opened in write mode
FILE_PASSWD_E_FILE_NOT_LOCKEDpasswd file couldn't be locked exclusively
FILE_PASSWD_E_FILE_NOT_UNLOCKEDpasswd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSEDpasswd file couldn't be closed

Uwagi

Ta funkcja nie może być wywołana statycznie.