API17

Difference between revisions of "JSimpleXMLElement::map"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JSimpleXMLElement::map==
 
=={{JVer|11.1}} JSimpleXMLElement::map==
 
===Description===
 
===Description===
traverses the tree calling the $callback( $this, mixed $args=array()) function with each .  
+
Traverses the tree calling the $callback( $this, mixed $args=array()) function with each .  
 +
 
 +
 
  
{{Description:JSimpleXMLElement::map}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JSimpleXMLElement::map|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSimpleXMLElement::map ($callback, $args=array())
+
public function map (
 +
        $callback
 +
        $args=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 +
* '''Defined''' on line 588 of libraries/joomla/utilities/simplexml.php
 +
===See also===
 +
* {{JVer|11.1}} '''JSimpleXMLElement::map source code''' on [[jplatform:utilities/simplexml.php#cl-580|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JSimpleXMLElement|JSimpleXMLElement]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
 +
* [[API17:JSimpleXMLElement::map|Other versions of JSimpleXMLElement::map]]
  
===Defined in===
+
 
libraries/joomla/utilities/simplexml.php (line 600)
+
===User contributed notes===
* see source code in [[jplatform:utilities/simplexml.php#cl-600|BitBucket]]
+
=== Code Examples ===
===Referenced by===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXMLElement::map|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
* [[JSimpleXMLElement/11.1|JSimpleXMLElement]]
 
* [[JSimpleXMLElement::map|Other versions of this method]]
 
{{SeeAlso:JSimpleXMLElement::map}}
 
===Examples===
 
<CodeExamplesForm />
 
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JSimpleXMLElement::map
 
category=JSimpleXMLElement::map
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JSimpleXMLElement]][[Category:JSimpleXMLElement::map]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:43, 24 March 2017

The "API17" 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.

Joomla 11.1 JSimpleXMLElement::map[edit]

Description[edit]

Traverses the tree calling the $callback( $this, mixed $args=array()) function with each .


public function map (
        $callback
        $args=array
)
Parameter Type Default Description
$callback string function name
$args array array()
  • Returns
  • Defined on line 588 of libraries/joomla/utilities/simplexml.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]