Example #1
0
 function __construct($loadModel = true)
 {
     parent::__construct();
     if ($loadModel) {
         $this->model = $this->loadModel('posts');
     }
 }
 function __construct()
 {
     parent::__construct();
     $this->result = array();
     $this->result['open'] = false;
     $this->model = $this->loadModel('link_categories');
 }
Example #3
0
 function __construct($location = NULL)
 {
     parent::__construct();
     $this->globalModel = array();
     $cache = new Cache();
     $cache->checkCacheFile(array(__CACHE__ . '/action' => array('listener' => 'dirExists', 'callback' => array($this, 'buildCache'))));
     $this->location = $location;
     $this->isFile = false;
 }
Example #4
0
 function __construct()
 {
     parent::__construct();
     $this->result = array();
 }
Example #5
0
 function __construct()
 {
     parent::__construct();
     $this->model = $this->loadModel('comments');
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
     $this->result = array();
     $this->result['open'] = false;
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $cache = new Cache();
     $cache->checkCacheFile(array($this->cacheFile => array('listener' => 'fileExists', 'callback' => array($this, 'buildCache'))));
 }
Example #8
0
 function __construct()
 {
     parent::__construct();
 }
Example #9
0
 function __construct()
 {
     parent::__construct();
     $this->post = $this->loadModel('posts');
 }
Example #10
0
 function __construct()
 {
     $this->result = array();
     parent::__construct();
     $this->category = $this->loadModel('categories');
 }
Example #11
0
 function __construct()
 {
     parent::__construct(array('public' => array('database')));
 }
Example #12
0
 function __construct()
 {
     parent::__construct();
     $this->result = array();
     $this->menuModel = $this->loadModel("menus");
 }
Example #13
0
 function __construct()
 {
     parent::__construct();
     $this->model = $this->loadModel('categories');
 }