more cleanup - start on ajax
This commit is contained in:
parent
c3fd5ed732
commit
ba8da761e6
11 changed files with 104 additions and 20 deletions
5
boot.php
5
boot.php
|
@ -96,9 +96,14 @@ class App {
|
|||
$this->path = ltrim(trim($p),'/');
|
||||
}
|
||||
|
||||
function get_path() {
|
||||
return $this->path;
|
||||
}
|
||||
|
||||
function set_pager_total($n) {
|
||||
$this->pager['total'] = intval($n);
|
||||
}
|
||||
|
||||
function set_pager_itemspage($n) {
|
||||
$this->pager['itemspage'] = intval($n);
|
||||
$this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue