本文整理汇总了PHP中CI_Model类的典型用法代码示例。如果您正苦于以下问题:PHP CI_Model类的具体用法?PHP CI_Model怎么用?PHP CI_Model使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CI_Model类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
$this->idLogin = $this->session->userdata('idUserLogin');
$this->nameUsuario = $this->session->userdata('userNameUsuario');
$this->campos = array('cod_sede_operativa' => 'local_sede', 'cod_sede_prov' => 'local_sede_provincial', 'cod_sede_dist' => 'local_sede_distrital', 'ccdd' => 'local_departamento', 'ccpp' => 'local_provincia', 'ccdi' => 'local_distrito', 'direccion' => 'local_direccion', 'referencia' => 'local_referencia', 'observacion' => 'local_observacion', 'nombres' => 'local_nombre_funcionario', 'cargo' => 'local_cargo_responsable', 'telef_fijo' => 'local_telefono_fijo', 'telef_celular' => 'local_telefono_celular', 'telef_rpm' => 'local_telefono_rpm', 'email' => 'local_email', 'area' => 'local_area', 'nro_ambiente' => 'local_ambientes', 'area_almacen' => 'local_area_almacen', 'nro_escritorio' => 'local_escritorios', 'nro_mesa' => 'local_mesas', 'nro_silla' => 'local_sillas', 'pc' => 'local_pc', 'tipo' => 'local_tipo_oficina', 'internet' => 'local_internet', 'internet_tipo' => 'local_internet_tipo', 'internet_velocidad' => 'local_internet_velocidad', 'electricidad' => 'local_electricidad', 'sshh' => 'local_sshh', 'tipo_construc' => 'local_tipo', 'seguridad' => 'local_seguridad', 'turnos' => 'local_turnos', 'turnos_presupuesto' => 'local_turnos_presupuesto', 'costos' => 'local_costo_local', 'costos_mantenimiento' => 'local_costo_detalle_mantenimiento', 'costos_internet' => 'local_costo_detalle_internet', 'costos_local' => 'local_costo_detalle_local', 'costos_mobiliario' => 'local_costo_detalle_mobiliario', 'observacion_local' => 'local_observacion_presupuesto', 'tipo_construc' => 'local_tipo', 'gps_latitud' => 'latitud_georeferencia', 'gps_longitud' => 'longitud_georeferencia');
}
示例2:
function __construct()
{
parent::__construct();
if (!isset($this->db)) {
$this->load->database();
}
}
示例3:
function __construct()
{
// Call the Model constructor
parent::__construct();
//Load database connection
$this->load->database();
}
示例4: __construct
public function __construct($table_name = '')
{
parent::__construct();
if (!empty($table_name)) {
$this->_table_name = $table_name;
}
}
示例5: realpath
function __construct()
{
parent::__construct();
$this->gallery_path = realpath(APPPATH . '../images');
/*I also can use BASEPATH rather than APPPATH*/
$this->gallery_path_url = base_url() . 'images/';
}
示例6: __construct
public function __construct()
{
parent::__construct();
$this->load->model('cron/cron_task_email_model');
$this->load->model('cron/report/task_report_model');
//$this->load->model('admin/evaluate_rule_model');
}
示例7:
function __construct()
{
parent::__construct();
$this->_table = 'reff_jamkesmas';
//get instance
$this->CI = get_instance();
}
示例8: realpath
function __construct()
{
parent::__construct();
$this->journal_path = realpath(APPPATH . '../');
/*I also can use BASEPATH rather than APPPATH*/
$this->journal_path_url = '/';
}
示例9:
function __construct()
{
parent::__construct();
$this->load->library('tank_auth');
$this->load->model('common');
$this->load->model('user/ums_user', 'ums_user');
}
示例10: __construct
public function __construct()
{
//-----------------------------------------------------------------------
// constructor
//-----------------------------------------------------------------------
parent::__construct();
}
示例11:
function __construct()
{
// Call the Model constructor
parent::__construct();
// load encrypt
$this->load->library('encrypt');
}
示例12:
function __construct()
{
// Call the Model constructor
parent::__construct();
$this->load->helper('date');
$this->load->library('sandbox');
}
示例13: array
function __construct()
{
// Call the Model constructor
parent::__construct();
$this->cookie_junk = array('activation_code', 'pay_method', 'state', 'usersource', 'promocode', 'country_from_ip', 'last_login', 'membership_package', 'user_agent', 'free_account', 'profile_type', 'time_created', 'ip', 'expires', 'featured');
}
示例14: __construct
/**
* Class constructor
*
* @author Ken Auberry <kenneth.auberry@pnnl.gov>
*/
public function __construct()
{
parent::__construct();
$this->load->helper(array('item'));
$this->load->library('EUS', '', 'eus');
$this->debug = $this->config->item('debug_enabled');
}
示例15:
function __construct()
{
parent::__construct();
$this->load->helper('directory');
$this->load->helper('file');
$this->load->helper('submissions_helper');
}