Esempio Online Anteprima
Sorgente PHP: examples/tree/filesystemtree.php
Sorgente XML: examples/tree/filesystemtree.xml
Un esempio sull'utilizzo dell'oggetto tree per la visualizzazione un filesystem
<?php
/**
* PHP Source File
* @author Alyx Association <info@alyx.it>
* @version 1.0
* @copyright Alyx Association 2008-2010
* @license GNU Public License
*/
require_once("./../../class/system.class.php");
$system = new ClsSystem(true);
$xml = new ClsXML("filesystemtree.xml");
$event = new ClsEvent($xml);
$event->managerRequest();
?>
<?xml version="1.0" encoding="utf-8"?>
<jamp>
<page typeobj="page" title="JAMP - Esempio tree collegata a un filesystem" icon="../../favicon.ico" loaddata="true">
<ds1 typeobj="ds" conn="conn1" dskey="path" scope="base" base="../.." alias="jamp" />
<tree1 typeobj="tree" dsobj="ds1" refresh="brance" width="300px" height="autosize" />
</page>
</jamp>