File_Passwd::factory() -- Factory for extensions
Description
Load the desired worker class (extension).
Unix - for standard Unix passwd files
CVS - for CVS pserver passwd files
SMB - for SMB server passwd files
Authbasic - for AuthUserFiles
Authdigest - for AuthDigestFiles
Custom - for custom formatted passwd files
Parameter
- string
$class
the desired extension of File_Passwd
Return value
Returns object File_Passwd extension or PEAR_Error on failure.
Note
This function should be called
statically.