예제 #1
0
 function __construct($name, $flavor, $record, $species)
 {
     parent::__construct();
     $this->common_name = $name;
     $this->flavor = $flavor;
     $this->record_weight = $record;
     $this->species = $species;
 }
예제 #2
0
 function __construct($name, $flavor, $record, $species)
 {
     parent::__construct($name, $flavor, $record);
     $this->species = $species;
 }
예제 #3
0
 public function __construct($n, $w)
 {
     parent::__construct($n, $w);
 }