rbac\PhpManager updateRule()

updateRule() public method Updates a rule to the RBAC system. public boolean updateRule ( $name, $rule )$name string The name of the rule being updated $rule yii\rbac\Rule The updated rule return boolean Whether the rule is successfully updated throws Exception if data validation or saving fails (such as the name of the rule is not unique)

db\QueryBuilder update()

update() public method Creates an UPDATE SQL statement. For example, $params = []; $sql = $queryBuilder->update('user', ['status' => 1], 'age > 30', $params); The method will properly escape the table and column names. public string update ( $table, $columns, $condition, &$params )$table string The table to be updated. $columns array The column data (name => value) to be updated. $condition array|string The condition that will be put in the WHERE part. Please refer

i18n\MessageSource translateMessage()

translateMessage() protected method Translates the specified message. If the message is not found, a missingTranslation event will be triggered. If there is an event handler, it may provide a fallback translation. If no fallback translation is provided this method will return false. protected string|boolean translateMessage ( $category, $message, $language )$category string The category that the message belongs to. $message string The message to be translated. $language string The ta

console\controllers\MigrateController createMigrationHistoryTable()

createMigrationHistoryTable() protected method Creates the migration history table. protected void createMigrationHistoryTable ( )

rbac\DbManager removeAllRoles()

removeAllRoles() public method Removes all roles. All parent child relations will be adjusted accordingly. public void removeAllRoles ( )

widgets\Block run()

run() public method Ends recording a block. This method stops output buffering and saves the rendering result as a named block in the view. public void run ( )

filters\AccessRule $controllers

$controllers public property List of the controller IDs that this rule applies to. Each controller ID is prefixed with the module ID (if any). The comparison is case-sensitive. If not set or empty, it means this rule applies to all controllers. public array $controllers = null

base\Action $uniqueId

$uniqueId public read-only property The unique ID of this action among the whole application. public string getUniqueId ( )

helpers\BaseArrayHelper isTraversable()

isTraversable() public static method (available since version 2.0.8) Checks whether a variable is an array or Traversable. This method does the same as the PHP function is_array() but additionally works on objects that implement the Traversable interface. See also http://php.net/manual/en/function.is_array.php. public static boolean isTraversable ( $var )$var mixed The variable being evaluated. return boolean Whether $var is array-like

mongodb\Cache $db

$db public property The MongoDB connection object or the application component ID of the MongoDB connection. After the Cache object is created, if you want to change this property, you should only assign it with a MongoDB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object. public yii\mongodb\Connection|array|string $db = 'mongodb'