Property | Type | Description | |
---|---|---|---|
$tpl | A reference to the current template |
Property | Type | Description | |
---|---|---|---|
$header | The header object | ||
$rights | array | Required rights needed for this widget. |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | The constructor will set some properties, it populates the parameter array with urldecoded values for ease of use. | |
getColumn ( ) : string | Get the column | |
getPosition ( ) : mixed | Get the position | |
getTemplatePath ( ) : mixed | Get the template path | |
isAllowed ( ) : boolean | Is this widget allowed for this user? | |
redirect ( string $url, integer $code = 302 ) | Redirect to a given URL |
Method | Description | |
---|---|---|
display ( string $template = null ) | Display, this wil output the template to the browser If no template is specified we build the path form the current module and action | |
setColumn ( string $column ) | Set column for the widget | |
setPosition ( integer $position ) | Set the position for the widget |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
public getTemplatePath ( ) : mixed | ||
return | mixed |
protected setPosition ( integer $position ) | ||
$position | integer | The position for the widget. |
protected Header,Backend\Core\Engine $header | ||
return |
protected array $rights | ||
return | array |