public function getIndexingConfigurationName($recordTable, $recordUid, TypoScriptConfiguration $solrConfiguration)
    {
        $name = $recordTable;
        $indexingConfigurations = $solrConfiguration->getEnabledIndexQueueConfigurationNames();
        foreach ($indexingConfigurations as $indexingConfigurationName) {
            if (!$solrConfiguration->getIndexQueueConfigurationIsEnabled($indexingConfigurationName)) {
                // ignore disabled indexing configurations
                continue;
            }

            $record = $this->getRecordIfIndexConfigurationIsValid($recordTable, $recordUid,
                $indexingConfigurationName, $solrConfiguration);
            if (!empty($record)) {
                $name = $indexingConfigurationName;
                // FIXME currently returns after the first configuration match
                break;
            }
        }

        return $name;
    }
public function getIndexingConfigurationName($recordTable, $recordUid, TypoScriptConfiguration $solrConfiguration)
    {
        $name = $recordTable;
        $indexingConfigurations = $solrConfiguration->getEnabledIndexQueueConfigurationNames();
        foreach ($indexingConfigurations as $indexingConfigurationName) {
            if (!$solrConfiguration->getIndexQueueConfigurationIsEnabled($indexingConfigurationName)) {
                // ignore disabled indexing configurations
                continue;
            }

            $record = $this->getRecordIfIndexConfigurationIsValid($recordTable, $recordUid,
                $indexingConfigurationName, $solrConfiguration);
            if (!empty($record)) {
                $name = $indexingConfigurationName;
                // FIXME currently returns after the first configuration match
                break;
            }
        }

        return $name;
    }
public function getIndexingConfigurationName ( $ recordTable , $ recordUid , TypoScriptConfiguration $ solrConfiguration ) { $ name = $ recordTable ; $ indexingConfigurations = $ solrConfiguration -> getEnabledIndexQueueConfigurationNames ( ) ; foreach ( $ indexingConfigurations as $ indexingConfigurationName ) { if ( ! $ solrConfiguration -> getIndexQueueConfigurationIsEnabled ( $ indexingConfigurationName ) ) { // ignore disabled indexing configurations continue ; } $ record = $ this -> getRecordIfIndexConfigurationIsValid ( $ recordTable , $ recordUid , $ indexingConfigurationName , $ solrConfiguration ) ; if ( ! empty ( $ record ) ) { $ name = $ indexingConfigurationName ; // FIXME currently returns after the first configuration match break ; } } return $ name ; }
Retrieves the name of the Index Queue Configuration for a record.

@param string $recordTable Table to read from
@param int $recordUid Id of the record
@param TypoScriptConfiguration $solrConfiguration
@return string Name of indexing configuration
Retrieves the name of the Index Queue Configuration for a record .