Issue Bug Closed

#63369broken API documentation

Bernd Wilke 11/27/14, 15:45 updated 10/02/18, 11:47

Description

I found a tiny problem with (automatic) documentation: at http://api.typo3.org/typo3cms/62/html/class_t_y_p_o3_1_1_c_m_s_1_1_core_1_1_utility_1_1_general_utility.html#a356257d16679b49c2338e85e5d6d0eb8 the parameters documentation is broken because the docheader of teh function misses a closing quote. (maybe there is lost more?)

code in typo3/sysext/core/Classes/Utility/Generalutility.php function xml2array()

    /**
     * Converts an XML string to a PHP array.
     * This is the reverse function of array2xml()
     * This is a wrapper for xml2arrayProcess that adds a two-level cache
     *
     * @param string $string XML content to convert into an array
     * @param string $NSprefix The tag-prefix resolve, eg. a namespace like "T3:
     * @param boolean $reportDocTag If set, the document tag will be set in the key "_DOCUMENT_TAG" of the output array
     * @return mixed If the parsing had errors, a string with the error message is returned. Otherwise an array with the content.
     * @see array2xml(),xml2arrayProcess()
     */

Reviews 2