// added title for helperlist, admincontroller factorisation of helper list usage

This commit is contained in:
mMarinetti
2011-10-31 16:35:45 +00:00
parent 3530d42344
commit dee423c494
2 changed files with 31 additions and 4 deletions
+4
View File
@@ -99,6 +99,9 @@ class HelperListCore extends Helper
'id_carrier' => 'id_carrier'
);
/** @var if not null, a title will be added on that list */
public $title = null;
/** @var boolean ask for simple header : no filters, no paginations and no sorting */
public $simple_header = false;
@@ -513,6 +516,7 @@ class HelperListCore extends Helper
'action' => $action,
'page' => $page,
'simple_header' => $this->simple_header,
'title' => $this->title,
'total_pages' => $total_pages,
'selected_pagination' => $selected_pagination,
'pagination' => $this->_pagination,