Added code to simplify setting values
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user