elasticsearch\Query column()

column() public method Executes the query and returns the first column of the result. public array column ( $field, $db = null )$field string The field to query over $db yii\elasticsearch\Connection The database connection used to execute the query. If this parameter is not given, the elasticsearch application component will be used. return array The first column of the query result. An empty array is returned if the query results in nothing.

web\HeaderCollection count()

count() public method Returns the number of headers in the collection. This method is required by the SPL Countable interface. It will be implicitly called when you use count($collection). public integer count ( )return integer The number of headers in the collection.

web\Request getPathInfo()

getPathInfo() public method Returns the path info of the currently requested URL. A path info refers to the part that is after the entry script and before the question mark (query string). The starting and ending slashes are both removed. public string getPathInfo ( )return string Part of the request URL that is after the entry script and before the question mark. Note, the returned path info is already URL-decoded. throws yii\base\InvalidConfigException if the path info cannot be dete

db\Connection getDriverName()

getDriverName() public method Returns the name of the DB driver. Based on the the current $dsn, in case it was not set explicitly by an end user. public string getDriverName ( )return string Name of the DB driver

web\Request $csrfParam

$csrfParam public property The name of the token used to prevent CSRF. Defaults to '_csrf'. This property is used only when $enableCsrfValidation is true. public string $csrfParam = '_csrf'

db\oci\ColumnSchemaBuilder buildAfterString()

buildAfterString() protected method Builds the after constraint for the column. Defaults to unsupported. protected string buildAfterString ( )return string A string containing the AFTER constraint.

elasticsearch\Connection $autodetectCluster

$autodetectCluster public property Whether to autodetect available cluster nodes on open() public boolean $autodetectCluster = true

base\Module init()

init() public method Initializes the module. This method is called after the module is created and initialized with property values given in configuration. The default implementation will initialize $controllerNamespace if it is not set. If you override this method, please make sure you call the parent implementation. public void init ( )

sphinx\Command renameTable()

renameTable() public method Creates a SQL command for renaming a DB table. public $this renameTable ( $table, $newName )$table string The table to be renamed. The name will be properly quoted by the method. $newName string The new table name. The name will be properly quoted by the method. return $this The command object itself

elasticsearch\QueryBuilder __construct()

__construct() public method Constructor. public void __construct ( $connection, $config = [] )$connection yii\elasticsearch\Connection The database connection. $config array Name-value pairs that will be used to initialize the object properties