src/XML/Atom/Parser.php
protected function createAttributeNode( $node, $template = array() )
	{
		$text	= $template;
		foreach( $node->getAttributes() as $key => $value )
			$text[$key]	= $value;
		$text['content']	= (string) $node;
		return $text;
	}
protected function createAttributeNode( $node, $template = array() )
	{
		$text	= $template;
		foreach( $node->getAttributes() as $key => $value )
			$text[$key]	= $value;
		$text['content']	= (string) $node;
		return $text;
	}
protected function createAttributeNode ( $ node , $ template = array ( ) ) { $ text = $ template ; foreach ( $ node -> getAttributes ( ) as $ key => $ value ) $ text [ $ key ] = $ value ; $ text [ 'content' ] = ( string ) $ node ; return $ text ; }
Creates a Data Structure with Attributes with a Tempate for a Node.
@access		protected
@param		XML_Element	$node				Node to build Data Structure for
@param		array							Template Data Structure (emptyCategory|emptyChannelData|emptyEntry|emptyGenerator|emptyLink|emptyPerson|emptyText)
@return		array
Creates a Data Structure with Attributes with a Tempate for a Node .