public function ajaxGetArticleAction() { $this->_helper->Ajax->disableLayout($this); $articleID = $this->_getParam('articleID', 0); $array = $this->_articles->getArticleData($articleID); echo json_encode($array); }