File_Passwd_Common::_save()

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

Referentiesamenvatting

mixed File_Passwd_Common::_save (string $content)

Beschrijving

Save content to file.

(Bedoeld voor pakket ontwikkelaars.)

Parameter

string $content

file content

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Tabel 38-1. Mogelijke PEAR_Error waarden

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

Note

Deze functie kan niet statisch worden aangeroepen.