classes/ezfsolrdocumentfieldbase.php
public static function generateSubattributeFieldName( eZContentClassAttribute $classAttribute, $subfieldName, $type )
    {
        // base name of subfields ends with self::SUBATTR_FIELD_PREFIX so
        // that it's possible to differentiate those fields in schema.xml
        $documentFieldName = self::getDocumentFieldName();

        return $documentFieldName->lookupSchemaName( self::SUBATTR_FIELD_PREFIX . $classAttribute->attribute( 'identifier' )
                                                            . self::SUBATTR_FIELD_SEPARATOR . $subfieldName . self::SUBATTR_FIELD_SEPARATOR,
                                                           $type );
    }
public static function generateSubattributeFieldName( eZContentClassAttribute $classAttribute, $subfieldName, $type )
    {
        // base name of subfields ends with self::SUBATTR_FIELD_PREFIX so
        // that it's possible to differentiate those fields in schema.xml
        $documentFieldName = self::getDocumentFieldName();

        return $documentFieldName->lookupSchemaName( self::SUBATTR_FIELD_PREFIX . $classAttribute->attribute( 'identifier' )
                                                            . self::SUBATTR_FIELD_SEPARATOR . $subfieldName . self::SUBATTR_FIELD_SEPARATOR,
                                                           $type );
    }
public static function generateSubattributeFieldName ( eZContentClassAttribute $ classAttribute , $ subfieldName , $ type ) { // base name of subfields ends with self::SUBATTR_FIELD_PREFIX so // that it's possible to differentiate those fields in schema.xml $ documentFieldName = self :: getDocumentFieldName ( ) ; return $ documentFieldName -> lookupSchemaName ( self :: SUBATTR_FIELD_PREFIX . $ classAttribute -> attribute ( 'identifier' ) . self :: SUBATTR_FIELD_SEPARATOR . $ subfieldName . self :: SUBATTR_FIELD_SEPARATOR , $ type ) ; }
Generates the full Solr field name for a datatype's subattribute.
Helper method to be used, if needed, by datatype-specific handlers.

@see ezfSolrDocumentFieldDummyExample

@param eZContentClassAttribute $classAttribute
@param string $subfieldName
@param string $type The fully qualified type. It must be picked amongst
the keys of the ezfSolrDocumentFieldName::$FieldTypeMap array.

@return string
Generates the full Solr field name for a datatype s subattribute . Helper method to be used if needed by datatype - specific handlers .