Location: PHPKode > projects > SimpleHRM > simplehrm-1.0-beta1/simplehrm-1.0-beta1/templates/default/admin/module/module_txt/admin_manager.txt
class admin_[module] extends [module]_manager {
	
	function admin_[module](& $smarty, & $_output, & $_input) {
		$this->[module]_manager($smarty, $_output, $_input, '[module]');
		$this->obj_[module] = new [module];
		$this->[module]_bl = new [module]_bl;
	}
	function get_module_name() {
		return '[module]';
	}
	function get_manager_name() {
		return '[module]';
	}
	function manager_error_handler() {
		$call = "_".$this->_input['choice'];
		if (function_exists($call)) {
			$call($this);
		} else {
			print "<h1>Put your own error handling code here</h1>";
		}
	}
}		
Return current item: SimpleHRM