base\Model loadMultiple()

loadMultiple() public static method Populates a set of models with the data from end user. This method is mainly used to collect tabular data input. The data to be loaded for each model is $data[formName][index], where formName refers to the value of formName(), and index the index of the model in the $models array. If formName() is empty, $data[index] will be used to populate each model. The data being populated to each model is subject to the safety check by setAttributes(). public stat

data\Sort link()

link() public method Generates a hyperlink that links to the sort action to sort by the specified attribute. Based on the sort direction, the CSS class of the generated hyperlink will be appended with "asc" or "desc". public string link ( $attribute, $options = [] )$attribute string The attribute name by which the data should be sorted by. $options array Additional HTML attributes for the hyperlink tag. There is one special attribute label which will be used as the label of the hyperli

mongodb\Command setReadConcern()

setReadConcern() public method Sets read concern for this command. public $this setReadConcern ( $readConcern )$readConcern \MongoDB\Driver\ReadConcern|string Read concern, it can be an instance of \MongoDB\Driver\ReadConcern or scalar level value, for example: 'local'. return $this Self reference

data\Pagination getQueryParam()

getQueryParam() protected method Returns the value of the specified query parameter. This method returns the named parameter value from $params. Null is returned if the value does not exist. protected string getQueryParam ( $name, $defaultValue = null )$name string The parameter name $defaultValue string The value to be returned when the specified parameter does not exist in $params. return string The parameter value

test\ActiveFixture getTableSchema()

getTableSchema() public method public yii\db\TableSchema getTableSchema ( )return yii\db\TableSchema The schema information of the database table associated with this fixture. throws yii\base\InvalidConfigException if the table does not exist

test\InitDbFixture $schemas

$schemas public property List of database schemas that the test tables may reside in. Defaults to [''], meaning using the default schema (an empty string refers to the default schema). This property is mainly used when turning on and off integrity checks so that fixture data can be populated into the database without causing problem. public array $schemas = ['']

rbac\ManagerInterface getPermissionsByUser()

getPermissionsByUser() public abstract method Returns all permissions that the user has. public abstract yii\rbac\Permission[] getPermissionsByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Permission[] All permissions that the user has. The array is indexed by the permission names.

rbac\ManagerInterface getUserIdsByRole()

getUserIdsByRole() public abstract method (available since version 2.0.7) Returns all user IDs assigned to the role specified. public abstract array getUserIdsByRole ( $roleName )$roleName string return array Array of user ID strings

base\Model offsetUnset()

offsetUnset() public method Sets the element value at the specified offset to null. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like unset($model[$offset]). public void offsetUnset ( $offset )$offset mixed The offset to unset element

rbac\ManagerInterface removeChildren()

removeChildren() public abstract method Removed all children form their parent. Note, the children items are not deleted. Only the parent-child relationships are removed. public abstract boolean removeChildren ( $parent )$parent yii\rbac\Item return boolean Whether the removal is successful