isGhosted() публичный Метод

Override parent class' method. In EAS 16.0, top level appointment properties are ALWAYS ghosted if they are not explicitly sent.
public isGhosted ( string $property ) : boolean
$property string The property to check
Результат boolean
Пример #1
0
 public function testEmptySupportedTag()
 {
     $state = $this->getMockSkipConstructor('Horde_ActiveSync_State_Base');
     $fixture = array('userAgent' => 'Apple-iPad3C6/1202.435', 'properties' => array(Horde_ActiveSync_Device::OS => 'iOS 8.1.1'));
     $device = new Horde_ActiveSync_Device($state, $fixture);
     $contact = new Horde_ActiveSync_Message_Appointment(array('device' => $device, 'protocolversion' => Horde_ActiveSync::VERSION_FOURTEEN));
     $contact->setSupported(array(Horde_ActiveSync::ALL_GHOSTED));
     $this->assertEquals(true, $contact->isGhosted('subject'));
     $this->assertEquals(true, $contact->isGhosted('body'));
     $device = new Horde_ActiveSync_Device($state, $fixture);
     $contact = new Horde_ActiveSync_Message_Appointment(array('device' => $device, 'protocolversion' => Horde_ActiveSync::VERSION_SIXTEEN));
     $contact->setSupported(array(Horde_ActiveSync::ALL_GHOSTED));
     $this->assertEquals(true, $contact->isGhosted('subject'));
     $this->assertEquals(true, $contact->isGhosted('body'));
 }