API16

JSimpleXML/setParser: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Set the parser <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> ...
 
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
Set the parser
Set the parser


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JSimpleXML/setParser|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JSimpleXML/setParser}}
 
 


===Syntax===
===Syntax===
Line 34: Line 32:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXML/setParser|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{SeeAlso:JSimpleXML/setParser}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=setParser
  category=setParser
  category=JSimpleXML
  category=JSimpleXML
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:06, 25 March 2017

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