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

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.