Location: PHPKode > projects > RabbitBB - Online Web Storage Project > mywebdrive/xmlfeed/xmldirprop.php
<dirprop>
<dir_id><?PHP echo(xmlentities($response['dir_id'])); ?></dir_id>

<useraccess>
<?PHP
$tuseraccess = $response['userdirparam'][0];
$tuseraccount = $response['userdirparam'][1];

if (isset($tuseraccess[DIRECTORY]) && (count($tuseraccess[DIRECTORY])>0))
{
	$tuseraccess = $tuseraccess[DIRECTORY];
	for ($it=0; $it<count($tuseraccess); $it++)
	{
		$tua = $tuseraccess[$it];
		$tuseracc = $tuseraccount[$it];
		if ($tua->getuser_id()<0)
			continue;
?>
<diraccess>
<id><?PHP echo(xmlentities($tua->getid())); ?></id>
<dirdb_id><?PHP echo(xmlentities($tua->getdirdb_id())); ?></dirdb_id>
<user_id><?PHP echo(xmlentities($tua->getuser_id())); ?></user_id>
<useraccount>
<username><?PHP echo(xmlentities($tuseracc->getusername())); ?></username>
</useraccount>
<owner><?PHP echo(xmlentities($tua->getowner())); ?></owner>
<createdir><?PHP echo(xmlentities($tua->getcreatedir())); ?></createdir>
<updatedir><?PHP echo(xmlentities($tua->getupdatedir())); ?></updatedir>
<deldir><?PHP echo(xmlentities($tua->getdeldir())); ?></deldir>
<createfile><?PHP echo(xmlentities($tua->getcreatefile())); ?></createfile>
<updatefile><?PHP echo(xmlentities($tua->getupdatefile())); ?></updatefile>
<delfile><?PHP echo(xmlentities($tua->getdelfile())); ?></delfile>
<allowread><?PHP echo(xmlentities($tua->getread())); ?></allowread>
</diraccess>
<?PHP
	}
}
?>
</useraccess>
<owneraccess><?PHP $towneraccess = $response['owneraccess']; ?>
<id><?PHP echo(xmlentities($towneraccess->getid())); ?></id>
<dirdb_id><?PHP echo(xmlentities($towneraccess->getdirdb_id())); ?></dirdb_id>
<user_id><?PHP echo(xmlentities($towneraccess->getuser_id())); ?></user_id>
<useraccount>
<username><?PHP //echo(xmlentities($tuseracc->getusername())); ?></username>
</useraccount>
<owner><?PHP echo(xmlentities($towneraccess->getowner())); ?></owner>
<createdir><?PHP echo(xmlentities($towneraccess->getcreatedir())); ?></createdir>
<updatedir><?PHP echo(xmlentities($towneraccess->getupdatedir())); ?></updatedir>
<deldir><?PHP echo(xmlentities($towneraccess->getdeldir())); ?></deldir>
<createfile><?PHP echo(xmlentities($towneraccess->getcreatefile())); ?></createfile>
<updatefile><?PHP echo(xmlentities($towneraccess->getupdatefile())); ?></updatefile>
<delfile><?PHP echo(xmlentities($towneraccess->getdelfile())); ?></delfile>
<allowread><?PHP echo(xmlentities($towneraccess->getread())); ?></allowread>
</owneraccess>
<publicaccess><?PHP $tpublicaccess = $response['publicaccess']; ?>
<id><?PHP echo(xmlentities($tpublicaccess->getid())); ?></id>
<dirdb_id><?PHP echo(xmlentities($tpublicaccess->getdirdb_id())); ?></dirdb_id>
<user_id><?PHP echo(xmlentities($tpublicaccess->getuser_id())); ?></user_id>
<useraccount>
<username><?PHP //echo(xmlentities($tuseracc->getusername())); ?></username>
</useraccount>
<owner><?PHP echo(xmlentities($tpublicaccess->getowner())); ?></owner>
<createdir><?PHP echo(xmlentities($tpublicaccess->getcreatedir())); ?></createdir>
<updatedir><?PHP echo(xmlentities($tpublicaccess->getupdatedir())); ?></updatedir>
<deldir><?PHP echo(xmlentities($tpublicaccess->getdeldir())); ?></deldir>
<createfile><?PHP echo(xmlentities($tpublicaccess->getcreatefile())); ?></createfile>
<updatefile><?PHP echo(xmlentities($tpublicaccess->getupdatefile())); ?></updatefile>
<delfile><?PHP echo(xmlentities($tpublicaccess->getdelfile())); ?></delfile>
<allowread><?PHP echo(xmlentities($tpublicaccess->getread())); ?></allowread>
</publicaccess>
</dirprop>
Return current item: RabbitBB - Online Web Storage Project