diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-19 22:52:31 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-19 22:52:31 -0700 |
commit | ba8da761e669b22e16e1075e0e1e79d8b458af3e (patch) | |
tree | 61c82c4cb260a88e4d8659a976f2bfb50035eb18 /boot.php | |
parent | c3fd5ed73202f4dd17dda87ac968b0db4f44d423 (diff) | |
download | volse-hubzilla-ba8da761e669b22e16e1075e0e1e79d8b458af3e.tar.gz volse-hubzilla-ba8da761e669b22e16e1075e0e1e79d8b458af3e.tar.bz2 volse-hubzilla-ba8da761e669b22e16e1075e0e1e79d8b458af3e.zip |
more cleanup - start on ajax
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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']; |