private function encodeCDATA($string) {
		$string = str_replace(self::CDATA_END, self::CDATA_EMBEDDED_END, $string);
		return self::CDATA_START . $string . self::CDATA_END;
	}
private function encodeCDATA($string) {
		$string = str_replace(self::CDATA_END, self::CDATA_EMBEDDED_END, $string);
		return self::CDATA_START . $string . self::CDATA_END;
	}
private function encodeCDATA ( $ string ) { $ string = str_replace ( self :: CDATA_END , self :: CDATA_EMBEDDED_END , $ string ) ; return self :: CDATA_START . $ string . self :: CDATA_END ; }
Encases a string in CDATA tags, and escapes any existing CDATA end
tags already present in the string.
@param string $string
Encases a string in CDATA tags and escapes any existing CDATA end tags already present in the string .