function TopicReviewIterator($topic, &$replies, &$user) { global $_DBA, $_QUERYPARAMS, $_USERGROUPS; $this->qp = $_QUERYPARAMS; $this->dba =& $_DBA; $this->groups = $_USERGROUPS; $this->result =& $replies; $this->user =& $user; parent::FAArrayIterator(array($topic)); }
function TopicIterator($topic, $show_replies = TRUE) { global $_DBA, $_QUERYPARAMS, $_USERGROUPS, $_USERFIELDS; $this->qp = $_QUERYPARAMS; $this->sr = (bool) $show_replies; $this->dba =& $_DBA; $this->groups = $_USERGROUPS; $this->fields = $_USERFIELDS; parent::FAArrayIterator(array($topic)); }
function AllForumsIterator($forums) { parent::FAArrayIterator($forums); }