Added first association of clubs. Current structure does not allow for joins.

This commit is contained in:
2019-05-17 15:27:03 +02:00
parent c459e1d332
commit f8df0c3fc4
5 changed files with 120 additions and 3 deletions

View File

@@ -198,7 +198,21 @@ class ClubsClub extends AbstractClubsModel
$club->id = 'new';
return $club;
}
public function getPlaces()
{
return ClubsPlace::loadPlacesOfClub($this->id);
}
public function getOffers()
{
}
protected function loadCustomData($assoc)