src/XML/Element.php
public function addChildCData( $name, $text, $nsPrefix = NULL, $nsURI = NULL )
	{
		$child	= $this->addChild( $name, NULL, $nsPrefix, $nsURI );
		$child->addCData( $text );
		return $child;
	}
public function addChildCData( $name, $text, $nsPrefix = NULL, $nsURI = NULL )
	{
		$child	= $this->addChild( $name, NULL, $nsPrefix, $nsURI );
		$child->addCData( $text );
		return $child;
	}
public function addChildCData ( $ name , $ text , $ nsPrefix = NULL , $ nsURI = NULL ) { $ child = $ this -> addChild ( $ name , NULL , $ nsPrefix , $ nsURI ) ; $ child -> addCData ( $ text ) ; return $ child ; }
Create a child element with CDATA value
@param		string		$name			The name of the child element to add.
@param		string		$cdata_text		The CDATA value of the child element.
@param		string		$nsPrefix		Namespace prefix of child element
@param		string		$nsURI			Namespace URI of child element
@return		XML_Element
@reprecated	use addChild instead
Create a child element with CDATA value