/**
  * Get ezfSolrDocumentFieldBase instances for all attributes of specified eZContentObjectVersion
  *
  * @param eZContentObjectVersion Instance of eZContentObjectVersion to fetch attributes from.
  *
  * @return array List of ezfSolrDocumentFieldBase instances.
  */
 function getBaseList( eZContentObjectVersion $objectVersion )
 {
     $returnList = array();
     // Get ezfSolrDocumentFieldBase instance for all attributes in related object
     if ( eZContentObject::recursionProtect( $this->ContentObjectAttribute->attribute( 'contentobject_id' ) ) )
     {
         foreach ( $objectVersion->contentObjectAttributes( $this->ContentObjectAttribute->attribute( 'language_code' ) ) as $attribute )
         {
             if ( $attribute->attribute( 'contentclass_attribute' )->attribute( 'is_searchable' ) )
             {
                 $returnList[] = ezfSolrDocumentFieldBase::getInstance( $attribute );
             }
         }
     }
     return $returnList;
 }
 /**
  * Get ezfSolrDocumentFieldBase instances for all attributes of specified eZContentObjectVersion
  *
  * @param eZContentObjectVersion $objectVersion Instance of eZContentObjectVersion to fetch attributes from.
  * @return ezfSolrDocumentFieldBase[]|ocSolrDocumentFieldObjectRelation[] List of ezfSolrDocumentFieldBase instances.
  */
 function getBaseList(eZContentObjectVersion $objectVersion)
 {
     $returnList = array();
     // Get ezfSolrDocumentFieldBase instance for all attributes in related object
     /** @var eZContentObjectAttribute $attribute */
     foreach ($objectVersion->contentObjectAttributes($this->ContentObjectAttribute->attribute('language_code')) as $attribute) {
         /** @var eZContentClassAttribute $classAttribute */
         $classAttribute = $attribute->attribute('contentclass_attribute');
         if ($classAttribute->attribute('is_searchable')) {
             $returnList[] = ezfSolrDocumentFieldBase::getInstance($attribute);
         }
     }
     return $returnList;
 }