function hasAttribute($attr) { $eventType = $this->eventType(); return parent::hasAttribute($attr) or in_array($attr, $eventType->typeFunctionalAttributes()); }
function hasAttribute($attr) { $eventType = $this->eventType(); return eZPersistentObject::hasAttribute($attr) or in_array($attr, $eventType->typeFunctionalAttributes()); }
function hasAttribute($attribute) { $val = parent::hasAttribute($attribute); switch ($attribute) { case 'contentobjectattribute_id': $val = true; break; } return $val; }