<?php
class Diymen_classModel extends Model{
	protected $_validate = array(
			array('title','require','菜单主题中必须填写',1),
			array('keyword','require','相册详细内容必须填写',1),

	 );
	protected $_auto = array (		
		array('token','getToken',Model:: MODEL_BOTH,'callback'),
	);
	function getToken(){	
		return $_SESSION['token'];
	}
}

?>
