M6 Nr3 3a)&c)
This commit is contained in:
@@ -24,10 +24,14 @@ class Gericht extends Model {
|
||||
return number_format($unformatted, 2, ',');
|
||||
}
|
||||
|
||||
function getBildname (){
|
||||
function getBildname(){
|
||||
return $this->attributes['bildname'];
|
||||
}
|
||||
|
||||
function getGerichtName(){
|
||||
return $this->attributes['name'];
|
||||
}
|
||||
|
||||
function setVegetarischAttribut($value){
|
||||
if ($value == 1 || $value == 0){
|
||||
$this->attributes['vegetarisch'] = $value;
|
||||
|
||||
Reference in New Issue
Block a user