previousFile_Passwd::apiVersion (Previous) (Next) File_Passwd::staticAuthnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File_Passwd::factory

File_Passwd::factory() – Factory for extensions

Synopsis

require_once 'File/Passwd.php';

object &File_Passwd::factory ( string $class )

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.

previousFile_Passwd::apiVersion (Previous) (Next) File_Passwd::staticAuthnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.