Logo Search packages:      
Sourcecode: magpierss version File versions  Download package

MagpieRSS::create_parser ( source,

return XML parser, and possibly re-encoded source

Definition at line 451 of file rss_parse.inc.

References php4_create_parser(), and php5_create_parser().

Referenced by MagpieRSS().

        if ( substr(phpversion(),0,1) == 5) {
            $parser = $this->php5_create_parser($in_enc, $detect);
        else {
            list($parser, $source) = $this->php4_create_parser($source, $in_enc, $detect);
        if ($out_enc) {
            $this->encoding = $out_enc;
            xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, $out_enc);
        return array($parser, $source);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index