function __construct($ctn) { parent::__construct($ctn); // debugger $this->pebug = pebug::Instance(); $this->pebug->log("view::__construct()"); }
function __construct($ctn) { // get pebug $this->pebug = pebug::Instance(); $this->pebug->log("database::__construct()"); // container itself $this->ctn = $ctn; }
function __construct($ctn) { // generate app hash $this->_appHash = md5($ctn['pathApp']); // get pebug $this->pebug = pebug::Instance(); $this->pebug->log("bootstrap::__construct()"); // ctn itself $this->ctn = $ctn; // cache module $this->cache = $ctn['cache']; // session module $this->mem = $ctn['session']; // symfony request object $this->request = $ctn['request']; // set various boot vars $this->_host = $_SERVER['HTTP_HOST']; }
function __construct($ctn) { // get pebug $this->pebug = pebug::Instance(); $this->pebug->log("controller::__construct()"); // container itself $this->ctn = $ctn; // create new view $this->view = new view($ctn); // session module $this->mem = $this->ctn['session']; // load basic data $this->loadLayout(); // request object $this->request = $this->ctn['request']; // check if install is needed $this->install($ctn); }