public
|
#
init( array & $toolbar )
initialize toolbar in params['toolbar']
initialize toolbar in params['toolbar']
Parameters
|
public
string
|
#
next( string $title = ' > ', array $options = array(), string $disabledTitle = ' > ', array $disabledOption = array() )
Return the link (html anchor tag) for the next page
Return the link (html anchor tag) for the next page
Parameters
- $title
- Label link
- $options
- $option HTML attributes for link
- $disabledTitle
- Label link disabled
- $disabledOption
HTML attributes for link disabled
(if present, insert a tag SPAN)
Returns
string
|
public
string
|
#
prev( string $title = ' < ', array $options = array(), string $disabledTitle = ' < ', array $disabledOption = array() )
Return the link (html anchor tag) for the previous page
Return the link (html anchor tag) for the previous page
Parameters
- $title
- Label link
- $options
- $option HTML attributes for link
- $disabledTitle
- Label link disabled
- $disabledOption
HTML attributes for link disabled
(if present, insert a tag SPAN)
Returns
string
|
public
string
|
#
first( string $title = ' |< ', array $options = array(), string $disabledTitle = ' |< ', array $disabledOption = array() )
Return the link (html anchor tag) for the first page
Return the link (html anchor tag) for the first page
Parameters
- $title
- Label link
- $options
- $option HTML attributes for link
- $disabledTitle
- Label link disabled
- $disabledOption
HTML attributes for link disabled
(if present, insert a tag SPAN)
Returns
string
|
public
string
|
#
last( string $title = ' >| ', array $options = array(), string $disabledTitle = ' >| ', array $disabledOption = array() )
Return the link (html anchor tag) for the last page
Return the link (html anchor tag) for the last page
Parameters
- $title
- Label link
- $options
- $option HTML attributes for link
- $disabledTitle
- Label link disabled
- $disabledOption
HTML attributes for link disabled
(if present, insert a tag SPAN)
Returns
string
|
public
mixed
|
#
size( )
Return number of records found
Return number of records found
Returns
mixed int|string
|
public
mixed
|
#
current( )
Return current page
Returns
mixed int|string
|
public
mixed
|
#
pages( )
Return total number of pages
Return total number of pages
Returns
mixed int|string
|
public
string
|
#
changeDim( array $htmlAttributes = array(), array $options = array(1, 5, 10, 20, 50, 100) )
View page size html select tag
View page size html select tag
Parameters
- $htmlAttributes
- associative Array with HTML attributes
- $options
- Array. Default: 1, 5, 10,20, 50, 100
Returns
string
|
public
string
|
#
changeDimSelect( string $selectId, array $htmlAttributes = array(), array $options = array(1 => 1, 5 => 5, 10 => 10, 20 => 20, 50 => 50, 100 => 100) )
return dropdown list with changed dimension
return dropdown list with changed dimension
Parameters
- $selectId
- $htmlAttributes
- $options
Returns
string
|
public
string
|
#
changePage( array $htmlAttributes = array(), array $items = 5 )
Change selected page
Parameters
- $htmlAttributes
- associative Array with HTML attributes
- $items
- number of available pages, before and after current. Default: 5
Returns
string
|
public
string
|
#
changePageSelect( string $selectId, array $htmlAttributes = array(), array $items = 5 )
Change page in a dropdown list of results
Change page in a dropdown list of results
Parameters
- $selectId
- $htmlAttributes
- $items
Returns
string
|
public
string
|
#
order( string $field, string $title = "", array $image = "", boolean $htmlAttributes = array(), $dir = null )
Change list order
Parameters
- $field
- Field for the "order by"
- $title
- Title for the link. Default: field name
- $image
- $htmlAttributes associative Array with HTML attributes
- $htmlAttributes
$dir Se presente impone la direzione. 1: ascending, 0: descending
otherwise, !()
- $dir
Returns
string
|
private
string
|
#
_scroll( string $where, string $title, array $options, string $disabledTitle, array $disabledOption )
Return the link (html anchor tag) for the page $where
Return the link (html anchor tag) for the page $where
Parameters
- $where
- page target (next, prev, first, last)
- $title
- Label link
- $options
- $option HTML attributes for link
- $disabledTitle
- Label link disabled
- $disabledOption
HTML attributes for link disabled
(if present, insert a tag SPAN)
Returns
string
|
private
string
|
#
_output( string $text, array $options )
return output for text
Parameters
Returns
string
|
public
array
|
#
getPassedArgs( array $otherParams = array() )
get array arguments
Parameters
Returns
array
|
private
|
#
getUrl( unknown_type $data )
Fix the parameter $data to correct work with plugin modules.
It must be manually removed from the data array
Enter description here ...
Parameters
|