From ba8da761e669b22e16e1075e0e1e79d8b458af3e Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 19 Jul 2010 22:52:31 -0700 Subject: more cleanup - start on ajax --- boot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 56d85f638..5efa9a24f 100644 --- a/boot.php +++ b/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']; -- cgit v1.2.3