
Public Member Functions | |
| init (&$toolbar) | |
| initialize toolbar in params['toolbar'] | |
| next ($title= ' > ', $options=array(), $disabledTitle= ' > ', $disabledOption=array()) | |
| Return the link (html anchor tag) for the next page. | |
| prev ($title= '< ', $options=array(), $disabledTitle= '< ', $disabledOption=array()) | |
| Return the link (html anchor tag) for the previous page. | |
| first ($title= '|< ', $options=array(), $disabledTitle= '|< ', $disabledOption=array()) | |
| Return the link (html anchor tag) for the first page. | |
| last ($title= ' >| ', $options=array(), $disabledTitle= ' >| ', $disabledOption=array()) | |
| Return the link (html anchor tag) for the last page. | |
| size () | |
| Return number of records found. | |
| current () | |
| Return current page. | |
| pages () | |
| Return total number of pages. | |
| changeDim ($htmlAttributes=array(), $options=array(1, 5, 10, 20, 50, 100)) | |
| View page size html select tag. | |
| changeDimSelect ($selectId, $htmlAttributes=array(), $options=array(1, 5, 10, 20, 50, 100)) | |
| changePage ($htmlAttributes=array(), $items=5) | |
| Change selected page. | |
| changePageSelect ($selectId, $htmlAttributes=array(), $items=5) | |
| order ($field, $title="", $image="", $htmlAttributes=array(), $dir=null) | |
| Change list order. | |
| getPassedArgs ($otherParams=array()) | |
Public Attributes | |
| $helpers = array('Form', 'Html') | |
| $tags | |
Definition at line 31 of file be_toolbar.php.
| BeToolbarHelper.init | ( | &$ | toolbar | ) |
initialize toolbar in params['toolbar']
| array | $toolbar |
Definition at line 50 of file be_toolbar.php.
| BeToolbarHelper.next | ( | $ | title = ', |
|
| ' | , | |||
| $ | options = array(), |
|||
| $ | disabledTitle = ', |
|||
| ' | , | |||
| $ | disabledOption = array() | |||
| ) |
Return the link (html anchor tag) for the next page.
| string | $title Label link | |
| array | $option HTML attributes for link | |
| string | $disabledTitle Label link disabled | |
| array | $disabledOption HTML attributes for link disabled (if present, insert a tag SPAN) |
Definition at line 63 of file be_toolbar.php.
| BeToolbarHelper.prev | ( | ) |
Return the link (html anchor tag) for the previous page.
| string | $title Label link | |
| array | $option HTML attributes for link | |
| string | $disabledTitle Label link disabled | |
| array | $disabledOption HTML attributes for link disabled (if present, insert a tag SPAN) |
Definition at line 76 of file be_toolbar.php.
| BeToolbarHelper.first | ( | ) |
Return the link (html anchor tag) for the first page.
| string | $title Label link | |
| array | $option HTML attributes for link | |
| string | $disabledTitle Label link disabled | |
| array | $disabledOption HTML attributes for link disabled (if present, insert a tag SPAN) |
Definition at line 89 of file be_toolbar.php.
| BeToolbarHelper.last | ( | $ | title = ', |
|
| | ' | , | |||
| $ | options = array(), |
|||
| $ | disabledTitle = ', |
|||
| | ' | , | |||
| $ | disabledOption = array() | |||
| ) |
Return the link (html anchor tag) for the last page.
| string | $title Label link | |
| array | $option HTML attributes for link | |
| string | $disabledTitle Label link disabled | |
| array | $disabledOption HTML attributes for link disabled (if present, insert a tag SPAN) |
Definition at line 102 of file be_toolbar.php.
| BeToolbarHelper.size | ( | ) |
| BeToolbarHelper.current | ( | ) |
| BeToolbarHelper.pages | ( | ) |
| BeToolbarHelper.changeDim | ( | $ | htmlAttributes = array(), |
|
| $ | options = array(1, 5, 10, 20, 50, 100) | |||
| ) |
View page size html select tag.
| array | $htmlAttributes associative Array with HTML attributes | |
| arry | $options Array. Default: 1, 5, 10,20, 50, 100 |
Definition at line 136 of file be_toolbar.php.
| BeToolbarHelper.changePage | ( | $ | htmlAttributes = array(), |
|
| $ | items = 5 | |||
| ) |
Change selected page.
| array | $htmlAttributes associative Array with HTML attributes | |
| arry | $items number of available pages, before and after current. Default: 5 |
Definition at line 177 of file be_toolbar.php.
| BeToolbarHelper.order | ( | $ | field, | |
| $ | title = "", |
|||
| $ | image = "", |
|||
| $ | htmlAttributes = array(), |
|||
| $ | dir = null | |||
| ) |
Change list order.
| string | $field Field for the "order by" | |
| string | $title Title for the link. Default: field name | |
| array | $htmlAttributes associative Array with HTML attributes | |
| boolean | $dir Se presente impone la direzione. 1: ascending, 0: descending otherwise, !(<current value>="">) |
Definition at line 244 of file be_toolbar.php.
| BeToolbarHelper.$tags |
Initial value:
array(
'with_text' => '<span %s >%s</span>',
'without_text' => '<span %s />'
)
Definition at line 39 of file be_toolbar.php.
BEdita 3.0.1 betula