classes/ezfsolrdocumentfieldobjectrelation.php
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;
    }
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;
    }
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 Instance of eZContentObjectVersion to fetch attributes from.

@return array List of ezfSolrDocumentFieldBase instances.
Get ezfSolrDocumentFieldBase instances for all attributes of specified eZContentObjectVersion