sphinx\Command dropPrimaryKey()

dropPrimaryKey() public method Creates a SQL command for removing a primary key constraint to an existing table. public $this dropPrimaryKey ( $name, $table )$name string The name of the primary key constraint to be removed. $table string The table that the primary key constraint will be removed from. return $this The command object itself

di\Container invoke()

invoke() public method (available since version 2.0.7) Invoke a callback with resolving dependencies in parameters. This methods allows invoking a callback and let type hinted parameter names to be resolved as objects of the Container. It additionally allow calling function using named parameters. For example, the following callback may be invoked using the Container to resolve the formatter dependency: $formatString = function($string, \yii\i18n\Formatter $formatter) { // ... } Yii::$co

log\Logger getDbProfiling()

getDbProfiling() public method Returns the statistical results of DB queries. The results returned include the number of SQL statements executed and the total time spent. public array getDbProfiling ( )return array The first element indicates the number of SQL statements executed, and the second element the total time spent in SQL execution.

sphinx\Query addFacets()

addFacets() public method Adds additional FACET part of the query. public $this addFacets ( $facets )$facets array Facet specifications. return $this The query object itself

gii\generators\model\Generator validateTableName()

validateTableName() public method Validates the $tableName attribute. public void validateTableName ( )

sphinx\ActiveRecord attributes()

attributes() public method Returns the list of all attribute names of the model. The default implementation will return all column names of the table associated with this AR class. public array attributes ( )return array List of attribute names.

db\mssql\QueryBuilder selectExists()

selectExists() public method (available since version 2.0.8) Creates a SELECT EXISTS() SQL statement. public string selectExists ( $rawSql )$rawSql string The subquery in a raw form to select from. return string The SELECT EXISTS() SQL statement.

caching\Dependency generateDependencyData()

generateDependencyData() protected abstract method Generates the data needed to determine if dependency has been changed. Derived classes should override this method to generate the actual dependency data. protected abstract mixed generateDependencyData ( $cache )$cache yii\caching\Cache The cache component that is currently evaluating this dependency return mixed The data needed to determine if dependency has been changed.

sphinx\ActiveRecord equals()

equals() public method Returns a value indicating whether the given active record is the same as the current one. The comparison is made by comparing the index names and the primary key values of the two active records. If one of the records is new they are also considered not equal. public boolean equals ( $record )$record yii\sphinx\ActiveRecord Record to compare to return boolean Whether the two active records refer to the same row in the same index.

web\GroupUrlRule parseRequest()

parseRequest() public method Parses the given request and returns the corresponding route and parameters. public array|boolean parseRequest ( $manager, $request )$manager yii\web\UrlManager The URL manager $request yii\web\Request The request component return array|boolean The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info.