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/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