Пример #1
0
 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');
     //        }
 }
Пример #3
0
    /**
     * 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}">&lt;&lt;</a></th>{/heading_previous_cell}
        {heading_title_cell}<th colspan="{colspan}">{heading}</th>{/heading_title_cell}
        {heading_next_cell}<th><a href="{next_url}">&gt;&gt;</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}&nbsp;{/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');
 }
Пример #5
0
 function __construct()
 {
     parent::__construct('standing', 'id');
 }
Пример #6
0
 /** -------------------------------------
  *
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('payment');
 }
Пример #7
0
 /**
  * Constructor
  *
  * @access public
  */
 function Main_model()
 {
     parent::__construct();
 }
Пример #8
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('produtos');
 }
Пример #9
0
 /** -------------------------------------
  *
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('bill');
 }
Пример #10
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('usuarios');
 }
Пример #11
0
 function __construct()
 {
     // Call the Model constructor
     parent::__construct();
 }
Пример #12
0
 /**
  * Sets the current default theme
  */
 public function __construct()
 {
     parent::__construct();
     $this->_theme = $this->settings->default_theme;
     $this->_admin_theme = $this->settings->admin_theme;
 }
Пример #13
0
 /** -------------------------------------
  *  Construct
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('order');
 }
Пример #14
0
 function __construct()
 {
     parent::__construct();
     $this->table = 'groups';
 }
Пример #15
0
 /** -------------------------------------
  *
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('ship');
 }
Пример #16
0
 public function __construct()
 {
     parent::__construct("users", "userid");
 }
Пример #17
0
 /** -------------------------------------
  *  
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('additional');
 }
Пример #18
0
 public function __construct()
 {
     parent::__construct(IMS_DB_PREFIX . 'feedback', 'id');
 }
Пример #19
0
 /** -------------------------------------
  *  Create construct and set table
  *  @param string
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('products');
 }
Пример #20
0
 /** -------------------------------------
  *  Construct
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('company');
 }
Пример #21
0
 /** -------------------------------------
  *
  *  -------------------------------------
  */
 public function __construct()
 {
     parent::__construct('contact');
 }
Пример #22
0
 public function __construct()
 {
     parent::__construct(IMS_DB_PREFIX . 'subject', 'id');
 }
Пример #23
0
 public function __construct()
 {
     parent::__construct();
     $this->setName('Sales');
 }
Пример #24
0
 function __construct()
 {
     parent::__construct();
 }
Пример #25
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('logs');
 }