sphinx\ColumnSchema $isField

$isField public property Whether this column is a indexed field public boolean $isField = null

sphinx\ColumnSchema $dbType

$dbType public property The DB type of this column. Possible DB types vary according to the type of DBMS. public string $dbType = null

sphinx\ColumnSchema $isPrimaryKey

$isPrimaryKey public property Whether this column is a primary key public boolean $isPrimaryKey = null

sphinx\ColumnSchema $isAttribute

$isAttribute public property Whether this column is an attribute public boolean $isAttribute = null

sphinx\ActiveRecord update()

update() public method Saves the changes to this active record into the associated Sphinx index. This method performs the following steps in order: call beforeValidate() when $runValidation is true. If validation fails, it will skip the rest of the steps; call afterValidate() when $runValidation is true. call beforeSave(). If the method returns false, it will skip the rest of the steps; save the record into index. If this fails, it will skip the rest of the steps; call afterSave(); In the a

sphinx\ActiveRecord updateInternal()

updateInternal() protected method See also \yii\sphinx\CActiveRecord::update(). protected void updateInternal ( $attributes = null )$attributes throws yii\db\StaleObjectException

sphinx\ActiveRecord updateAll()

updateAll() public static method Updates the whole table using the provided attribute values and conditions. For example, to change the status to be 1 for all articles which status is 2: Article::updateAll(['status' => 1], 'status = 2'); public static integer updateAll ( $attributes, $condition = '', $params = [] )$attributes array Attribute values (name-value pairs) to be saved into the table $condition string|array The conditions that will be put in the WHERE part of the UPDATE

sphinx\ActiveRecord setSnippet()

setSnippet() public method public void setSnippet ( $snippet )$snippet string

sphinx\ActiveRecord transactions()

transactions() public method Declares which operations should be performed within a transaction in different scenarios. The supported DB operations are: OP_INSERT, OP_UPDATE and OP_DELETE, which correspond to the insert(), update() and delete() methods, respectively. By default, these methods are NOT enclosed in a transaction. In some scenarios, to ensure data consistency, you may want to enclose some or all of them in transactions. You can do so by overriding this method and returning the

sphinx\ActiveRecord primaryKey()

primaryKey() public static method Returns the primary key name for this AR class. The default implementation will return the primary key as declared in the Sphinx index, which is associated with this AR class. Note that an array should be returned even for a table with single primary key. public static string[] primaryKey ( )return string[] The primary keys of the associated Sphinx index.