增加json输出滚动信息的功能
This commit is contained in:
parent
b515f8a0e0
commit
a44effeba9
|
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
* 数据浏览
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue