/**
* object vars
* -----------------------------------------------------------------------------
* query: URL quiery to add to every pager link
* records: Current page number
* scroll: Number of page numbers between arrow buttons
* registers: Register by page, if empty assign default value
* current: Current page or 1 if empty
* size: Size of pager buttons (lg|sm) - empty for normal size.
* first: Icon code for first record (overwrite defaults)
* previous: Icon code for previous record (overwrite defaults)
* next: Icon code for next record (overwrite defaults)
* last: Icon code for last record (overwrite defaults)
* icons: Font icon code (glyphicon|fa|mdi) - Default using unicode chars
* pad: Can be supplied as conf option or getPager() and showPager() parameter
* If numeric, pager is left padded, if "right" pager is right aligned
* margin_top: Margin space above the bar (default 10px)
* margin_bottom: Margin space below the bar (default 10px)
* disable: Disable pager if true and show all pages
* limitStart/limit_start: Current value of limitStart() function
* dataset: object or array with a data set to paginate
* data: current page data when using dataset
* preserve_keys: true to preserve dataset keys
* return_object: true to return datasetr as object
* pages_count_txt: Text with %s vars to generate page count with sprintf
* records_count_txt: Text with %s vars to generate records count with sprintf
* pages_count: Text with current number page of total pages
* records_count: Text with number of records of current page from total records
* pageid: add a page id index, i.e, page#pageid
*
*
* functions
* -----------------------------------------------------------------------------
* initPager($conf) - Initialize pager with conf array
* object2Array() - Recursively convert any object to array
* limitStart() - SQL star record for LIMIT clause
* getPager() - Generate the pager
* showPager() - Show pager
*
*/