Exemple #1
0
 /**
  * Constructor
  * @param mixed[] $data Associated array of property values initializing the model
  */
 public function __construct(array $data = null)
 {
     parent::__construct($data);
     $this->container['declawed'] = isset($data['declawed']) ? $data['declawed'] : null;
 }
Exemple #2
0
 static function getters()
 {
     return parent::getters() + self::$getters;
 }
Exemple #3
0
 /**
  * Constructor
  * @param mixed[] $data Associated array of property value initalizing the model
  */
 public function __construct(array $data = null)
 {
     parent::__construct($data);
     if ($data != null) {
         $this->breed = $data["breed"];
     }
 }
Exemple #4
0
 /**
  * Constructor
  * @param mixed[] $data Associated array of property value initalizing the model
  */
 public function __construct(array $data = null)
 {
     parent::__construct($data);
     if ($data != null) {
         if (isset($data["declawed"])) {
             $this->container['declawed'] = $data["declawed"];
         }
     }
 }