function __construct() { parent::__construct(); $ci =& get_instance(); $this->table_name = $ci->config->item('db_table_prefix', 'tank_auth') . $this->table_name; $this->profile_table_name = $ci->config->item('db_table_prefix', 'tank_auth') . $this->profile_table_name; }
function __construct() { parent::__construct(); // // $admin_userdata = $this->session->userdata(APP_PFIX . 'admin'); // if (!$admin_userdata['logged_in_admin']) { // $this->session->set_flashdata('errorlogin', "You must log in!"); // redirect('login/index'); // } }
/** * Name : __construct * Description : constructor of the class */ function __construct() { // Call the Model constructor parent::__construct(); $this->pref = array('show_next_prev' => TRUE, 'next_prev_url' => base_url() . 'admin/calendar_controller/showcal'); /* * Using codeIgniter calander function */ $this->pref['template'] = ' {table_open}<table border="0" cellpadding="0" cellspacing="0" class="calendar">{/table_open} {heading_row_start}<tr>{/heading_row_start} {heading_previous_cell}<th><a href="{previous_url}"><<</a></th>{/heading_previous_cell} {heading_title_cell}<th colspan="{colspan}">{heading}</th>{/heading_title_cell} {heading_next_cell}<th><a href="{next_url}">>></a></th>{/heading_next_cell} {heading_row_end}</tr>{/heading_row_end} {week_row_start}<tr>{/week_row_start} {week_day_cell}<td>{week_day}</td>{/week_day_cell} {week_row_end}</tr>{/week_row_end} {cal_row_start}<tr class="days">{/cal_row_start} {cal_cell_start}<td class="day">{/cal_cell_start} {cal_cell_start_today}<td>{/cal_cell_start_today} {cal_cell_start_other}<td class="other-month">{/cal_cell_start_other} {cal_cell_content} <div class="day_num">{day}</div> <div class="content">{content}</div> {cal_cell_content_today} <div class="day_num highlight">{day}</div> <div class="content">{content}</div> {/cal_cell_content_today} {cal_cell_no_content}<div class="day_num">{day}</div>{/cal_cell_no_content} {cal_cell_no_content_today} <div class="day_num highlight">{day}</div> {/cal_cell_no_content_today} {cal_cell_blank} {/cal_cell_blank} {cal_cell_other}{day}{/cal_cel_other} {cal_cell_end}</td>{/cal_cell_end} {cal_cell_end_today}</td>{/cal_cell_end_today} {cal_cell_end_other}</td>{/cal_cell_end_other} {cal_row_end}</tr>{/cal_row_end} {table_close}</table>{/table_close} '; }
function __construct() { parent::__construct(); $this->setTable('disciplinas'); }
function __construct() { parent::__construct('standing', 'id'); }
/** ------------------------------------- * * ------------------------------------- */ public function __construct() { parent::__construct('payment'); }
/** * Constructor * * @access public */ function Main_model() { parent::__construct(); }
function __construct() { parent::__construct(); $this->setTable('produtos'); }
/** ------------------------------------- * * ------------------------------------- */ public function __construct() { parent::__construct('bill'); }
function __construct() { parent::__construct(); $this->setTable('usuarios'); }
function __construct() { // Call the Model constructor parent::__construct(); }
/** * Sets the current default theme */ public function __construct() { parent::__construct(); $this->_theme = $this->settings->default_theme; $this->_admin_theme = $this->settings->admin_theme; }
/** ------------------------------------- * Construct * ------------------------------------- */ public function __construct() { parent::__construct('order'); }
function __construct() { parent::__construct(); $this->table = 'groups'; }
/** ------------------------------------- * * ------------------------------------- */ public function __construct() { parent::__construct('ship'); }
public function __construct() { parent::__construct("users", "userid"); }
/** ------------------------------------- * * ------------------------------------- */ public function __construct() { parent::__construct('additional'); }
public function __construct() { parent::__construct(IMS_DB_PREFIX . 'feedback', 'id'); }
/** ------------------------------------- * Create construct and set table * @param string * ------------------------------------- */ public function __construct() { parent::__construct('products'); }
/** ------------------------------------- * Construct * ------------------------------------- */ public function __construct() { parent::__construct('company'); }
/** ------------------------------------- * * ------------------------------------- */ public function __construct() { parent::__construct('contact'); }
public function __construct() { parent::__construct(IMS_DB_PREFIX . 'subject', 'id'); }
public function __construct() { parent::__construct(); $this->setName('Sales'); }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->setTable('logs'); }