/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//override pagination variable for custom pagination that adds distance $this->set('locations', $this->paginate('Location', $conditions));