

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] |
Returns object instance
| 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 |
| 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 |
| oxUtilsObject.resetInstanceCache | ( | $ | sClassName = null |
) |
Resests instance cache
| string | $sClassName class name in the cache |
| oxUtilsObject.generateUId | ( | ) |
Returns generated unique ID.
| oxUtilsObject.getClassName | ( | $ | sClassName | ) |
Returns name of class file, according to class name.
| string | $sClassName Class name |
| oxUtilsObject._makeSafeModuleClassParents | ( | $ | aClassChain, | |
| $ | sBaseModule | |||
| ) | [private] |
Creates middle classes if needed.
| array | $aClassChain Module names | |
| string | $sBaseModule Oxid base class |
| oxSystemComponentException | missing system component exception |
oxUtilsObject.$_aClassNameCache = array() [protected] |
oxUtilsObject.$_aLoadedArticles = array() [static, protected] |
oxUtilsObject.$_aInstanceCache = array() [static, protected] |
oxUtilsObject.$_instance = null [static, private] |
1.5.5