FireGento_MageMonitoring_Helper_Data::getActiveWidgets
Returns array with implementations of $baseInterface that return isActive() == true.
Signature
public function getActiveWidgets([string
$widgetId = '*',
[string
$tabId = null,
[boolean
$returnSorted = true,
[string
$baseInterface = 'FireGento_MageMonitoring_Model_Widget']]]] )
Parameters
$widgetId
—
string
- or array of widgetIds, if widgetId equals '*' all widgets are returned
$tabId
—
string
- config scope, null for globals only
$returnSorted
—
boolean
- Return sorted or not
$baseInterface
—
string
- The basic interface
Returns
- array
Violations
PHPMessDetector
Line |
Rule |
Message |
47 - 107 |
CyclomaticComplexity
|
The method getActiveWidgets() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. |
47 - 107 |
NPathComplexity
|
The method getActiveWidgets() has an NPath complexity of 210. The configured NPath complexity threshold is 200. |