コード例 #1
0
 public function getBody()
 {
     $batch = new LinkBatch();
     $this->mResult->rewind();
     while ($row = $this->mResult->fetchObject()) {
         $batch->addObj(Title::makeTitleSafe(NS_CATEGORY, $row->cat_title));
     }
     $batch->execute();
     $this->mResult->rewind();
     return parent::getBody();
 }
コード例 #2
0
 public function getBody()
 {
     $batch = new LinkBatch();
     $this->mResult->rewind();
     foreach ($this->mResult as $row) {
         $batch->addObj(Title::makeTitleSafe(NS_CATEGORY, $row->cat_title));
     }
     $batch->execute();
     $this->mResult->rewind();
     return parent::getBody();
 }
コード例 #3
0
 function getBody()
 {
     if (!$this->mQueryDone) {
         $this->doQuery();
     }
     $batch = new LinkBatch();
     $this->mResult->rewind();
     while ($row = $this->mResult->fetchObject()) {
         $batch->addObj(Title::makeTitleSafe(NS_CATEGORY, $row->cl_to));
     }
     $batch->execute();
     $this->mResult->rewind();
     return parent::getBody();
 }
コード例 #4
0
 function getBody()
 {
     if (!$this->mQueryDone) {
         $this->doQuery();
     }
     $this->mResult->rewind();
     $batch = new LinkBatch();
     foreach ($this->mResult as $row) {
         $batch->addObj(Title::makeTitleSafe(NS_USER, $row->user_name));
     }
     $batch->execute();
     $this->mResult->rewind();
     return parent::getBody();
 }
コード例 #5
0
 function getBody()
 {
     if (!$this->mQueryDone) {
         $this->doQuery();
     }
     return parent::getBody();
 }