Example #1
0
 /**
  * Construct
  * @param mixed $a_data
  */
 public function __construct($a_data = null)
 {
     parent::__construct();
     if (func_num_args() > 0) {
         $this->setData($a_data);
     }
 }
Example #2
0
 public function __construct($a_delimeter = null)
 {
     parent::__construct(array(), $a_delimeter);
     $id = session_id();
     if (empty($id)) {
         @session_start();
     }
     $this->setDataRef($_SESSION);
 }
Example #3
0
 /**
  * Constructor
  * @param string $a_template Template
  * @param array $a_data Data
  */
 public function __construct($a_template = null, $a_data = null, $a_brackets = array(null, null))
 {
     parent::__construct($a_data);
     $this->setTemplate($a_template)->setBrackets($a_brackets);
 }