Add all the phpdocs to the domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
<?php
|
||||
/** DomFramework
|
||||
@package domframework
|
||||
@author Dominique Fournier <dominique@fournier38.fr> */
|
||||
|
||||
require_once ("output.php");
|
||||
/** Display in XML the datas provided */
|
||||
class outputxml extends output
|
||||
{
|
||||
/** Display in XML the datas provided
|
||||
@param mixed $data The data to be displayed */
|
||||
public function out ($data)
|
||||
{
|
||||
@header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
@@ -19,7 +26,9 @@ class outputxml extends output
|
||||
print $xml->asXML();
|
||||
}
|
||||
|
||||
// function defination to convert array to xml
|
||||
/** function defination to convert array to xml
|
||||
@param mixed $data The data to be converted
|
||||
@param string $xml The actual state of the XML file */
|
||||
private function array_to_xml ($data, &$xml)
|
||||
{
|
||||
foreach($data as $key => $value)
|
||||
|
||||
Reference in New Issue
Block a user