Public Member Functions | |
getObject ($objName, $new=0) | |
createObject ($objName, &$xmlArr=null) | |
setObject ($objName, $obj) | |
getAllObjects () | |
Protected Member Functions | |
constructObject ($objName, &$xmlArr=null) | |
Protected Attributes | |
$_objsRefMap = array() |
Definition at line 26 of file ObjectFactory.php.
constructObject | ( | $ | objName, |
&$ | xmlArr = null |
||
) | [protected] |
Construct an instance of an object
string | $objName | object name |
array | $xmlArr | xml array |
Definition at line 101 of file ObjectFactory.php.
createObject | ( | $ | objName, |
&$ | xmlArr = null |
||
) |
Create a new metadata based object instance
string | $objName | name of object will be create |
array | $xmlArr | propery array of object |
Definition at line 73 of file ObjectFactory.php.
getAllObjects | ( | ) |
Get all object from the internal object array (object cache)
Definition at line 89 of file ObjectFactory.php.
getObject | ( | $ | objName, |
$ | new = 0 |
||
) |
Get a metadata based object instance. It returns the instance the internal object map or create a new one and save it in the map.
string | $objName | name of object that want to get |
Definition at line 49 of file ObjectFactory.php.