Class humhub\modules\notification\models\forms\FilterForm

Inheritancehumhub\modules\notification\models\forms\FilterForm » yii\base\Model

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$categoryFilter \humhub\modules\notification\models\forms\type Array humhub\modules\notification\models\forms\FilterForm
$categoryFilterSelection \humhub\modules\notification\models\forms\type Array humhub\modules\notification\models\forms\FilterForm
$notifications \humhub\modules\notification\models\forms\type humhub\modules\notification\models\forms\FilterForm

Public Methods

Hide inherited methods

MethodDescriptionDefined By
attributeLabels() humhub\modules\notification\models\forms\FilterForm
createQuery() Creates the filter query humhub\modules\notification\models\forms\FilterForm
getCategoryFilterSelection() Returns all available notification categories as checkbox list selection. humhub\modules\notification\models\forms\FilterForm
getExcludeClassFilter() Returns all Notifications classes of modules not selected in the filter humhub\modules\notification\models\forms\FilterForm
getNotifications() Returns all available BaseNotification classes with a NotificationCategory. humhub\modules\notification\models\forms\FilterForm
hasFilter() Checks if this filter is active (at least one filter selected) humhub\modules\notification\models\forms\FilterForm
init() Preselects all possible module filter humhub\modules\notification\models\forms\FilterForm
rules() humhub\modules\notification\models\forms\FilterForm

Property Details

$categoryFilter public property

Array

public \humhub\modules\notification\models\forms\type $categoryFilter null
$categoryFilterSelection public property

Array

public \humhub\modules\notification\models\forms\type $categoryFilterSelection null
$notifications public property
public \humhub\modules\notification\models\forms\type $notifications null

Method Details

attributeLabels() public method

public void attributeLabels ( )
createQuery() public method

Creates the filter query

public \yii\db\ActiveQuery createQuery ( )
getCategoryFilterSelection() public method

Returns all available notification categories as checkbox list selection.

public \humhub\modules\notification\models\forms\type getCategoryFilterSelection ( )
getExcludeClassFilter() public method

Returns all Notifications classes of modules not selected in the filter

public \humhub\modules\notification\models\forms\type getExcludeClassFilter ( )
getNotifications() public method

Returns all available BaseNotification classes with a NotificationCategory.

public \humhub\modules\notification\models\forms\type getNotifications ( )
hasFilter() public method

Checks if this filter is active (at least one filter selected)

public \humhub\modules\notification\models\forms\type hasFilter ( )
init() public method

Preselects all possible module filter

public void init ( )
rules() public method

public void rules ( )