[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-28 09:37:49 +02:00
parent 068da6f87c
commit 967fc98693
6 changed files with 73 additions and 0 deletions
@@ -93,6 +93,18 @@ class AdminCartsControllerCore extends AdminController
parent::__construct();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Carts');
$this->page_header_toolbar_btn['export_cart'] = array(
'href' => self::$currentIndex.'&exportcart&token='.$this->token,
'desc' => $this->l('Export carts'),
'icon' => 'process-icon-export'
);
parent::initPageHeaderToolbar();
}
public function renderView()
{
if (!($cart = $this->loadObject(true)))