File_Passwd_Common::load

File_Passwd_Common::load() – Loads the file

Synopsis

mixed File_Passwd_Common::load ( )

Description

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

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 read mode
FILE_PASSWD_E_FILE_NOT_LOCKED passwd file couldn't be locked shared
FILE_PASSWD_E_FILE_NOT_UNLOCKED passwd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSED passwd file couldn't be closed
FILE_PASSWD_E_INVALID_FORMAT passwd file has invalid format

Note

This function can not be called statically.

Set path to passwd file (Previous) Parse the content of the file (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.