File_Passwd_Common::_save() -- Save the modified content to the passwd file
Descripción
Save content to file.
(package developer related)
Parámetro
- string
$content
file content
Valor devuelto
Devuelve TRUE si hay éxito,
PEAR_Error si falla.
Tabla 39-1. Posibles valores de PEAR_Error
| 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 |
Nota
Esta función no puede ser llamada
estáticamente.