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 . | |
+ | |||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function map ( |
+ | $callback | ||
+ | $args=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | === | + | * '''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]] | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | + | === Code Examples === | |
− | |||
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ===Examples=== | ||
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSimpleXMLElement::map | category=JSimpleXMLElement::map | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <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.
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]
- JSimpleXMLElement::map source code on BitBucket
- Class JSimpleXMLElement
- Subpackage Utilities
- Other versions of JSimpleXMLElement::map
User contributed notes[edit]
Code Examples[edit]