\midcom

Summary

Methods
Properties
Constants
init()
get()
get_version()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_version
$_application
$_services
$_service_classes
N/A

Properties

$_version

$_version : string

MidCOM version

Type

string

$_application

$_application : \midcom_application

Main application singleton

Type

\midcom_application

$_services

$_services : Array

This is the interface to MidCOMs Object Services.

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

Type

Array

$_service_classes

$_service_classes : 

Mapping of service names to classes implementing the service

Type

Methods

init()

init() 

get()

get(string  $name = null) : \midcom_application

Get midcom_application instance

Services can also be loaded this way by passing their name as an argument, but this feature will likely be removed at some point

Parameters

string $name

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

Returns

\midcom_application

The midcom application instance

get_version()

get_version()