Location: PHPKode > projects > Anchor CMS > anchorcms-anchor-cms-b327dd9/system/admin/controllers/comments.php
<?php defined('IN_CMS') or die('No direct access allowed.');

class Comments_controller {

	public function status() {
		Response::header('Content-Type', 'application/json; charset=utf-8');

		// process post request
		if(Input::method() == 'POST') {
			Comments::update_status();
		}
	}

	public function update() {
		Response::header('Content-Type', 'application/json; charset=utf-8');

		// process post request
		if(Input::method() == 'POST') {
			Comments::update();
		}
	}

	public function remove() {
		Response::header('Content-Type', 'application/json; charset=utf-8');

		// process post request
		if(Input::method() == 'POST') {
			Comments::remove();
		}
	}

}
Return current item: Anchor CMS