增加json输出滚动信息的功能

This commit is contained in:
Li Jianxuan 2011-11-08 10:08:27 +00:00
parent b515f8a0e0
commit a44effeba9
1 changed files with 309 additions and 279 deletions

View File

@ -15,6 +15,36 @@ class HeiheController extends DataController
$this->view->meatdata=$this->db->fetchAll($sql);
}
function changelistAction()
{
$this->_helper->layout->disableLayout();
$this->_helper->viewRenderer->setNoRender();
$rows = array();
$rows[]=array(
'uuid'=>'ca50f052-b409-48eb-a18b-1787e8d19062',
'src' =>'/images/water/forest.png',
'description' => '据其空间坐标系统主要包括了以下三个类型WGS84坐标系ALBERS坐标系高斯坐标系。其中WGS84',
'title' => 'xxxxxxxxxx'
);
$rows[]=array(
'uuid'=>'ca50f052-b409-48eb-a18b-1787e8d19062',
'src' =>'/images/water/water.jpg',
'description' => '据其空间坐标系统主要包括了以下三个类型WGS84坐标系ALBERS坐标系高斯坐标系。其中WGS84',
'title' => 'xxxxxxxxxx'
);
$rows[]=array(
'uuid'=>'ca50f052-b409-48eb-a18b-1787e8d19062',
'src' =>'/images/water/doppler.jpg',
'description' => '据其空间坐标系统主要包括了以下三个类型WGS84坐标系ALBERS坐标系高斯坐标系。其中WGS84',
'title' => 'xxxxxxxxxx'
);
echo Zend_Json::encode($rows);
exit();
}
/*
* 数据浏览
*/