console\controllers\MessageController isCategoryIgnored()

isCategoryIgnored() protected method (available since version 2.0.7)

The method checks, whether the $category is ignored according to $ignoreCategories array.

Examples:

  • myapp - will be ignored only myapp category;
  • myapp* - will be ignored by all categories beginning with myapp (myapp, myapplication, myapprove, myapp/widgets, myapp.widgets, etc).
protected boolean isCategoryIgnored ( $category, array $ignoreCategories )
$category string

Category that is checked

$ignoreCategories array

Message categories to ignore.

doc_Yii
2016-10-30 16:55:14
Comments
Leave a Comment

Please login to continue.