本文整理汇总了PHP中MY_Controller::Controller方法的典型用法代码示例。如果您正苦于以下问题:PHP MY_Controller::Controller方法的具体用法?PHP MY_Controller::Controller怎么用?PHP MY_Controller::Controller使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MY_Controller
的用法示例。
在下文中一共展示了MY_Controller::Controller方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('rekapabsensi_model', 'rekapabsensi');
$this->load->model('referensi_model');
}
示例2: ujian
function ujian()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('ujian_model', 'ujian');
$this->load->model('referensi_model', 'ref');
}
示例3: mapel
function mapel()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('Mapel_referensi', 'mapel');
$this->load->model('referensi_model');
}
示例4: guru
function guru()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('gurmod');
$this->load->model('referensi_model');
}
示例5: siswa
function siswa()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('siswa_model', 'siswa');
$this->load->model('referensi_model');
}
示例6:
function __construct()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('spp_model', 'spp');
$this->load->model('nilai_model', 'nilai');
}
示例7: kelas
function kelas()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('kelas_model', 'kelas');
$this->load->model('kenaikankelas_model', 'kenaikankelas');
}
示例8: absensi
function absensi()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('absensi_model', 'absensi');
$this->load->model('nilai_model', 'nilai');
}
示例9: Message
function Message()
{
parent::Controller();
$this->load->helper(array('form', 'url', 'content_render'));
$this->load->library('form_validation');
$this->load->model('message_dal');
if (!$this->sauth->is_logged_in()) {
redirect('/');
}
}
示例10: Newthread
function Newthread()
{
parent::Controller();
$this->load->helper(array('form', 'url', 'htmlpurifier', 'content_render'));
$this->load->library('form_validation');
$this->load->model('thread_dal');
if (!$this->sauth->is_logged_in()) {
if ($this->is_request_json()) {
return send_json($this->output, 403, array('error' => 'not logged in'));
} else {
redirect('/');
}
}
}
示例11:
function __construct()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('tahunajaran_model', 'tahunajaran');
}
示例12:
function __construct()
{
parent::Controller();
$this->load->model('Kelas_model', 'k');
$this->load->model('Sms_model', 'sms');
}
示例13: voucher
function voucher()
{
parent::Controller();
$this->load->helper(array('flexigrid', 'string'));
$this->load->model('voucher_model', 'voucher');
}