/** * Construct Method * * @param array $options */ public function __construct($options = []) { parent::__construct($options); $this->StyleSheets = []; $this->JavaScripts = []; $this->Positions = []; }
/** * @param array $URI */ public function __construct($URI) { parent::__construct([]); if (is_string($URI)) { $this->URI = $URI; $this->parse($URI); } }
/** * Load the active cookies of the current session * * @param array $Options */ public function __construct($Options = []) { parent::__construct($Options); if (!isset($this->Cookies)) { $this->Cookies =& $_COOKIE; } $this->newCookies = []; }
/** * @param array $Identities */ public function __construct($Identities) { parent::__construct([]); $this->Identities = []; if (is_string($Identities)) { $Identities = json_decode($Identities, true); } $this->mergeIdentities($Identities); }
/** * @param mixed $Rules */ public function __construct($Rules = null) { parent::__construct([]); $this->Actions = []; if (is_string($Rules)) { $this->merge(json_decode($Rules, true)); } elseif (is_object($Rules) || is_array($Rules)) { $this->mergeCollection((array) $Rules); } }
/** * @param string $TemplateDir * @param string $Template * @param string $Position * @param array $Variables * @param bool $Buffer */ public function __construct($TemplateDir, $Template, $Position, $Variables = [], $Buffer = true) { parent::__construct([]); $this->TemplateDir = $TemplateDir; $this->Template = $Template; $this->Position = $Position; $this->blBuffer = $Buffer; $this->Variables = []; $this->VariablesByRef = []; $this->assign($Variables); }
/** * Set the Property $this->Modules to an empty array() * Set the Content type to text/html * Verify if an XML HTTP Request have been sent (AJAX) * * @param array $Options */ public function __construct($Options = []) { parent::__construct($Options); $this->Modules = []; $this->ContentType = 'text/html'; if (php_sapi_name() == 'cli') { $this->CLIMode = true; $this->setCLIOptions(); } else { $this->CLIMode = false; } if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest' && !$this->CLIMode) { $this->XHRequest = true; } else { $this->XHRequest = false; } }
/** * @param array $ApplicationID */ public function __construct($ApplicationID) { parent::__construct(['ApplicationID' => $ApplicationID]); }
/** * @param array $Options */ public function __construct($Options = []) { parent::__construct($Options); $this->arRouteMaps = $this->getRouteMaps(); $this->defaultRouteMap = $this->getDefaultRouteMap(); }
/** * @param array $ApplicationID */ public function __construct($ApplicationID) { parent::__construct(['ApplicationID' => $ApplicationID]); $this->Modules; $this->AvailableMenuIDs = []; }
/** * @param array $Options */ public function __construct($Options = []) { parent::__construct($Options); $this->clearStatics(); }