Helper function for "title tabs", still unhappy with this solution
This commit is contained in:
parent
7ff4f55737
commit
154b4722f5
|
@ -473,6 +473,14 @@ class Monitoring_ListController extends MonitoringController
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function addTitleTab($action)
|
||||||
|
{
|
||||||
|
$this->getTabs()->add($action, array(
|
||||||
|
'title' => ucfirst($action),
|
||||||
|
'url' => Url::fromPath('monitoring/list/' . $action)
|
||||||
|
))->activate($action);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return all tabs for this controller
|
* Return all tabs for this controller
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue