public function isGhosted($property)
{
// MS-ASCMD 2.2.3.168:
// An empty SUPPORTED container indicates that ALL elements able to be
// ghosted ARE ghosted. A *missing* SUPPORTED tag indicates that NO
// fields are ghosted - any ghostable properties are always considered
// NOT ghosted.
if (empty($this->_supported)) {
return false;
}
if (current($this->_supported) == Horde_ActiveSync::ALL_GHOSTED && empty($this->_exists[$property])) {
return true;
}
return array_search($property, $this->_supported) === false && empty($this->_exists[$property]);
}