protected function serializeChildren(DOMElement $ir)
	{
		$php = '';
		foreach ($ir->childNodes as $node)
		{
			if ($node instanceof DOMElement)
			{
				$methodName = 'serialize' . ucfirst($node->localName);
				$php .= $this->$methodName($node);
			}
		}

		return $php;
	}
protected function serializeChildren(DOMElement $ir)
	{
		$php = '';
		foreach ($ir->childNodes as $node)
		{
			if ($node instanceof DOMElement)
			{
				$methodName = 'serialize' . ucfirst($node->localName);
				$php .= $this->$methodName($node);
			}
		}

		return $php;
	}
protected function serializeChildren ( DOMElement $ ir ) { $ php = '' ; foreach ( $ ir -> childNodes as $ node ) { if ( $ node instanceof DOMElement ) { $ methodName = 'serialize' . ucfirst ( $ node -> localName ) ; $ php .= $ this -> $ methodName ( $ node ) ; } } return $ php ; }
Serialize all the children of given node into PHP

@param  DOMElement $ir Internal representation
@return string
Serialize all the children of given node into PHP