validators\ImageValidator clientValidateAttribute()

clientValidateAttribute() public method Returns the JavaScript needed for performing client-side validation. You may override this method to return the JavaScript validation code if the validator can support client-side validation. The following JavaScript variables are predefined and can be used in the validation code: attribute: an object describing the the attribute being validated. value: the value being validated. messages: an array used to hold the validation error messages for the

rest\CreateAction $scenario

$scenario public property The scenario to be assigned to the new model before it is validated and saved. public string $scenario = \yii\base\Model::SCENARIO_DEFAULT

mongodb\Collection group()

group() public method Performs aggregation using Mongo "group" command. public array group ( $keys, $initial, $reduce, $options = [] )$keys mixed Fields to group by. If an array or non-code object is passed, it will be the key used to group results. If instance of \MongoDB\BSON\Javascript passed, it will be treated as a function that returns the key to group by. $initial array Initial value of the aggregation counter object. $reduce \MongoDB\BSON\Javascript|string Function that take

base\Component ensureBehaviors()

ensureBehaviors() public method Makes sure that the behaviors declared in behaviors() are attached to this component. public void ensureBehaviors ( )

validators\CompareValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

base\View evaluateDynamicContent()

evaluateDynamicContent() public method Evaluates the given PHP statements. This method is mainly used internally to implement dynamic content feature. public mixed evaluateDynamicContent ( $statements )$statements string The PHP statements to be evaluated. return mixed The return value of the PHP statements.

db\ColumnSchema $comment

$comment public property Comment of this column. Not all DBMS support this. public string $comment = null

sphinx\Connection getLastInsertID()

getLastInsertID() public method This method is not supported by Sphinx. public string getLastInsertID ( $sequenceName = '' )$sequenceName string Name of the sequence object return string The row ID of the last row inserted, or the last value retrieved from the sequence object throws yii\base\NotSupportedException always.

validators\IpValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

db\Migration up()

up() public method This method contains the logic to be executed when applying this migration. Child classes may override this method to provide actual migration logic. public boolean up ( )return boolean Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.