metadata filelist
This commit is contained in:
parent
69ad57801c
commit
5cd73a7480
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
class FilelistController extends Zend_Controller_Action {
|
||||
function indexAction() {
|
||||
$uuid=$this->_request->getParam('uuid');
|
||||
$filelist=new FilelistTable(array('db'=>'filelist'));
|
||||
$adapter=$filelist->getAdapter();
|
||||
$db=$adapter->query("select file_name,file_path from westdc_fileinfo where meta_uuid='$uuid'");
|
||||
$files=$db->fetchAll();
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender();
|
||||
echo Zend_Json::encode($files);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue