public function getSphinxFieldType($fieldName) { $sphinxTypes = CaptionSphinxPlugin::getSphinxSchemaFields(); if (!isset($sphinxTypes[$fieldName])) { return null; } return kSphinxSearchManager::getSphinxDataType($sphinxTypes[$fieldName]); }