/** * Used in datatype cjwnewsletter_list * * @param unknown_type $attributeId * @param unknown_type $version * @return CjwNewsletterEdition */ static function fetch($attributeId, $version) { $objectList = eZPersistentObject::fetchObjectList(CjwNewsletterEdition::definition(), null, array('contentobject_attribute_id' => $attributeId, 'contentobject_attribute_version' => $version), null, null, true); if (count($objectList) > 0) { return $objectList[0]; } }