Class Socialveo\Core\Application

InheritanceSocialveo\Core\Application » Phalcon\Mvc\Application

Class Application

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$_module Socialveo\Core\Module Socialveo\Core\Application

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getActiveModule() Returns active module Socialveo\Core\Application
getActiveModuleName() Returns active module name Socialveo\Core\Application
init() Init application Socialveo\Core\Application
loadService() Load service from file Socialveo\Core\Application
setActiveModule() Set module Socialveo\Core\Application

Property Details

$_module protected property

Method Details

getActiveModule() public method

Returns active module

public Socialveo\Core\Module getActiveModule ( )
getActiveModuleName() public method

Returns active module name

public string getActiveModuleName ( )
init() public method

Init application

public Socialveo\Core\Application init ( $config )
$config Phalcon\Config|stdClass
throws Exception
loadService() public method

Load service from file

public array loadService ( $di, $path, $service, $alias null )
$di Phalcon\DiInterface
$path string
$service string
$alias string

[optional]

setActiveModule() public method

Set module

public void setActiveModule ( $module )
$module Socialveo\Core\Module