Actions

API17

Difference between revisions of "JSimpleXMLElement::map"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
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}}
 
{{Description:JSimpleXMLElement::map}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JSimpleXMLElement::map|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSimpleXMLElement::map|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</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 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 588 of libraries/joomla/utilities/simplexml.php
===Defined in===
+
libraries/joomla/utilities/simplexml.php (line 600)
+
* see source code in [[jplatform:utilities/simplexml.php#cl-600|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JSimpleXMLElement::map source code''' on [[jplatform:utilities/simplexml.php#cl-580|BitBucket]]
 +
* {{JVer|11.1}} Class [[JSimpleXMLElement/11.1|JSimpleXMLElement]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JSimpleXMLElement::map|Other versions of JSimpleXMLElement::map]]
 +
{{SeeAlso:JSimpleXMLElement::map}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXMLElement::map|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXMLElement::map|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JSimpleXMLElement/11.1|JSimpleXMLElement]]
+
===User contributed notes===
* [[JSimpleXMLElement::map|Other versions of this method]]
+
{{SeeAlso:JSimpleXMLElement::map}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JSimpleXMLElement]][[Category:JSimpleXMLElement::map]]</noinclude>
 
<noinclude>[[Category:JSimpleXMLElement]][[Category:JSimpleXMLElement::map]]</noinclude>

Revision as of 21:41, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JSimpleXMLElement::map

Description

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

Description:JSimpleXMLElement::map [Edit Descripton]

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

SeeAlso:JSimpleXMLElement::map [Edit See Also]

User contributed notes

<CodeExamplesForm />