public function storeRelatedTopicsInDB($relatedTopicURLs) { $rp = new WallRelatedPages(); $rp->setWithURLs($this->getId(), $relatedTopicURLs); }
public function storeRelatedTopicsInDB($relatedTopicURLs) { wfRunHooks('WallBeforeStoreRelatedTopicsInDB', array($this->getTopParentId(), $this->getTitle()->getArticleId(), $this->getTitle()->getNamespace())); $rp = new WallRelatedPages(); $rp->setWithURLs($this->getId(), $relatedTopicURLs); wfRunHooks('WallAfterStoreRelatedTopicsInDB', array($this->getTopParentId(), $this->getTitle()->getArticleId(), $this->getTitle()->getNamespace())); }