getStatus() public method

Return the event status (one of the event status codes defined in this class).
public getStatus ( ) : string
return string The status of this event.
Exemplo n.º 1
0
 public function testOutOfOfficeStatus()
 {
     $event = new Horde_Kolab_FreeBusy_Object_Event(array('start-date' => new Horde_Date('2011-11-11T11:11:00Z'), 'end-date' => new Horde_Date('2011-11-11T11:11:11Z'), 'show-time-as' => 'outofoffice'));
     $this->assertEquals(Horde_Kolab_FreeBusy_Object_Event::STATUS_OUTOFOFFICE, $event->getStatus());
 }