Class yeesoft\user\models\search\PermissionSearch

Inheritanceyeesoft\user\models\search\PermissionSearch » yeesoft\user\models\search\AbstractItemSearch » yeesoft\models\AbstractItem » yeesoft\db\ActiveRecord » yii\db\ActiveRecord

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addChildren() Helper for adding children to role or permission yeesoft\models\AbstractItem
afterDelete() Invalidate permissions if some item is deleted yeesoft\models\AbstractItem
attributeLabels() yeesoft\models\AbstractItem
beforeSave() Ensure type of item yeesoft\models\AbstractItem
behaviors() yeesoft\models\AbstractItem
create() Useful helper for migrations and other stuff If description is null than it will be transformed like "editUserEmail" => "Edit user email" yeesoft\models\AbstractItem
deleteIfExists() yeesoft\models\AbstractItem
find() yeesoft\models\AbstractItem
getGroup() yeesoft\models\AbstractItem
isMultilingual() Returns TRUE if model support multilingual behavior. yeesoft\db\ActiveRecord
removeChildren() yeesoft\models\AbstractItem
rules() yeesoft\user\models\search\AbstractItemSearch
scenarios() yeesoft\user\models\search\AbstractItemSearch
search() yeesoft\user\models\search\AbstractItemSearch
tableName() yeesoft\models\AbstractItem
validateUniqueName() Default unique validator search only within specific class (Role, Route or Permission) because of the overwritten find() method yeesoft\models\AbstractItem

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
ITEM_TYPE self::TYPE_PERMISSION yeesoft\user\models\search\PermissionSearch
TYPE_PERMISSION 2 yeesoft\models\AbstractItem
TYPE_ROLE 1 yeesoft\models\AbstractItem
TYPE_ROUTE 3 yeesoft\models\AbstractItem