Actions

API17

Difference between revisions of "JUtility::parseAttributes"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JUtility::parseAttributes|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JUtility::parseAttributes|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JUtility::parseAttributes ($string)
+
public static function parseAttributes ($string)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array Key/Value pairs for the attributes
array Key/Value pairs for the attributes
+
* '''Defined''' on line 121 of libraries/joomla/utilities/utility.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/utilities/utility.php (line 120)
+
* see source code in [[jplatform:utilities/utility.php#cl-120|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JUtility::parseAttributes source code''' on [[jplatform:utilities/utility.php#cl-113|BitBucket]]
 +
* {{JVer|11.1}} Class [[JUtility/11.1|JUtility]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JUtility::parseAttributes|Other versions of JUtility::parseAttributes]]
 +
{{SeeAlso:JUtility::parseAttributes}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JUtility::parseAttributes|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JUtility::parseAttributes|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JUtility/11.1|JUtility]]
+
===User contributed notes===
* [[JUtility::parseAttributes|Other versions of this method]]
+
{{SeeAlso:JUtility::parseAttributes}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JUtility]][[Category:JUtility::parseAttributes]]</noinclude>
 
<noinclude>[[Category:JUtility]][[Category:JUtility::parseAttributes]]</noinclude>

Revision as of 21:56, 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 JUtility::parseAttributes

Description

Method to extract key/value pairs out of a string with xml style attributes.

Description:JUtility::parseAttributes [Edit Descripton]

public static function parseAttributes ($string)
Parameter Type Default Description
$string string String containing xml style attributes
  • Returns array Key/Value pairs for the attributes
  • Defined on line 121 of libraries/joomla/utilities/utility.php
  • Since Joomla 11.1

See also

SeeAlso:JUtility::parseAttributes [Edit See Also]

User contributed notes

<CodeExamplesForm />