File_Passwd_Common::_close()

File_Passwd_Common::_close() -- Closes a prior opened and locked file handle

Synopsis

mixed File_Passwd_Common::_close (resource &$file_handle)

Opis

Closes a prior with File_Passwd_Common::_open() opened and locked file handle.

(związane z developerem pakietu)

Parametr

resource &$file_handle

the file handle to operate on

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_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.