List of all members.
Detailed Description
object manipulation class
Definition at line 6 of file oxutilsobject.php.
Member Function Documentation
oxUtilsObject._getObject |
( |
$ |
sClassName, |
|
|
$ |
iArgCnt, |
|
|
$ |
aParams | |
|
) |
| | [protected] |
Creates object with dynamic constructor parameters. If parameter count > 5 - exception is thrown
- Parameters:
-
| string | $sClassName class name |
| int | $iArgCnt argument count |
| array | $aParams constructor parameters |
- Exceptions:
-
- Returns:
- mixed
Definition at line 123 of file oxutilsobject.php.
oxUtilsObject._makeSafeModuleClassParents |
( |
$ |
aClassChain, |
|
|
$ |
sBaseModule | |
|
) |
| | [private] |
Creates middle classes if needed.
- Parameters:
-
| array | $aClassChain Module names |
| string | $sBaseModule Oxid base class |
- Exceptions:
-
- Returns:
- string
Definition at line 283 of file oxutilsobject.php.
oxUtilsObject.generateUId |
( |
|
) |
|
oxUtilsObject.getClassName |
( |
$ |
sClassName |
) |
|
Returns name of class file, according to class name.
- Parameters:
-
| string | $sClassName Class name |
- Returns:
- string
Definition at line 226 of file oxutilsobject.php.
static oxUtilsObject.getInstance |
( |
|
) |
[static] |
oxUtilsObject.isModuleActive |
( |
$ |
sClassName, |
|
|
$ |
sModuleName | |
|
) |
| | |
Returns if modul exists.
- Parameters:
-
| string | $sClassName Class name |
| string | $sModuleName Modul name |
- Returns:
- bool
Definition at line 259 of file oxutilsobject.php.
oxUtilsObject.oxNew |
( |
$ |
sClassName |
) |
|
Creates and returns new object. If creation is not available, dies and outputs error message.
- Parameters:
-
| string | $sClassName Name of class |
- Exceptions:
-
- Returns:
- object
Definition at line 71 of file oxutilsobject.php.
oxUtilsObject.oxNewArticle |
( |
$ |
sOxID, |
|
|
$ |
aProperties = array() | |
|
) |
| | |
Creates and returns oxarticle (or subclass) object.
- Parameters:
-
| string | $sOxID ID to load subclass type from database |
| array | $aProperties array of properties to assign |
- Returns:
- object
Definition at line 165 of file oxutilsobject.php.
oxUtilsObject.resetInstanceCache |
( |
$ |
sClassName = null |
) |
|
Resests instance cache
- Parameters:
-
| string | $sClassName class name in the cache |
- Returns:
- null;
Definition at line 191 of file oxutilsobject.php.
Member Data Documentation
oxUtilsObject.$_aClassNameCache = array() [protected] |
oxUtilsObject.$_aInstanceCache = array() [static, protected] |
oxUtilsObject.$_aLoadedArticles = array() [static, protected] |
oxUtilsObject.$_instance = null [static, private] |
The documentation for this class was generated from the following file: