Pagination Library Extension Hooks
pagination_create($this, $count)
| Parameter | Type | Description |
|---|---|---|
| $this | Object |
Currently instantiated object for EE_Pagination class, remember to call this with a reference if you want to modify the object. |
| $count | Int |
Number of items being paginated |
| Returns | Void |
Rewrite the pagination function in the Pagination library and possible expand the types of pagination available.
How it’s called:
$this->extensions->call('pagination_create', $this, $count);
if ($this->extensions->end_script === TRUE) return;
pagination_fetch_data($this)
| Parameter | Type | Description |
|---|---|---|
| $this | Object |
Currently instantiated object for EE_Pagination class, remember to call |
| Returns | Void |
Works with the ‘pagination_create’ hook so you can modify rendered {paginate} tagdata.
How it’s called:
$this->extensions->call('pagination_fetch_data', $this);
if ($this->extensions->end_script === TRUE) return;