Exemple #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');
 }
Exemple #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;
 }
Exemple #4
0
 function __construct()
 {
     parent::__construct();
     $this->result = array();
 }
 function __construct()
 {
     parent::__construct();
     $this->model = $this->loadModel('comments');
 }
Exemple #6
0
 function __construct()
 {
     parent::__construct();
     $this->result = array();
     $this->result['open'] = false;
 }
Exemple #7
0
 function __construct()
 {
     parent::__construct();
     $cache = new Cache();
     $cache->checkCacheFile(array($this->cacheFile => array('listener' => 'fileExists', 'callback' => array($this, 'buildCache'))));
 }
Exemple #8
0
 function __construct()
 {
     parent::__construct();
 }
Exemple #9
0
 function __construct()
 {
     parent::__construct();
     $this->post = $this->loadModel('posts');
 }
 function __construct()
 {
     $this->result = array();
     parent::__construct();
     $this->category = $this->loadModel('categories');
 }
 function __construct()
 {
     parent::__construct(array('public' => array('database')));
 }
 function __construct()
 {
     parent::__construct();
     $this->result = array();
     $this->menuModel = $this->loadModel("menus");
 }
 function __construct()
 {
     parent::__construct();
     $this->model = $this->loadModel('categories');
 }