API16

JSimpleXML/setParser

< API16:JSimpleXML

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Set the parser



Syntax

setParser($parser)
Parameter Name Default Value Description
$parser XML parser resource handle

Defined in

libraries/joomla/utilities/simplexml.php

Importing

jimport( 'joomla.utilities.simplexml' );

Source Body

function setParser($parser) {
        $this->_parser = $parser;
}



Examples

Code Examples


Advertisement