Definition at line 6 of file oxutilsobject.php.
Public Member Functions | |
oxNew ($sClassName, $sParams=null) | |
oxNewArticle ($sOxID, $aProperties=array()) | |
resetInstanceCache ($sClassName=null) | |
generateUId () | |
getClassName ($sClassName) | |
Static Public Member Functions | |
static | getInstance () |
Protected Attributes | |
$_aClassNameCache = array() | |
Static Protected Attributes | |
static | $_aLoadedArticles = array() |
static | $_aInstanceCache = array() |
Private Member Functions | |
_makeSafeModuleClassParents ($aClassChain, $sBaseModule) | |
Static Private Attributes | |
static | $_instance = null |
static oxUtilsObject.getInstance | ( | ) | [static] |
oxUtilsObject.oxNew | ( | $ | sClassName, | |
$ | sParams = null | |||
) |
Creates and returns new object. If creation is not available, dies and outputs error message.
string | $sClassName Name of class | |
string | $sParams Parameters to object |
oxSystemComponentException | in case that class does not exists |
Definition at line 73 of file oxutilsobject.php.
oxUtilsObject.oxNewArticle | ( | $ | sOxID, | |
$ | aProperties = array() | |||
) |
Creates and returns oxarticle (or subclass) object.
string | $sOxID ID to load subclass type from database | |
array | $aProperties array of properties to assign |
Definition at line 123 of file oxutilsobject.php.
oxUtilsObject.resetInstanceCache | ( | $ | sClassName = null |
) |
Resests instance cache
string | $sClassName class name in the cache |
Definition at line 149 of file oxutilsobject.php.
oxUtilsObject.generateUId | ( | ) |
oxUtilsObject.getClassName | ( | $ | sClassName | ) |
Returns name of class file, according to class name.
string | $sClassName Class name |
Definition at line 184 of file oxutilsobject.php.
oxUtilsObject._makeSafeModuleClassParents | ( | $ | aClassChain, | |
$ | sBaseModule | |||
) | [private] |
Creates middle classes if needed.
array | $aClassChain Module names | |
string | $sBaseModule Oxid base class |
oxSystemComponentException | missing system component exception |
Definition at line 218 of file oxutilsobject.php.
oxUtilsObject.$_aClassNameCache = array() [protected] |
Definition at line 13 of file oxutilsobject.php.
oxUtilsObject.$_aLoadedArticles = array() [static, protected] |
Definition at line 20 of file oxutilsobject.php.
oxUtilsObject.$_aInstanceCache = array() [static, protected] |
Definition at line 27 of file oxutilsobject.php.
oxUtilsObject.$_instance = null [static, private] |
Definition at line 34 of file oxutilsobject.php.