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