Abstract Class yeesoft\user\models\search\AbstractItemSearch

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

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 0 Reassigned in child classes to type role, permission or route yeesoft\models\AbstractItem
TYPE_PERMISSION 2 yeesoft\models\AbstractItem
TYPE_ROLE 1 yeesoft\models\AbstractItem
TYPE_ROUTE 3 yeesoft\models\AbstractItem

Method Details

rules() public method

public void rules ( )
scenarios() public method

public void scenarios ( )
search() public method

public void search ( $params )
$params