コード例 #1
0
 /**
  * Returns the content data for the given content object attribute.
  *
  * @param eZContentObjectAttribute $objectAttribute
  *
  * @return array
  */
 public function objectAttributeContent($objectAttribute)
 {
     $identifiers = SckEnhancedSelection::fetchByAttribute($objectAttribute->attribute('id'), $objectAttribute->attribute('version'));
     $stringIdentifiers = array();
     foreach ($identifiers as $identifier) {
         $stringIdentifiers[] = $identifier->attribute('identifier');
     }
     return $stringIdentifiers;
 }