コード例 #1
0
ファイル: eztagstype.php プロジェクト: netbliss/eztags
 /**
  * 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);
 }