__construct() public method

Constructor
public __construct ( $config = [] ) : void
return void
Example #1
1
 function __construct($config = array())
 {
     parent::__construct($config);
     if (array_key_exists('multi', $config)) {
         $this->set_multi($config['multi']);
     }
 }
Example #2
0
 public function __construct($props = array())
 {
     parent::__construct();
     if (count($props) > 0) {
         $this->initialize($props);
     }
     log_message('debug', "Upload Class Initialized");
 }
 public function __construct($props = array())
 {
     parent::__construct($props);
     $this->upload_path = FCPATH . $this->system_upload_path . '/tmp';
     if (!file_exists($this->upload_path)) {
         mkdir($this->upload_path, 0755, true);
     }
 }
 /**
  * Constructor
  *
  * @access	public
  */
 public function __construct($props = array())
 {
     parent::__construct();
     $this->CI =& get_instance();
     $this->CI->config->load('uploads_manager');
     if (count($props) > 0) {
         $this->initialize($props);
     }
     log_message('debug', "Upload Class Extension Initialized");
 }
 /**
  * Constructor
  */
 function __construct($props = array())
 {
     parent::__construct();
     // Make a local reference to the ExpressionEngine super object
     $this->EE =& get_instance();
     ee()->load->helper('xss');
     $props['xss_clean'] = xss_check();
     $this->initialize($props);
     log_message('debug', "Upload Class Initialized");
 }
Example #6
0
 /**
  * Constructor
  */
 function __construct($props = array())
 {
     parent::__construct();
     // Make a local reference to the ExpressionEngine super object
     $this->EE =& get_instance();
     if (count($props) > 0) {
         $this->initialize($props);
     }
     log_message('debug', "Upload Class Initialized");
 }
Example #7
0
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->initialize($params);
 }
Example #8
0
 function __construct($props = array())
 {
     parent::__construct($props);
 }
Example #9
0
 public function __construct($config = array())
 {
     parent::__construct($config);
 }
 /**
  * Constructor
  *
  * @access	public
  */
 public function __construct($props = array())
 {
     parent::__construct($props);
     $this->ci =& get_instance();
 }
 public function __construct()
 {
     parent::__construct();
 }
Example #12
0
 function __construct($config = array())
 {
     parent::__construct($config);
     @$this->set_multi($config['multi']);
 }