db\QueryBuilder addColumn()

addColumn() public method Builds a SQL statement for adding a new DB column. public string addColumn ( $table, $column, $type )$table string The table that the new column will be added to. The table name will be properly quoted by the method. $column string The name of the new column. The name will be properly quoted by the method. $type string The column type. The getColumnType() method will be invoked to convert abstract column type (if any) into the physical one. Anything that is

db\pgsql\QueryBuilder alterColumn()

alterColumn() public method Builds a SQL statement for changing the definition of a column. public string alterColumn ( $table, $column, $type )$table string The table whose column is to be changed. The table name will be properly quoted by the method. $column string The name of the column to be changed. The name will be properly quoted by the method. $type string The new column type. The getColumnType() method will be invoked to convert abstract column type (if any) into the physica

db\pgsql\Schema loadColumnSchema()

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

db\pgsql\QueryBuilder createIndex()

createIndex() public method Builds a SQL statement for creating a new index. See also http://www.postgresql.org/docs/8.2/static/sql-createindex.html. public string createIndex ( $name, $table, $columns, $unique = false )$name string The name of the index. The name will be properly quoted by the method. $table string The table that the new index will be created for. The table name will be properly quoted by the method. $columns string|array The column(s) that should be included in t

db\Query params()

params() public method Sets the parameters to be bound to the query. See also addParams(). public $this params ( $params )$params array List of query parameter values indexed by parameter placeholders. For example, [':name' => 'Dan', ':age' => 31]. return $this The query object itself

authclient\OpenId sendRequest()

sendRequest() protected method Sends request to the server protected array|string sendRequest ( $url, $method = 'GET', $params = [] )$url string Request URL. $method string Request method. $params array Request parameters. return array|string Response. throws yii\base\Exception on failure.

db\TableSchema getColumn()

getColumn() public method Gets the named column metadata. This is a convenient method for retrieving a named column even if it does not exist. public yii\db\ColumnSchema getColumn ( $name )$name string Column name return yii\db\ColumnSchema Metadata of the named column. Null if the named column does not exist.

elasticsearch\Command $type

$type public property The types to execute the query on. Defaults to null meaning all types public string|array $type = null

mongodb\file\Upload addFile()

addFile() public method Adds a file content to the upload. This method can invoked several times before complete() is called. public $this addFile ( $filename )$filename string Source file name. return $this Self reference.

db\pgsql\Schema loadTableSchema()

loadTableSchema() public method Loads the metadata for the specified table. public yii\db\TableSchema|null loadTableSchema ( $name )$name string Table name return yii\db\TableSchema|null Driver dependent table metadata. Null if the table does not exist.