package midcom

 Methods

autoload (string $class_name)

Automatically load missing class files
Static

Parameters

$class_name

stringName of a missing PHP class

get (string $name)

Get service or midcom_application singletons.
Static

Services are automatically instantiated if they were not used before

Parameters

$name

stringThe service name as listed in the _service_classes array or null to get midcom_application

Returns

mixedThe requested instance

get_version ()

Static

init ()

Static

_resolve_path ($classname)

Static

Parameters

$classname

 Properties

 

\midcom_application $_application

Main application singleton
 

mixed $_service_classes

Mapping of service names to classes implementing the service
 

Array $_services

This is the interface to MidCOMs Object Services.

Each service is indexed by its string-name (for example "i18n" for all i18n stuff).

 

string $_version

MidCOM version