Location: PHPKode > projects > RabbitBB - Online Web Storage Project > mywebdrive/xmlfeed/fileprop.php
<dirfileprop>
<dirfile_id><?PHP echo(xmlentities($response['dirfile_id'])); ?></dirfile_id>
<filesize><?PHP echo(xmlentities($response['filesize'])); ?></filesize>
<useraccess>
<?PHP 
$tuseraccess = $response['useraccess'][0];
$tuseraccount = $response['useraccess'][1];
if (count($tuseraccess[SFILE])>0)
{
	$tuseraccess = $tuseraccess[SFILE];
	for ($it = 0; $it<count($tuseraccess); $it++)
	{
		$tua = $tuseraccess[$it];
		$tuseracc = $tuseraccount[$it];
		if ($tua->getuser_id()<0)
			continue;
?>
<fileaccess>
<id><?PHP echo(xmlentities($tua->getid())); ?></id>
<filedb_id><?PHP echo(xmlentities($tua->getfiledb_id())); ?></filedb_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>
<read><?PHP echo(xmlentities($tua->getread())); ?></read>
<write><?PHP echo(xmlentities($tua->getwrite())); ?></write>
</fileaccess>
<?PHP
	}
}
?>
</useraccess>
<owneraccess><?PHP $towneraccess = $response['owneraccess']; ?>
<id><?PHP echo(xmlentities($towneraccess->getid())); ?></id>
<filedb_id><?PHP echo(xmlentities($towneraccess->getfiledb_id())); ?></filedb_id>
<user_id><?PHP echo(xmlentities($towneraccess->getuser_id())); ?></user_id>
<owner><?PHP echo(xmlentities($towneraccess->getowner())); ?></owner>
<read><?PHP echo(xmlentities($towneraccess->getread())); ?></read>
<write><?PHP echo(xmlentities($towneraccess->getwrite())); ?></write>
</owneraccess>
<publicshare><?PHP $tpublicshare = $response['publicshare']; ?>
<id><?PHP echo(xmlentities($tpublicshare->getid())); ?></id>
<filedb_id><?PHP echo(xmlentities($tpublicshare->getfiledb_id())); ?></filedb_id>
<user_id><?PHP echo(xmlentities($tpublicshare->getuser_id())); ?></user_id>
<owner><?PHP echo(xmlentities($tpublicshare->getowner())); ?></owner>
<read><?PHP echo(xmlentities($tpublicshare->getread())); ?></read>
<write><?PHP echo(xmlentities($tpublicshare->getwrite())); ?></write>
</publicshare>
</dirfileprop>
Return current item: RabbitBB - Online Web Storage Project