Example #1
0
 function __construct(array $row)
 {
     parent::__construct($row);
     $this->description = $row['description'];
     $this->email = $row['email'];
     $this->phone = $row['phone'];
     $this->private = $row['private'];
     $this->allow_mails = $row['allow_mails'];
     $this->location_id = $row['location_id'];
     $this->category_id = $row['category_id'];
 }
 function __construct($ad)
 {
     parent::__construct($ad);
     $this->private = 0;
 }
Example #3
0
 function __construct($ad)
 {
     parent::__construct($ad);
     $this->id_type = 2;
 }
Example #4
0
 public function __construct(array $ad)
 {
     parent::__construct($ad);
     $this->type = 1;
 }