Location: PHPKode > scripts > QXML > qxml/data.php
<?php

$caption = "Vacation";

$nodes = array();

$nodes = QSet::set($nodes, "@attributes.dateformat", "yyyy-mm-dd");
$nodes = QSet::set($nodes, "@attributes.hoverCapBorderColor", "2222ff");
$nodes = QSet::set($nodes, "@attributes.hoverCapBgColor", "e1f5ff");
$nodes = QSet::set($nodes, "@attributes.ganttWidthPercent", 60);
$nodes = QSet::set($nodes, "@attributes.ganttLineAlpha", 80);
$nodes = QSet::set($nodes, "@attributes.canvasBorderColor", "024455");
$nodes = QSet::set($nodes, "@attributes.canvasBorderThickness", 0);
$nodes = QSet::set($nodes, "@attributes.gridBorderColor", "4567aa");
$nodes = QSet::set($nodes, "@attributes.gridBorderAlpha", 20);

$nodes = QSet::set($nodes, "hide@address.com", "4567aa");

$nodes = QSet::set($nodes, "hide@address.com", "2008-01-01");
$nodes = QSet::set($nodes, "hide@address.com", "2008-12-31");
$nodes = QSet::set($nodes, "hide@address.com", "center");
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", 14);
$nodes = QSet::set($nodes, "hide@address.com", $caption);

$nodes = QSet::set($nodes, "hide@address.com", "4567aa");

$nodes = QSet::set($nodes, "hide@address.com", "2008-01-01");
$nodes = QSet::set($nodes, "hide@address.com", "2008-12-31");
$nodes = QSet::set($nodes, "hide@address.com", "center");
$nodes = QSet::set($nodes, "hide@address.com", "Verdana");
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", 11);
$nodes = QSet::set($nodes, "hide@address.com", "Months");

$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "ff0000");

for($i=0;$i<12;$i++){
	$nodes = QSet::set($nodes, "categories.2.category.".$i."hide@address.com", "2008-".str_pad($i,2,"0", STR_PAD_LEFT)."-01");
	$nodes = QSet::set($nodes, "categories.2.category.".$i."hide@address.com", "2008-".str_pad($i,2,"0", STR_PAD_LEFT)."-".date("d", mktime(0,0,0,$i+2,0,"2008")));
	$nodes = QSet::set($nodes, "categories.2.category.".$i."hide@address.com", "center");
	$nodes = QSet::set($nodes, "categories.2.category.".$i."hide@address.com", 1);
	$nodes = QSet::set($nodes, "categories.2.category.".$i."hide@address.com", $months[$i]);
}

$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", 10);
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "right");
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", 16);
$nodes = QSet::set($nodes, "hide@address.com", 80);
$nodes = QSet::set($nodes, "hide@address.com", "left");
$nodes = QSet::set($nodes, "hide@address.com", "Aufgaben");

$nodes = QSet::set($nodes, "hide@address.com", "Schreiben");
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", "Unterzeichnen");
$nodes = QSet::set($nodes, "hide@address.com", 2);
$nodes = QSet::set($nodes, "hide@address.com", "Finanz");
$nodes = QSet::set($nodes, "hide@address.com", 3);
$nodes = QSet::set($nodes, "hide@address.com", "Rechte");
$nodes = QSet::set($nodes, "hide@address.com", 4);
$nodes = QSet::set($nodes, "hide@address.com", "Versiegeln");
$nodes = QSet::set($nodes, "hide@address.com", 5);
$nodes = QSet::set($nodes, "hide@address.com", "Terrasse");
$nodes = QSet::set($nodes, "hide@address.com", 6);
$nodes = QSet::set($nodes, "hide@address.com", "Inspektion");
$nodes = QSet::set($nodes, "hide@address.com", 7);
$nodes = QSet::set($nodes, "hide@address.com", "Holzarbeiten");
$nodes = QSet::set($nodes, "hide@address.com", 8);
$nodes = QSet::set($nodes, "hide@address.com", "Innen");
$nodes = QSet::set($nodes, "hide@address.com", 9);
$nodes = QSet::set($nodes, "hide@address.com", "Schichten");
$nodes = QSet::set($nodes, "hide@address.com", 10);

$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", "left");
$nodes = QSet::set($nodes, "hide@address.com", "000000");
$nodes = QSet::set($nodes, "hide@address.com", 10);
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", "00ffff");
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", 11);
$nodes = QSet::set($nodes, "hide@address.com", "right");
$nodes = QSet::set($nodes, "hide@address.com", "left");

$nodes = QSet::set($nodes, "hide@address.com", 70);
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "eeeeee");
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", "Start");
$nodes = QSet::set($nodes, "hide@address.com", 0);

$nodes = QSet::set($nodes, "hide@address.com", "2008-01-21");
$nodes = QSet::set($nodes, "hide@address.com", "2008-02-02");
$nodes = QSet::set($nodes, "hide@address.com", "2008-03-14");
$nodes = QSet::set($nodes, "hide@address.com", "2008-04-01");
$nodes = QSet::set($nodes, "hide@address.com", "2008-05-07");

$nodes = QSet::set($nodes, "hide@address.com", 70);
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "eeeeee");
$nodes = QSet::set($nodes, "hide@address.com", "ffffff");
$nodes = QSet::set($nodes, "hide@address.com", "Start");
$nodes = QSet::set($nodes, "hide@address.com", 0);

$nodes = QSet::set($nodes, "hide@address.com", "2008-01-21");
$nodes = QSet::set($nodes, "hide@address.com", "2008-02-02");
$nodes = QSet::set($nodes, "hide@address.com", "2008-03-14");
$nodes = QSet::set($nodes, "hide@address.com", "2008-04-01");
$nodes = QSet::set($nodes, "hide@address.com", "2008-05-07");

$nodes = QSet::set($nodes, "hide@address.com", 10);
$nodes = QSet::set($nodes, "hide@address.com", "Planned");
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", "2008-02-09");
$nodes = QSet::set($nodes, "hide@address.com", "2008-02-19");
$nodes = QSet::set($nodes, "hide@address.com", "1-1");
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "5");
$nodes = QSet::set($nodes, "hide@address.com", "5");
$nodes = QSet::set($nodes, "hide@address.com", "0");

$nodes = QSet::set($nodes, "hide@address.com", "Planned");
$nodes = QSet::set($nodes, "hide@address.com", 2);
$nodes = QSet::set($nodes, "hide@address.com", "2008-02-09");
$nodes = QSet::set($nodes, "hide@address.com", "2008-02-19");
$nodes = QSet::set($nodes, "hide@address.com", "1-1");
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", "5");
$nodes = QSet::set($nodes, "hide@address.com", "5");
$nodes = QSet::set($nodes, "hide@address.com", "0");

$nodes = QSet::set($nodes, "connectors", "");
$nodes = QSet::set($nodes, "hide@address.com", 1);
$nodes = QSet::set($nodes, "hide@address.com", 2);
$nodes = QSet::set($nodes, "hide@address.com", "4567aa");
$nodes = QSet::set($nodes, "hide@address.com", 2);
$nodes = QSet::set($nodes, "hide@address.com", 1);

?>
Return current item: QXML