/** * create renderer instance * @param array $pParams */ public function __construct($pParams = array()) { parent::__construct(); if (count($pParams) > 0) { $this->urlParts = $pParams; } }
/** * create security context instance * @param CSubject $pSubject */ public function __construct(CSubject $pSubject = null) { parent::__construct(); $this->sharedState = new stdClass(); if (isset($pSubject)) { $this->subject = $pSubject; } else { $this->subject = CSubject::create(); } $this->moduleInstances = new SplObjectStorage(); }
/** * Constructor */ public function __construct() { parent::__construct(); }
/** * Constructor * @param string $pUrl url */ public function __construct($pSection = 'default') { parent::__construct($pSection); }
/** * create request resolver instance */ public function __construct() { parent::__construct(); $this->requestHandler = new \SplObjectStorage(); }
/** * create datasetprovider instance * @param \Savant\Storage\CDatabase $db */ public function __construct(\Savant\Storage\CDatabase $pDb) { parent::__construct(); $this->db = $pDb; self::$TABLE = \array_pop(\explode('\\', \get_class($this))); }
/** * creates xmlrpc client instance and initiates http handler. the config * section parameter has to be defined in both config files: * - conf/Savant/Webservice/CXMLRPCClient.conf.xml * - conf/Savant/Protocol/CHttp.conf.xml * @param string $pSection */ public function __construct($pSection = 'default') { \Savant\CBootstrap::extensionLoaded('xmlrpc'); parent::__construct($pSection); $this->httpHandler = new \Savant\Protocol\CHttp($pSection); }
/** * create template engine instance * @param string $pSection */ public function __construct($pSection = 'default') { parent::__construct($pSection); $this->TEMPLATE_DIR = \Savant\CBootstrap::$SKINS_DIR; $this->COMPILE_DIR = \Savant\CBootstrap::$CACHE_DIR; }
/** * create unit test result parser instance from testfile */ public function __construct($pSection = 'default') { parent::__construct($pSection); $this->simplexml = \simplexml_load_file($this->TESTFILE); }