yii\sphinx\Schema::getIndexTypes PHP Метод

getIndexTypes() публичный Метод

Returns all index types in the Sphinx.
public getIndexTypes ( boolean $refresh = false ) : array
$refresh boolean whether to fetch the latest available index types. If this is false, index types fetched previously (if available) will be returned.
Результат array all index types in the Sphinx in format: index name => index type.
    public function getIndexTypes($refresh = false)
    {
        if (!isset($this->_indexTypes) || $refresh) {
            $this->initIndexesInfo();
        }
        return $this->_indexTypes;
    }