public function getCategorisedArticles($journalId, $categoryId) { $this->mArticles = Journal::GetCategorisedArticles($journalId, $categoryId); echo json_encode($this->mArticles); }