public function isAllDay()
    {
        if ($this->AllDay) {
            return true;
        }

        $secsInDay = 60 * 60 * 24;
        $startTime = strtotime($this->StartDateTime);
        $endTime = strtotime($this->EndDateTime);

        if (($endTime - $startTime) > $secsInDay) {
            return true;
        }
    }
public function isAllDay()
    {
        if ($this->AllDay) {
            return true;
        }

        $secsInDay = 60 * 60 * 24;
        $startTime = strtotime($this->StartDateTime);
        $endTime = strtotime($this->EndDateTime);

        if (($endTime - $startTime) > $secsInDay) {
            return true;
        }
    }
public function isAllDay ( ) { if ( $ this -> AllDay ) { return true ; } $ secsInDay = 60 * 60 * 24 ; $ startTime = strtotime ( $ this -> StartDateTime ) ; $ endTime = strtotime ( $ this -> EndDateTime ) ; if ( ( $ endTime - $ startTime ) > $ secsInDay ) { return true ; } }
All Day getter
Any events that spans more than 24h will be displayed as allday events
Beyond that those events marked as all day events will also be displayed as such
@return boolean
All Day getter Any events that spans more than 24h will be displayed as allday events Beyond that those events marked as all day events will also be displayed as such