public function getIndexTypes($refresh = false)
    {
        if (!isset($this->_indexTypes) || $refresh) {
            $this->initIndexesInfo();
        }

        return $this->_indexTypes;
    }
public function getIndexTypes($refresh = false)
    {
        if (!isset($this->_indexTypes) || $refresh) {
            $this->initIndexesInfo();
        }

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