Difference between revisions of "PHPLights/Documentation/Interfaces/LsFactoryIface"
From Linuxnetworks
< PHPLights | Documentation | Interfaces
(initial) |
(update) |
||
| Line 5: | Line 5: | ||
public static function create( | public static function create( | ||
$name, | $name, | ||
| − | $interface = NULL, | + | $interface = NULL |
| − | array $ | + | ); |
| + | public function createObject( | ||
| + | $name, | ||
| + | $interface = NULL, | ||
| + | array $arglist = array(), | ||
| + | $object = NULL | ||
); | ); | ||
} | } | ||
| Line 18: | Line 23: | ||
public static function create( | public static function create( | ||
$name, | $name, | ||
| − | $interface = NULL, | + | $interface = NULL |
| − | array $ | + | ); |
| + | |||
| + | === createObject === | ||
| + | |||
| + | public function createObject( | ||
| + | $name, | ||
| + | $interface = NULL, | ||
| + | array $arglist = array(), | ||
| + | $object = NULL | ||
); | ); | ||
Latest revision as of 12:52, 6 October 2007
Synopsis
interface LsFactoryIface
{
public static function create(
$name,
$interface = NULL
);
public function createObject(
$name,
$interface = NULL,
array $arglist = array(),
$object = NULL
);
}
Description
Public functions
create
public static function create( $name, $interface = NULL );
createObject
public function createObject( $name, $interface = NULL, array $arglist = array(), $object = NULL );
Back to Overview