add action data (currently not used)

This commit is contained in:
Uwe Steinmann 2019-11-07 19:55:55 +01:00
parent 9820d9b7f3
commit b9bbb8739f

View File

@ -36,6 +36,16 @@ require_once("SeedDMS/Preview.php");
*/
class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
function data() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$jsondata = array('name'=>$folder->getName());
header('Content-Type: application/json');
echo json_encode($jsondata);
} /* }}} */
function getAccessModeText($defMode) { /* {{{ */
switch($defMode) {
case M_NONE: