/** * @deprecated since 2.1 * Load name lookup table from PHP cache. * * Stores the looup table to member variable self::$LookupTable */ protected function loadLookupTable() { $phpCreator = $this->getPHPCreatorInstance(); if ($phpCreator->canRestore()) { $tableArray = $phpCreator->restore(array('table' => 'table')); self::$LookupTable = $tableArray['table']; } else { self::$LookupTable = array(); } }
private static function getPostFix( $contentClassAttributeIdentifier ) { $ini = eZINI::instance( 'ezfind.ini' ); $tab_attributeIdentifier = $ini->variable( 'SolrFieldMapSettings', 'AttributeMap' ); $suffix = 'text'; if ( array_key_exists( $contentClassAttributeIdentifier, $tab_attributeIdentifier ) ) { $suffix = $tab_attributeIdentifier[$contentClassAttributeIdentifier]; } return ezfSolrDocumentFieldName::getPostFix( $suffix ); }
/** * Simple wrapper that makes loadLookupTable public * @see ezfSolrDocumentFieldName::loadLookupTable() **/ public function loadLookupTable() { return parent::loadLookupTable(); }