ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/www/bharath/application/models/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/www/bharath/application/models/Generateidcard_model.php

<?php

/**
 * 
 */
class Generateidcard_model extends CI_model {

    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