Beispiel #1
0
 /**
  * Returns true if content object attribute has content
  *
  * @param eZContentObjectAttribute $contentObjectAttribute
  * @return bool
  */
 function hasObjectAttributeContent($contentObjectAttribute)
 {
     $eztags = new eZTags();
     $eztags->createFromAttribute($contentObjectAttribute);
     $idArray = $eztags->idArray();
     return !empty($idArray);
 }