Protect controller again
This commit is contained in:
parent
786a833237
commit
f7373da55e
|
|
@ -28,7 +28,7 @@ abstract class WidgetBase
|
|||
/**
|
||||
* @var Backend\Classes\Controller Backend controller object.
|
||||
*/
|
||||
public $controller;
|
||||
protected $controller;
|
||||
|
||||
/**
|
||||
* @var string A unique alias to identify this widget.
|
||||
|
|
@ -179,6 +179,14 @@ abstract class WidgetBase
|
|||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the controller using this widget.
|
||||
*/
|
||||
public function getController()
|
||||
{
|
||||
return $this->controller;
|
||||
}
|
||||
|
||||
//
|
||||
// Session management
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue