diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-05-17 17:20:06 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-05-17 17:20:06 -0700 |
commit | 251349acaf0f8fed47aad1610b5b627a7e684f27 (patch) | |
tree | 933268c87ea64e432cf511a0f77133380490976f /htdocs/src/PostIterator.inc.php | |
parent | c7ede0038e98b386cbd1ef333d89faa2568b1cb1 (diff) |
Added category buttons and categories page
Diffstat (limited to 'htdocs/src/PostIterator.inc.php')
-rw-r--r-- | htdocs/src/PostIterator.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/htdocs/src/PostIterator.inc.php b/htdocs/src/PostIterator.inc.php index 52eb750..cced79b 100644 --- a/htdocs/src/PostIterator.inc.php +++ b/htdocs/src/PostIterator.inc.php @@ -33,6 +33,10 @@ class PostIterator implements Iterator { $this->where[] = "source_id='$source'"; } + public function filterCategory($category_id) { + $this->where[] = "category_id='$category_id'"; + } + public function orderBy($order) { $this->order = $order; } |