Newer
Older
protected $date_edition;
protected $date_paiement;
protected $moyen_paiement;
protected $prix_total;
public $_specialFields = array(
"employe" => array(
"i" => 8,
"t" => "DateField"
"i" => 8,
"t" => "DateField"
),
"moyen_paiement" => array(
"label" => "Moyen de paiement",
"i" => -1
),
"prix_total" => array(
public function id()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
}
public function employe()
{
return $this->employe;
}
public function setEmploye($employe)
{
$this->employe = $employe;
}
public function animal()
{
return $this->animal;
}
public function setAnimal($animal)
{
$this->animal = $animal;
}
$animal = new Animal()
$fields = $animal->select($this->id)
return $fields["nom"]." ".$this->prix_total;