ok

Mini Shell

Direktori : /home2/selectio/www/geniusgroove.in/crm/application/models/
Upload File :
Current File : /home2/selectio/www/geniusgroove.in/crm/application/models/Generateidcard_model.php

<?php
if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

class Generateidcard_model extends CI_model
{

    public function __construct()
    {
        parent::__construct();
        $this->current_session = $this->setting_model->getCurrentSession();
    }

    public function getstudentidcard()
    {
        $this->db->select('*');
        $this->db->from('id_card');
        $query = $this->db->get();
        return $query->result();
    }

    public function getidcardbyid($idcard)
    {
        $this->db->select('*');
        $this->db->from('id_card');
        $this->db->where('id', $idcard);
        $query = $this->db->get();
        return $query->result();
    }

}

Zerion Mini Shell 1.0