Provides interface to go to any destination within app.
- Get the source code:
- Move
GotoPanel.phpto your libs directory. - Add
"Clevisaci/GotoPanel": "*"to yourcomposer.json.
- Move
- Register
GotoPanelas component (e.g. inBasePresenter). - Force initialization in
startup().
protected function startup()
{
parent::startup();
$this['gotoPanel'];
}
protected function createComponentGotoPanel()
{
return new GotoPanel;
}