protected function getSelectGroups($id = null) { try { return $this->sportGroupService->getSelectApplicablegroups($id); } catch (Exceptions\DataErrorException $ex) { $this->handleDataLoad(null, ":System:Default:adminRoot", $ex); } }
private function getSelectSportGroups() { try { if (!isset($this->selectGroups)) { $this->selectGroups = $this->groupService->getSelectApplicablegroups(); } } catch (Exceptions\DataErrorException $ex) { $this->handleDataLoad(null, self::LAST_CHANCE_REDIRECT, $ex); } return $this->selectGroups; }