Exemplo n.º 1
0
 protected function getFiledDataForSchedule(KurogoObject $event)
 {
     return array('title' => $event->getTitle(), 'description' => $event->getDescription() ? $event->getDescription() : '', 'id' => $event->getID(), 'sport' => $event->getSport(), 'sportName' => $event->getSportName(), 'gender' => $event->getGender(), 'start' => $event->getStartTime(), 'pastStatus' => $event->getStartTime() > time() ? false : true, 'location' => $event->getLocation(), 'link' => $event->getLink(), 'allday' => $event->isAllDay());
 }