1 <?php
defined('IN_CMS') or die('No direct access allowed.');
3 class Comments_controller
{
5 public function status() {
6 Response
::header('Content-Type', 'application/json');
8 // process post request
9 if(Input
::method() == 'POST') {
10 Comments
::update_status();
14 public function update() {
15 Response
::header('Content-Type', 'application/json');
17 // process post request
18 if(Input
::method() == 'POST') {
23 public function remove() {
24 Response
::header('Content-Type', 'application/json');
26 // process post request
27 if(Input
::method() == 'POST') {