validators\ExistValidator $allowArray

$allowArray public property Whether to allow array type attribute. public boolean $allowArray = false

db\BaseActiveRecord findByCondition()

findByCondition() protected static method Finds ActiveRecord instance(s) by the given condition. This method is internally called by findOne() and findAll(). protected static yii\db\ActiveQueryInterface findByCondition ( $condition )$condition mixed Please refer to findOne() for the explanation of this parameter return yii\db\ActiveQueryInterface The newly created ActiveQuery instance. throws yii\base\InvalidConfigException if there is no primary key defined

db\mssql\Schema findTableConstraints()

findTableConstraints() protected method (available since version 2.0.4) Collects the constraint details for the given table and constraint type. protected array findTableConstraints ( $table, $type )$table yii\db\mssql\TableSchema $type string Either PRIMARY KEY or UNIQUE return array Each entry contains index_name and field_name

mail\MailerInterface sendMultiple()

sendMultiple() public abstract method Sends multiple messages at once. This method may be implemented by some mailers which support more efficient way of sending multiple messages in the same batch. public abstract integer sendMultiple ( array $messages )$messages array List of email messages, which should be sent. return integer Number of messages that are successfully sent.

console\controllers\BaseMigrateController actionDown()

actionDown() public method Downgrades the application by reverting old migrations. For example, yii migrate/down # revert the last migration yii migrate/down 3 # revert the last 3 migrations yii migrate/down all # revert all migrations public integer actionDown ( $limit = 1 )$limit integer The number of migrations to be reverted. Defaults to 1, meaning the last applied migration will be reverted. return integer The status of the action execution. 0 means normal, other values mea

db\Command execute()

execute() public method Executes the SQL statement. This method should only be used for executing non-query SQL statement, such as INSERT, DELETE, UPDATE SQLs. No result set will be returned. public integer execute ( )return integer Number of rows affected by the execution. throws yii\db\Exception execution failed

web\ErrorHandler getExceptionName()

getExceptionName() public method Returns human-readable exception name public string getExceptionName ( $exception )$exception Exception return string Human-readable exception name or null if it cannot be determined

web\Request getHostInfo()

getHostInfo() public method Returns the schema and host part of the current request URL. The returned URL does not have an ending slash. By default this is determined based on the user request information. You may explicitly specify it by setting the hostInfo property. See also setHostInfo(). public string|null getHostInfo ( )return string|null Schema and hostname part (with port number if needed) of the request URL (e.g. http://www.yiiframework.com), null if can't be obtained from $_S

elasticsearch\Connection $auth

$auth public property Authentication data used to connect to the ElasticSearch node. Array elements: username: the username for authentication. password: the password for authentication. Array either MUST contain both username and password on not contain any authentication credentials. See also http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_configuration.html#_example_configuring_http_basic_auth. public array $auth = []

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