コード例 #1
0
 function write($path)
 {
     $disp = new FileDisplay();
     $disp->setValue('root_node', $this->root_node);
     $disp->displayPage('xml_doc.xml', $path);
 }
コード例 #2
0
<?php

require_once './classes/fileDisplay.class.php';
$fileDisplay = new FileDisplay();
// initiate new object
$activefolder = $_REQUEST['activefolder'];
#customise presentation
$fileDisplay->showperms = false;
$fileDisplay->showsize = false;
$fileDisplay->showmodified = false;
$smarty->assign('activefolder', $activefolder);
$smarty->assign('fileDisplay', $fileDisplay->showContents($activefolder));
#$fileDisplay->showContents($activefolder);
$content = $smarty->fetch('./security/tm0.security.assign_object.tpl.html');
?>