/** * @Author : Localhost {Ferdhika Yudira} * @Email : fer@dika.web.id * @Web : http://dika.web.id * @Date : 2015-12-01 08:00:18 **/ function __construct() { parent::__construct(); $this->m_matkul = new Models\M_matkul(); $this->m_materi = new Models\M_materi(); $this->konfig = Resources\Config::website(); }
public function __construct() { parent::__construct(); $this->db = new Resources\Database(); $this->bencana = new Models\Bencana(); $this->simplehtmldom = Resources\Import::vendor('simplehtmldom/simple_html_dom'); }
public function __construct() { parent::__construct(); $this->pagination = new Resources\Pagination(); $this->posts = new Models\Posts(); $this->template = new Libraries\Template(); }
public function __construct() { parent::__construct(); $this->session = new Resources\Session(); $this->request = new Resources\Request(); $this->users = new Models\Users(); }
public function __construct() { parent::__construct(); $this->post = new Resources\Request(); $this->login = new Models\M_login(); $this->session = new Resources\Session(); }
public function __construct() { parent::__construct(); $this->session = new Resources\Session(); $this->request = new Resources\Request(); $this->anggota = new Models\Anggota(); }
/** * @Author : Localhost {Ferdhika Yudira} * @Email : fer@dika.web.id * @Web : http://dika.web.id * @Date : 2015-12-05 21:40:10 **/ function __construct() { parent::__construct(); // $this->pengaturan = new Models\M_pengaturan; $this->session = new Resources\Session(); $this->request = new Resources\Request(); $this->admin = new Models\M_admin(); }
public function __construct() { parent::__construct(); if (is_array(MY\Resource\Config::database())) { $this->auth = $this->phpauth(); $this->acl = $this->simpleacl(); } $this->view = $this->plates(); }
public function __construct() { parent::__construct(); $this->session = new Resources\Session(); $this->model = new Models\Inventaris(); $this->request = new Resources\Request(); if (empty($this->session->getValue('id_operator'))) { $this->redirect('home'); } }
public function __construct() { parent::__construct(); $this->post = new Resources\Request(); $this->session = new Resources\Session(); $this->gurumodel = new Models\M_guru(); $this->validasi = new Models\Validasi(); $this->pagination = new Resources\Pagination(); $this->enkripsi = new Libraries\Enkripsi(); }
/** * @Author : Localhost {Ferdhika Yudira} * @Email : fer@dika.web.id * @Web : http://dika.web.id * @Date : 2015-12-05 20:55:41 **/ function __construct() { parent::__construct(); // Load library $this->session = new Resources\Session(); $this->request = new Resources\Request(); // Load Models $this->admin = new Models\M_admin(); // Load konfigurasi $this->konfig = Resources\Config::website(); // cek login admin session if (!$this->session->getValue('isAdmin')) { $this->redirect('admin/login'); } }
/** * @Author : Localhost {Ferdhika Yudira} * @Email : fer@dika.web.id * @Web : http://dika.web.id * @Date : 2015-12-06 12:33:59 **/ function __construct() { parent::__construct(); // Load library $this->session = new Resources\Session(); $this->request = new Resources\Request(); // Load model $this->m_admin = new Models\M_admin(); // Load konfigurasi website $this->konfig = Resources\Config::website(); if (!$this->session->getValue('isAdmin')) { $this->redirect('admin/login'); } if ($this->session->getValue('hak') != 1) { $this->redirect('admin'); } }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->app = 'app/'; }
public function __construct() { parent::__construct(); $this->db = new Resources\Database(); }
public function __construct() { parent::__construct(); $this->request = new Resources\Request(); }
public function __construct() { parent::__construct(); $this->session = new Resources\Session(); }
public function __construct() { parent::__construct(); $this->simplehtmldom = Resources\Import::vendor('simplehtmldom/simple_html_dom'); Resources\Import::composer(); }
public function __construct() { parent::__construct(); $this->view = $this->twig(); }