/** * @param string $model * * @return mixed */ function Model($model = 'codefight', $config = FALSE) { if (!is_object('MY_Model')) { include_once APPPATH . DS . 'core' . DS . 'MY_Model.php'; } //$CI =& get_instance(); $MY_Model = new MY_Model(); //$CI->model('MY_Model'); return $MY_Model->Model($model, $config); //return $MY_Model->Model($model); }
public function __construct() { parent::Model(); $this->F[1][4][0.05] = 7.71; $this->F[1][8][0.05] = 5.32; $this->F[1][12][0.05] = 4.75; $this->F[1][16][0.05] = 4.49; $this->F[1][24][0.05] = 4.46; $this->F[1][32][0.05] = 4.17; $this->F[1][48][0.05] = 4.08; $this->F[1][64][0.05] = 4; $this->F[1][96][0.05] = 3.94; $this->T[0.025][4] = 2.7765; $this->T[0.025][8] = 2.306; $this->T[0.025][12] = 2.1788; $this->T[0.025][16] = 2.1199; $this->T[0.025][24] = 2.0639; $this->T[0.025][32] = 2.0369; $this->T[0.025][48] = 2.0106; $this->T[0.025][64] = 1.9977; $this->T[0.025][96] = 1.985; }
function Entries() { parent::Model(); $this->loadTable('entries'); }
function xLogModel() { parent::Model(); $this->table = 'XLog'; }
function Awards() { parent::Model(); $this->loadTable('awards'); }
function __construct() { parent::Model(); }
function Accounts() { parent::Model(); $this->loadTable('accounts'); }
function Services() { parent::Model(); $this->loadTable('services'); }