* Dynamically create the button type array based on the configuration options. * This will only happen if the paging type is not defined.
(opts)
| 12299 | * This will only happen if the paging type is not defined. |
| 12300 | */ |
| 12301 | function _pagingDynamic(opts) { |
| 12302 | var out = [] |
| 12303 | |
| 12304 | if (opts.numbers) { |
| 12305 | out.push("numbers") |
| 12306 | } |
| 12307 | |
| 12308 | if (opts.previousNext) { |
| 12309 | out.unshift("previous") |
| 12310 | out.push("next") |
| 12311 | } |
| 12312 | |
| 12313 | if (opts.firstLast) { |
| 12314 | out.unshift("first") |
| 12315 | out.push("last") |
| 12316 | } |
| 12317 | |
| 12318 | return out |
| 12319 | } |
| 12320 | |
| 12321 | function _pagingDraw(settings, host, opts) { |
| 12322 | if (!settings._bInitComplete) { |
nothing calls this directly
no outgoing calls
no test coverage detected