public function onCpanelsBrowse()
{
if ($this->container->platform->isBackend() || $this->renderFrontendSubmenu) {
$this->renderSubmenu();
}
if (!$this->container->platform->isBackend() && !$this->renderFrontendButtons) {
return;
}
$option = $this->container->componentName;
JToolBarHelper::title(JText::_(strtoupper($option)), str_replace('com_', '', $option));
if (!$this->isDataView()) {
return;
}
JToolBarHelper::preferences($option);
}