<?php

class MoreCtrl extends Ctrl {



	public function toggle($id) {
		$more = new More($id);
		if ($more->isExpanded()) {
			$more->colapse();
			return $this->response->More->colapse($id);
		} else {
			$more->expand();
			return $this->response->More->expand($id);
		}
	}



	public function expand($id) {
		$more = new More($id);
		$more->expand();
		return $this->response->More->expand($id);
	}



	public function colapse($id) {
		$more = new More($id);
		$more->colapse();
		return $this->response->More->colapse($id);
	}



} // class MoreCtrl

?>