Location: PHPKode > projects > blog > blog/blog_reply.php
<?php
/**
 *
 * @filesource
 * @copyright		Copyright 2008-2009, lesorb, Inc.
 * @link			http://www.lesorb.cn Blog Project
 * @package			app
 * @subpackage		app.models
 * @version			$Revision: 1.1 $
 * @author			WangLiJun
 * @lastmodified	$2009-5-5$
 */
/**
 * BlogReply 模型类
 *
 * 商户博客(日志)回复模型类,主要用于 blog_replies table 操作
 */
class BlogReply extends AppModel {
/**
 * 模型名:BlogReply
 *
 * @var string
 * @access public
 */
	var $name = 'BlogReply';
/**
 * BlogReply 模型 belongsTo 关联表
 *
 * The Associations below have been created with all possible keys, those that are not needed can be removed
 *
 * @var array
 * @access public
 */
	var $belongsTo = array(
			'User' => array('className' => 'User',
								'foreignKey' => 'user_id',
								'conditions' => '',
								'fields' => array('id','username','score','face','commentNum','friendNum','comuserNum'),
								'order' => ''
			)
	);

	
}
?>
Return current item: blog