Пример #1
0
 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));
 }
Пример #2
0
 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));
 }
Пример #3
0
 function AllForumsIterator($forums)
 {
     parent::FAArrayIterator($forums);
 }