<?php

/**
 * Tab switching controller
 *
 * Dispatches inner view to Tab specific action.
 *
 * @version DR1.4.2
 */
class TabFolderCtrl extends Ctrl {



	public function switchTab($viewId, $action, $args = array()) {
		$inner = new TabView($viewId);
		$inner->add(ActionService::execAction($action, $args));
		return $inner;
	}



} // class TabFolderCtrl

?>