Example #1
0
 public function __construct($input, $type = 'edit')
 {
     $this->type = $type;
     if (empty($input['comment'])) {
         unset($input['comment']);
     }
     parent::__construct($input);
 }
Example #2
0
 public function __construct($input)
 {
     if (empty($input['first_name'])) {
         unset($input['first_name']);
     }
     if (empty($input['last_name'])) {
         unset($input['last_name']);
     }
     parent::__construct($input);
 }
Example #3
0
 public function __construct($input, $num)
 {
     $this->image = 'image' . $num;
     parent::__construct($input);
 }
Example #4
0
 public function __construct($input)
 {
     parent::__construct($input);
 }