/** * 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); }