mongodb\Command createIndexes()

createIndexes() public method Creates indexes in the collection. public boolean createIndexes ( $collectionName, $indexes )$collectionName string Collection name. $indexes array[] Indexes specification. Each specification should be an array in format: optionName => value The main options are: keys: array, column names with sort order, to be indexed. This option is mandatory. unique: boolean, whether to create unique index. name: string, the name of the index, if not set it will be

base\Widget render()

render() public method Renders a view. The view to be rendered can be specified in one of the following formats: path alias (e.g. "@app/views/site/index"); absolute path within application (e.g. "//site/index"): the view name starts with double slashes. The actual view file will be looked for under the view path of the application. absolute path within module (e.g. "/site/index"): the view name starts with a single slash. The actual view file will be looked for under the view path of the cu

sphinx\MatchExpression orMatch()

orMatch() public method Adds an additional MATCH condition to the existing one. The new condition and the existing one will be joined using the 'OR' ('|') operator. See also: match() andMatch() public $this orMatch ( $condition, $params = [] )$condition string|array|yii\db\Expression The new WHERE condition. Please refer to match() on how to specify this parameter. $params array The parameters (name => value) to be parsed into the query. return $this The expression object itself

base\Response send()

send() public method Sends the response to client. public void send ( )

rest\UrlRule $ruleConfig

$ruleConfig public property The default configuration for creating each URL rule contained by this rule. public array $ruleConfig = ['class' => 'yii\web\UrlRule']

web\YiiAsset $depends

$depends public property public $depends = ['yii\web\JqueryAsset']

base\Model $errors

$errors public read-only property Errors for all attributes or the specified attribute. Empty array is returned if no error. Note that when returning errors for all attributes, the result is a two-dimensional array, like the following: [ 'username' => [ 'Username is required.', 'Username must contain only word characters.', ], 'email' => [ 'Email address is invalid.', ] ] public array getErrors ( $attribute = null )

mongodb\Connection $options

$options public property Connection options. For example: [ 'socketTimeoutMS' => 1000, // how long a send or receive on a socket can take before timing out 'ssl' => true // initiate the connection with TLS/SSL ] See also https://docs.mongodb.com/manual/reference/connection-string/#connections-connection-options. public array $options = []

db\Connection EVENT_AFTER_OPEN

EVENT_AFTER_OPEN event of type \yii\db\Event An event that is triggered after a DB connection is established

web\Response getIsInformational()

getIsInformational() public method public boolean getIsInformational ( )return boolean Whether this response is informational