/** * * WebMethod queries the catalogo * @param string $data */ function catalogo($value) { $objectController = new ControllerService(); $result = $objectController->parseXML(utf8_encode($value)); $result = str_replace('<?xml version="1.0"?>', '', $result); return $result; }
public function __construct() { if (!SessionService::getInstance()->get('modelName')) { URLService::redirect(\GLOBALVAR\ROOT); } parent::__construct($this); }
public function __construct() { if (!SessionService::getInstance()->get('modelName')) { URLService::redirect(\GLOBALVAR\ROOT . "?core=models"); } $this->dir = \GLOBALVAR\USERDEPO_PATH . "/" . SessionService::getInstance()->get('userName') . "/" . SessionService::getInstance()->get('modelName'); parent::__construct($this); }
public function __construct() { parent::__construct($this); // neopravneny pristup if (!$this->user->isLogged()) { // presmerovani na prihlaseni URLService::redirect(\GLOBALVAR\ROOT); } }
public function __construct() { parent::__construct($this); if (!SessionService::getInstance()->get('modelName')) { URLService::redirect(\GLOBALVAR\ROOT . "?core=models"); } //$this->formParametrs($this->type); if (!in_array($this->type, $this->corectType)) { $this->type = 'mesh'; } $this->setConfPatch(); $this->data = ParametersData::readConfData($this->dir, $this->file); if (!empty($this->data)) { $this->setAmount(); $this->fce = $this->getConfigValue(); } else { $this->msg = "Parameters are not confirmed!"; } $this->conf_mesh = SessionService::getInstance()->get('config_mesh'); $this->conf_water = SessionService::getInstance()->get('config_water'); $this->conf_global = SessionService::getInstance()->get('config_global'); }
public function __construct() { $this->doctrine = new DoctrineInit(); $this->idLocation = SessionService::getInstance()->get('idLocation'); parent::__construct($this); }
public function __construct() { $this->doctrine = new DoctrineInit(); parent::__construct($this); }
public function __construct() { parent::__construct($this); }