diff options
Diffstat (limited to 'core/Widget/WidgetConfig.php')
-rw-r--r-- | core/Widget/WidgetConfig.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/Widget/WidgetConfig.php b/core/Widget/WidgetConfig.php index f4d8cf4681..fcfc72c24b 100644 --- a/core/Widget/WidgetConfig.php +++ b/core/Widget/WidgetConfig.php @@ -66,6 +66,10 @@ class WidgetConfig return $this; } + /** + * Get the currently set category ID. + * @return string + */ public function getSubcategoryId() { return $this->subcategoryId; @@ -104,6 +108,10 @@ class WidgetConfig return $this; } + /** + * Get the currently set action. + * @return string + */ public function getAction() { return $this->action; @@ -201,7 +209,6 @@ class WidgetConfig * return `true` or `false`. If your report is only available to users having super user access you can do the * following: `return Piwik::hasUserSuperUserAccess();` * @return bool - * @api */ public function isEnabled() { @@ -246,7 +253,6 @@ class WidgetConfig * } * ``` * @throws \Exception - * @api */ public function checkIsEnabled() { |