/**
  * Constructor - Sets preferences
  *
  * The constructor can be passed an array of config values
  */
 public function __construct($params = array())
 {
     parent::__construct();
     $this->CI->load->library('validator');
     $this->CI->load->library('form_builder');
     $this->CI->load->module_helper(FORMS_FOLDER, 'forms');
     $this->initialize($params);
 }
Beispiel #2
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     self::$_instance =& $this;
     $this->fuel =& self::$_instance;
     // for compatibility
     $this->initialize();
 }
Beispiel #3
0
 /**
  * Constructor
  *
  * The constructor can be passed an array of config values
  */
 function __construct($params = array())
 {
     parent::__construct();
     if (empty($params)) {
         $params['name'] = 'blog';
     }
     $this->initialize($params);
 }
 /**
  * Constructor - Sets user guide preferences
  *
  * The constructor can be passed an array of config values
  */
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->CI->load->helper('text');
     $this->CI->load->helper('inflector');
     $this->CI->load->helper('utility');
     $this->fuel->load_library('fuel_pagevars');
     $this->load_helper('user_guide');
     $this->init_page();
 }
 /**
  * Constructor
  *
  * The constructor can be passed an array of config values
  */
 function __construct($params = array())
 {
     parent::__construct();
     if (!extension_loaded('curl')) {
         $this->_add_error(lang('error_no_curl_lib'));
     }
     if (empty($params)) {
         $params['name'] = 'campaign_monitor';
     }
     $this->initialize($params);
 }
 /**
  * Constructor - Sets preferences
  *
  * The constructor can be passed an array of config values
  */
 public function __construct($params = array())
 {
     parent::__construct();
     $this->initialize($params);
 }