public function deleteAction() { $this->disableLayout(); $this->setNoRender(); $request = $this->getRequest(); if (!$request->isPost()) { $this->getResponse()->setBody('RESULT_NOT_OK'); } $pageId = $request->getPost('page_id'); Modules_Core_Services_Page::delete($pageId); $this->getResponse()->setBody('RESULT_OK'); }