0 follower

Yii Framework 3.0 API Documentation

This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.

You can search API documentation using the search form on the top. You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().

This page is also available in JSON format:
curl https://www.yiiframework.com/doc/api/3.0/rbac -H 'Accept: application/json'

Class Description
Yiisoft\Rbac\Assignment Assignment represents an assignment of a role or a permission to a user.
Yiisoft\Rbac\AssignmentsStorageInterface AssignmentsStorageInterface represents a storage for assignment of RBAC items (a role or a permission) to a user used in {@see Manager}.
Yiisoft\Rbac\CompositeRule Composite rule allows combining multiple rules.
Yiisoft\Rbac\Exception\DefaultRolesNotFoundException
Yiisoft\Rbac\Exception\ItemAlreadyExistsException
Yiisoft\Rbac\Exception\RuleInterfaceNotImplementedException
Yiisoft\Rbac\Exception\RuleNotFoundException
Yiisoft\Rbac\Item Items are RBAC hierarchy entities that could be assigned to the user.
Yiisoft\Rbac\ItemsStorageInterface A storage for RBAC roles and permissions used in {@see Manager}.
Yiisoft\Rbac\Manager Helps to manage RBAC hierarchy and check for permissions.
Yiisoft\Rbac\ManagerInterface An interface for managing RBAC entities (items, assignments, rules) with possibility to check user permissions.
Yiisoft\Rbac\Permission
Yiisoft\Rbac\Role
Yiisoft\Rbac\RuleContext
Yiisoft\Rbac\RuleFactoryInterface Having a rule name creates an instance of it.
Yiisoft\Rbac\RuleInterface The rule represents a business constraint that may be associated with a role or a permission.
Yiisoft\Rbac\SimpleAssignmentsStorage
Yiisoft\Rbac\SimpleItemsStorage
Yiisoft\Rbac\SimpleRuleFactory