<?php
Wind::import('LIB:compile.acloud.collect.AbstractAcloudCollect');
/**
 * 页面收集页面
 *
 * @author xiaoxia.xu <xiaoxia.xuxx@aliyun-inc.com>
 * @copyright ©2003-2103 phpwind.com
 * @license http://www.windframework.com
 * @version $Id: PwAcloudReadCollect.php 7049 2012-03-29 03:20:38Z liusanbian $
 * @package wekit.compile.acloud.collect
 */
class PwAcloudReadCollect extends AbstractAcloudCollect {
	
	/* (non-PHPdoc)
	 * @see AbstractCollect::collect()
	 */
	public function collect(PwAcloudDataMapper $dataMapper, $vars) {
		$dataMapper->setFid($vars['pwforum']->fid);
		$dataMapper->setTitle($vars['threadInfo']['subject']);
		$dataMapper->setTid($vars['tid']);
	}
}