<?php
/*
　* @$Id
　* @
　* @Ver: 2.0
　* @Create: 2009-11-18 8:10
　* @Modify: 
　* @Author: CPWEB http://www.cpweb.net.cn
　* @Copyright (C) 2008 www.cpweb.net.cn. All Rights Reserved.
　* @License CPWEB is free software and use is subject to license terms
　*/
class ChannelViewModel extends ViewModel{
	protected $viewFields = array(
		'Channel'=>array('id','name','folder','message','type_id','model_id','opens','navigation','displayorder','seotitle','seokeywords','seodescription'),
		'Model'=>array('name'=>'model_name','address','type_id'=>'model_type_id','_on'=>'Channel.model_id=Model.id'),
		'Type'=>array('type_values','_on'=>'Model.type_id=Type.id'),
	);
}

?>