sphinx\Schema quoteIndexName()

quoteIndexName() public method Quotes a index name for use in a query. If the index name contains schema prefix, the prefix will also be properly quoted. If the index name is already quoted or contains '(' or '{{', then this method will do nothing. See also \yii\sphinx\quoteSimpleTableName. public string quoteIndexName ( $name )$name string Index name return string The properly quoted index name

sphinx\Schema quoteColumnName()

quoteColumnName() public method Quotes a column name for use in a query. If the column name contains prefix, the prefix will also be properly quoted. If the column name is already quoted or contains '(', '[[' or '{{', then this method will do nothing. See also quoteSimpleColumnName(). public string quoteColumnName ( $name )$name string Column name return string The properly quoted column name

sphinx\Schema quoteSimpleIndexName()

quoteSimpleIndexName() public method Quotes a index name for use in a query. A simple index name has no schema prefix. public string quoteSimpleIndexName ( $name )$name string Index name return string The properly quoted index name

sphinx\Schema quoteSimpleColumnName()

quoteSimpleColumnName() public method Quotes a column name for use in a query. A simple column name has no prefix. public string quoteSimpleColumnName ( $name )$name string Column name return string The properly quoted column name

sphinx\Schema isReadQuery()

isReadQuery() public method Returns a value indicating whether a SQL statement is for read purpose. public boolean isReadQuery ( $sql )$sql string The SQL statement return boolean Whether a SQL statement is for read purpose.

sphinx\Schema loadIndexSchema()

loadIndexSchema() protected method Loads the metadata for the specified index. protected yii\sphinx\IndexSchema|null loadIndexSchema ( $name )$name string Index name return yii\sphinx\IndexSchema|null Driver dependent index metadata. null - if the index does not exist.

sphinx\Schema loadColumnSchema()

loadColumnSchema() protected method Loads the column information into a yii\sphinx\ColumnSchema object. protected yii\sphinx\ColumnSchema loadColumnSchema ( $info )$info array Column information return yii\sphinx\ColumnSchema The column schema object

sphinx\Schema getQueryBuilder()

getQueryBuilder() public method public yii\sphinx\QueryBuilder getQueryBuilder ( )return yii\sphinx\QueryBuilder The query builder for this connection.

sphinx\Schema getPdoType()

getPdoType() public method Determines the PDO type for the given PHP data value. See also http://www.php.net/manual/en/pdo.constants.php. public integer getPdoType ( $data )$data mixed The data whose PDO type is to be determined return integer The PDO type

sphinx\Schema initIndexesInfo()

initIndexesInfo() protected method Initializes information about name and type of all index in the Sphinx. protected void initIndexesInfo ( )