function __construct($parameter) { $this->tm = TemplateManager::getInstance(); if (isset($parameter['page']) && is_numeric($parameter['page'])) { $this->page = $parameter['page']; } }
function __construct($paramaters) { if (isset($paramaters['webcode'])) { $this->webcode = $paramaters['webcode']; } $this->tm = TemplateManager::getInstance(); }
function __construct($parameters) { if (!empty($parameters)) { $this->{$parameters}[0] = true; } $this->tm = TemplateManager::getInstance(); }
function __construct($paramaters) { foreach ($paramaters as $key => $value) { $this->{$key} = $value; } $this->tm = TemplateManager::getInstance(); $this->em = GeocacheManager::getInstance(); }
/** * * @param type $componentName * @return \template_manager\classes\TComponentShortcutWrapper */ public function __get($componentName) { // $currentTemplate = TemplateManager::getInstance()->getCurentTemplate(); // $components = $currentTemplate->getComponents(); $components = TemplateManager::getInstance()->getCurrentTemplateComponents(); $nameShort = self::getShortName($componentName); foreach ($components as $componentName_ => $component_) { $nameShort_ = self::getShortName($componentName_); if ($componentName_ == $componentName || $nameShort_ == $nameShort) { return $component_; } } }
function __construct($parameters) { $this->error_id = $parameters['id']; $this->tm = TemplateManager::getInstance(); }
function __construct($paramaters) { $this->tm = TemplateManager::getInstance(); }