示例#1
0
 function execute($query)
 {
     $this->setHeaders();
     list($limit, $offset) = wfCheckLimits();
     $rep = new TemplatesPage();
     $rep->execute($query);
 }
 function execute($query)
 {
     $this->setHeaders();
     list($limit, $offset) = $this->getRequest()->getLimitOffset();
     $rep = new TemplatesPage();
     $rep->execute($query);
 }