Location: PHPKode > projects > Anchor CMS > anchorcms-anchor-cms-35572c6/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');

		// process post request
		if(Input::method() == 'POST') {
			Comments::update_status();
		}
	}
	
	public function update() {
		Response::header('Content-Type', 'application/json');

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

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

		// process post request
		if(Input::method() == 'POST') {
			Comments::remove();
		}
	}
	
}
Return current item: Anchor CMS