Example #1
0
 protected function getSelectGroups($id = null)
 {
     try {
         return $this->sportGroupService->getSelectApplicablegroups($id);
     } catch (Exceptions\DataErrorException $ex) {
         $this->handleDataLoad(null, ":System:Default:adminRoot", $ex);
     }
 }
Example #2
0
 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;
 }