icms
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
ICMS Kernel / Services manager
The icms services manager handles the core bootstrap process, and paths/urls generation. Global services are made available as static properties of this class.
- Class name: icms
- Namespace:
- Parent class: League\Container\Container
public \icms_response_Text $response
Current response
- Visibility: public
- This property is static.
public array $paths = array(www => array(), modules => array(), themes => array())
ImpressCMS paths locations
- Visibility: public
- This property is static.
public array $urls = \false
- Visibility: public
- This property is static.
public mixed $db
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $xoopsDB
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $logger
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $preload
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $config
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $security
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $session
Some vars for compatibility
- Visibility: public
- This property is static.
public mixed $module
Some vars for compatibility
- Visibility: public
- This property is static.
public \icms_member_user_Object $user
Current logged in user
- Visibility: public
- This property is static.
mixed icms::shutdown()
Finalizes all processes as the script exits
- Visibility: public
- This method is static.
object icms::create(mixed factory, array args)
Creates an object instance from an object definition.
The factory parameter can be:
- A fully qualified class name starting with '': \MyClass or on PHP 5.3+ \ns\sub\MyClass
- A valid PHP callback
- Visibility: public
- This method is static.
- factory mixed
- args array - <p>Factory/Constructor arguments</p>
string icms::url(string url)
Convert a ImpressCMS path to an URL
- Visibility: public
- This method is static.
- url string
string icms::path(string url, bool virtual)
Convert a ImpressCMS path to a physical one
- Visibility: public
- url string - <p>URL string to convert to a physical path</p>
- virtual bool
\icms|null icms::getInstance()
Get instance
- Visibility: public
- This method is static.
string icms::buildUrl(string url, array params)
Build an URL with the specified request params
- Visibility: public
- This method is static.
- url string
- params array
object icms::handler(string name, bool optional)
Gets the handler for a class
- Visibility: public
- This method is static.
- name string - <p>The name of the handler to get</p>
- optional bool - <p>Is the handler optional?</p>
\icms icms::setup()
Initialize ImpressCMS before bootstrap
- Visibility: public
array icms::buildRelevantUrls()
Build URLs for global use throughout the application
- Visibility: protected
\icms icms::boot()
Launch bootstrap and instanciate global services
- Visibility: public