Baseclass for File_Passwd_* classes.
Provides basic operations:
Located in Program_Root/Passwd/Common.php (line 43)
| Class | Description |
|---|---|
| File_Passwd_Authbasic | Manipulate AuthUserFiles as used for HTTP Basic Authentication. |
| File_Passwd_Authdigest | Manipulate AuthDigestFiles as used for HTTP Digest Authentication. |
| File_Passwd_Cvs | Manipulate CVS pserver passwd files. |
| File_Passwd_Smb | Manipulate SMB server passwd files. |
| File_Passwd_Unix | Manipulate standard Unix passwd files. |
delUser (line 269)
Delete a certain user
Returns a PEAR_Error if user doesn't exist.
getFile (line 244)
Get path of passwd file
listUser (line 287)
List user
Returns a PEAR_Error if $user doesn't exist.
load (line 185)
Loads the file
Returns a PEAR_Error if:
parse (line 99)
Parse the content of the file
You must overwrite this method in your File_Passwd_* class.
save (line 113)
Apply changes and rewrite passwd file
You must overwrite this method in your File_Passwd_* class.
setFile (line 234)
Set path to passwd file
userExists (line 255)
Check if a certain user already exists
_close (line 161)
Closes a prior opened and locked file handle
Returns a PEAR_Error if:
_open (line 130)
Opens a file, locks it exclusively and returns the filehandle
Returns a PEAR_Error if:
_save (line 219)
Save the modified content to the passwd file
Returns a PEAR_Error if:
__clone (line 85)
Get Copy of this object (ZE2)
__construct (line 75)
Constructor (ZE2)
Documention generated on Sat, 20 Sep 2003 16:14:42 +0200 by phpDocumentor 1.2.1