Skip to content

Commit

Permalink
Whitespace Fix
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/XML_FOAF/trunk@148752 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
dshafik committed Jan 15, 2004
1 parent d7ee45f commit ee27f00
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions FOAF.php
Expand Up @@ -25,7 +25,7 @@
*/

require_once 'XML/FOAF/Common.php';

/**
* FOAF Creator
*
Expand All @@ -39,25 +39,25 @@

class XML_FOAF extends XML_FOAF_Common
{
/**
* @var object XML_Tree object containing the FOAF RDF/XML Tree
*/

/**
* @var object XML_Tree object containing the FOAF RDF/XML Tree
*/

var $foaf = null;

/**
* @var array Contains all namespaces in use
*/

var $namespaces = array();

/**
* @var array Contains XML_Tree Child nodes for all FOAF elements
*/

var $children = array();

/**
* @var object XML_Tree object for the FOAF
*/
Expand Down Expand Up @@ -978,15 +978,15 @@ function &addKnows(&$foaf_agent)
$this->knows->addChild($foaf_agent->foaf);
return true;
}

/**
* Add an XML_Tree, XML_Tree_Node object or XML String to the FOAF
*
* @param mixed $xml_tree XML_Tree, XML_Tree_Node or XML String
* @access public
* @return boolean
*/

function addChild(&$xml_tree)
{
if (is_array($xml_tree)) {
Expand Down Expand Up @@ -1042,20 +1042,20 @@ function toXML($without_rdf = false)
$foaf = $beautifier->formatString($foaf);
return $foaf;
}

/**
* Alias for toXML
*
* @param boolean $without_rdf Return RDF/XML inside <rdf:RDF> root element
* @access public
* @return string
*/

function get($without_rdf = false)
{
return $this->toXML($without_rdf);
}


/**
* Set an XML Namespace
Expand Down

0 comments on commit ee27f00

Please sign in to comment.