/** * (non-PHPdoc) * @see Lampcms\Controllers.Viewquestions::makeQlistBody() */ protected function makeQlistBody() { /** * @todo pass false to loop * but we MUST be sure that we have consistent * field names in QUESTION_TAGS collection and that * they are always in the same order, which would be * the case normally as long as they are inserted using * the same class * */ $sQdivs = \tplTagslist::loop($this->Cursor); $sQlist = \tplQlist::parse(array($this->typeDiv, $sQdivs . $this->pagerLinks, '', $this->notAjaxPaginatable), false); $this->aPageVars['body'] = $sQlist; /** * In case of Ajax can just send out sQlist as result */ return $this; }
/** * (non-PHPdoc) * * @see Lampcms\Controllers.Viewquestions::makeQlistBody() * @return \Lampcms\Controllers\Viewqtags */ protected function makeQlistBody() { $sQdivs = \tplTagslist::loop($this->Cursor); $sQlist = \tplQlist::parse(array($this->typeDiv, $sQdivs . $this->pagerLinks, '', $this->notAjaxPaginatable), false); $this->aPageVars['body'] = $sQlist; /** * In case of Ajax can just send out sQlist as result */ return $this; }