db\BaseActiveRecord updateAll()

updateAll() public static method Updates the whole table using the provided attribute values and conditions. For example, to change the status to be 1 for all customers whose status is 2: Customer::updateAll(['status' => 1], 'status = 2'); public static integer updateAll ( $attributes, $condition = '' )$attributes array Attribute values (name-value pairs) to be saved into the table $condition string|array The conditions that will be put in the WHERE part of the UPDATE SQL. Please

validators\Validator $builtInValidators

$builtInValidators public static property List of built-in validators (name => class or configuration) public static array $builtInValidators = ['boolean' => 'yii\validators\BooleanValidator', 'captcha' => 'yii\captcha\CaptchaValidator', 'compare' => 'yii\validators\CompareValidator', 'date' => 'yii\validators\DateValidator', 'datetime' => ['class' => 'yii\validators\DateValidator', 'type' => \yii\validators\DateValidator::TYPE_DATETIME], 'time' => ['class' =>

web\GroupUrlRule createRules()

createRules() protected method Creates the URL rules that should be contained within this composite rule. protected yii\web\UrlRuleInterface[] createRules ( )return yii\web\UrlRuleInterface[] The URL rules

db\QueryTrait $orderBy

$orderBy public property How to sort the query results. This is used to construct the ORDER BY clause in a SQL statement. The array keys are the columns to be sorted by, and the array values are the corresponding sort directions which can be either SORT_ASC or SORT_DESC. The array may also contain yii\db\Expression objects. If that is the case, the expressions will be converted into strings without any change. public array $orderBy = null

rest\Action $findModel

$findModel public property A PHP callable that will be called to return the model corresponding to the specified primary key value. If not set, findModel() will be used instead. The signature of the callable should be: function ($id, $action) { // $id is the primary key value. If composite primary key, the key values // will be separated by comma. // $action is the action object currently running } The callable should return the model found, or throw an exception if not found.

db\Command noCache()

noCache() public method Disables query cache for this command. public $this noCache ( )return $this The command object itself

mongodb\file\ActiveRecord extractFileName()

extractFileName() protected method Extracts filename from given raw file value. protected string extractFileName ( $file )$file mixed Raw file value. return string File name. throws yii\base\InvalidParamException on invalid file value.

debug\panels\TimelinePanel load()

load() public method Loads data into the panel public void load ( $data )$data mixed

rbac\BaseManager removeRule()

removeRule() protected abstract method Removes a rule from the RBAC system. protected abstract boolean removeRule ( $rule )$rule yii\rbac\Rule The rule to remove return boolean Whether the rule is successfully removed throws Exception if data validation or saving fails (such as the name of the rule is not unique)

gii\generators\crud\Generator getTableSchema()

getTableSchema() public method Returns table schema for current model class or false if it is not an active record public boolean|yii\db\TableSchema getTableSchema ( )