Пример #1
0
 function CI_Base()
 {
     global $OBJ;
     parent::CI_Loader();
     $this->load =& $this;
     $OBJ = $this->load;
 }
Пример #2
0
 function CI_Base()
 {
     // This allows syntax like $this->load->foo() to work
     parent::CI_Loader();
     $this->load =& $this;
     // This allows resources used within controller constructors to work
     global $OBJ;
     $OBJ = $this->load;
     // Do NOT use a reference.
 }
Пример #3
0
 /**
  * Constructor
  *
  * Sets the path to the view files and gets the initial output buffering level
  *
  * @access    public
  */
 function MY_Loader()
 {
     // {{{ Matchbox
     $this->_matchbox =& load_class('Matchbox');
     $this->_ci_tables = array();
     parent::CI_Loader();
     // }}}
     $this->_ci_is_php5 = floor(phpversion()) >= 5 ? TRUE : FALSE;
     $this->_ci_view_path = APPPATH . 'views/';
     $this->_ci_ob_level = ob_get_level();
     log_message('debug', "Loader Class Initialized");
 }
Пример #4
0
 function MY_Loader()
 {
     parent::CI_Loader();
 }
Пример #5
0
 function __construct()
 {
     parent::CI_Loader();
     /* change view folder */
     $this->_ci_view_path = dirname(dirname(dirname(dirname(__FILE__)))) . "/web-content/themes/";
 }
Пример #6
0
 function CI_Loader()
 {
     parent::CI_Loader();
     log_message('debug', "MY_Loader Class Initialized");
 }