<?php
/* versionbeta:name
 * versionbeta:number
 * versionbeta:site
 * versionbeta:pubtime
 */
class ctl_other_link extends mod_other_link {

	//默认浏览页
	function act_default() {
		$this->arr_group = tab_other_link::get_perms("group");
		$group = fun_get::get("group");
		if(empty($group)) $group = $this->arr_group[0];
		$this->group = $group;
		$this->arr_list = $this->sql_list($group);
		return $this->get_view(); //显示页面
	}
	//保存操作,返回josn数据
	function act_save() {
		$arr_return = $this->on_save();
		return fun_format::json($arr_return);
	}
	//保存操作,返回josn数据
	function act_delete() {
		$arr_return = $this->on_delete();
		return fun_format::json($arr_return);
	}

}