File_Passwd_Common::load()

File_Passwd_Common::load() -- Loads the file

Synopsis

mixed File_Passwd_Common::load ()

Beschreibung

Loads the passwd file and calls the parse() method of the extending child class.

Rückgabewert

Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Tabelle 38-1. Mögliche Fehler-Arten

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 read mode
FILE_PASSWD_E_FILE_NOT_LOCKEDpasswd file couldn't be locked shared
FILE_PASSWD_E_FILE_NOT_UNLOCKEDpasswd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSEDpasswd file couldn't be closed
FILE_PASSWD_E_INVALID_FORMATpasswd file has invalid format

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.