ok

Mini Shell

Direktori : /home2/selectio/public_html/bharath/application/models/
Upload File :
Current File : /home2/selectio/public_html/bharath/application/models/Generatecertificate_model.php

<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

/**
 * 
 */
class Generatecertificate_model extends CI_Model {

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

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

}

?>

Zerion Mini Shell 1.0