OXID eShop CE
6.0.6
|
Static Public Member Functions | |
static | get ($className) |
static | set ($className, $instance) |
static | getConfig () |
static | getSession () |
static | getLang () |
static | getUtils () |
static | getUtilsObject () |
static | getInputValidator () |
static | getPictureHandler () |
static | getRequest () |
static | getSeoEncoder () |
static | getSeoDecoder () |
static | getUtilsCount () |
static | getUtilsDate () |
static | getUtilsFile () |
static | getUtilsPic () |
static | getUtilsServer () |
static | getUtilsString () |
static | getUtilsUrl () |
static | getUtilsXml () |
static | getUtilsView () |
static | getControllerClassNameResolver () |
static | getKeys () |
static | instanceExists ($className) |
static | getBackwardsCompatibilityClassMap () |
static | getStorageKey ($className) |
Static Protected Member Functions | |
static | createObject ($className) |
static | getObject ($className) |
Static Protected Attributes | |
static | $instances = [] |
static | $backwardsCompatibilityClassMap = null |
Object registry design pattern implementation. Stores the instances of objects
|
staticprotected |
Special case handling: The recommended way to get an instance of UtilsObject is to use Registry::getUtilsObject IMPORTANT: UtilsObject is not delivered from Registry::instances this way, so Registry::set will have no effect on which UtilsObject is delivered. Also Registry::instanceExists will always return false for UtilsObject. This does only affect BC class name and unified namespace class names, not the edition own classes atm.
string | $className | Class name. |
|
static |
Instance getter. Return an existing or new instance for a given class name. Consider using the getter methods over the generic Registry::get() method. In order to avoid issues with different shop editions, the given class name must be from the Unified Namespace.
For reasons of backwards compatibility old class names like 'oxconfig' are still supported and equivalent to the corresponding class name from the Unified Namespace, as they store and retrieve the same instances. But be aware, that support for old class names will be dropped in the future.
string | $className | The class name from the Unified Namespace. |
|
static |
Get backwardsCompatibilityClassMap
|
static |
Return an instance of \OxidEsales\Eshop\Core\Config
|
static |
Return an instance of \OxidEsales\Eshop\Core\Routing\ControllerClassNameResolver
|
static |
Return an instance of \OxidEsales\Eshop\Core\InputValidator
|
static |
Return all class instances, which are currently set in the registry
|
static |
Returns an instance of \OxidEsales\Eshop\Core\Language
|
staticprotected |
Return a well known object from the registry
string | $className | A unified namespace class name |
|
static |
Return an instance of \OxidEsales\Eshop\Core\PictureHandler
|
static |
Return an instance of \OxidEsales\Eshop\Core\Request
|
static |
Return an instance of \OxidEsales\Eshop\Core\SeoDecoder
|
static |
Return an instance of \OxidEsales\Eshop\Core\SeoEncoder
|
static |
Returns an instance of \OxidEsales\Eshop\Core\Session
|
static |
Translate a given old class name like 'oxconfig' into a storage key as known by the Registry. If a new class name is used, the method just returns it as it is.
string | $className | Class name to be converted. |
|
static |
Returns an instance of \OxidEsales\Eshop\Core\Utils
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsCount
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsDate
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsFile
|
static |
Returns an instance of OxidEsales\Eshop\Core\UtilsObject
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsPic
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsServer
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsString
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsUrl
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsView
|
static |
Return an instance of \OxidEsales\Eshop\Core\UtilsXml
|
static |
Check if an instance of a given class is set in the registry
string | $className |
|
static |
Instance setter
string | $className | Class name |
object | $instance | Object instance |
|
staticprotected |
|
staticprotected |