validators\DefaultValueValidator $value

$value public property The default value or an anonymous function that returns the default value which will be assigned to the attributes being validated if they are empty. The signature of the anonymous function should be as follows, function($model, $attribute) { // compute value return $value; } public mixed $value = null

db\BaseActiveRecord beforeSave()

beforeSave() public method This method is called at the beginning of inserting or updating a record. The default implementation will trigger an EVENT_BEFORE_INSERT event when $insert is true, or an EVENT_BEFORE_UPDATE event if $insert is false. When overriding this method, make sure you call the parent implementation like the following: public function beforeSave($insert) { if (parent::beforeSave($insert)) { // ...custom code here... return true; } else { ret

rbac\ManagerInterface removeAllPermissions()

removeAllPermissions() public abstract method Removes all permissions. All parent child relations will be adjusted accordingly. public abstract void removeAllPermissions ( )

mongodb\ActiveRecord primaryKey()

primaryKey() public static method Returns the primary key name(s) for this AR class. The default implementation will return ['_id']. Note that an array should be returned even for a collection with single primary key. public static string[] primaryKey ( )return string[] The primary keys of the associated Mongo collection.

mail\BaseMailer sendMultiple()

sendMultiple() public method Sends multiple messages at once. The default implementation simply calls send() multiple times. Child classes may override this method to implement more efficient way of sending multiple messages. public integer sendMultiple ( array $messages )$messages array List of email messages, which should be sent. return integer Number of messages that are successfully sent.

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.

filters\auth\HttpBasicAuth $realm

$realm public property The HTTP authentication realm public string $realm = 'api'

mongodb\Query min()

min() public method Returns the minimum of the specified column values. public integer min ( $q, $db = null )$q string The column name. Make sure you properly quote column names in the expression. $db yii\mongodb\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return integer The minimum of the specified column values.

helpers\BaseFileHelper localize()

localize() public static method Returns the localized version of a specified file. The searching is based on the specified language code. In particular, a file with the same name will be looked for under the subdirectory whose name is the same as the language code. For example, given the file "path/to/view.php" and language code "zh-CN", the localized file will be looked for as "path/to/zh-CN/view.php". If the file is not found, it will try a fallback with just a language code that is "zh"

widgets\Menu $lastItemCssClass

$lastItemCssClass public property The CSS class that will be assigned to the last item in the main menu or each submenu. Defaults to null, meaning no such CSS class will be assigned. public string $lastItemCssClass = null