Added code to simplify setting values

This commit is contained in:
2019-05-22 16:32:09 +02:00
parent ed47052a59
commit a9caa06e02
3 changed files with 24 additions and 0 deletions

View File

@@ -20,4 +20,18 @@ class CommonClubsModelPlace extends AbstractCommonClubsModel
return $this->getValues()['club'];
}
public function getArea()
{
return $this->getValues()['area'];
}
public function setName($name)
{
$this->setValue('name', $name);
}
public function setArea($area)
{
$this->setValue('area', $area);
}
}