Actions

API17

Difference between revisions of "JUtility::parseAttributes"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (See also: moving preparation)
 
(4 intermediate revisions by 2 users not shown)
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
+
===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 [[API17:JUtility|JUtility]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
 +
* [[API17: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 47: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JUtility]][[Category:JUtility::parseAttributes]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:50, 11 May 2013

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

  • Joomla 11.1 JUtility::parseAttributes source code on BitBucket
  • Joomla 11.1 Class JUtility
  • Joomla 11.1 Subpackage Utilities
  • Other versions of JUtility::parseAttributes

SeeAlso:JUtility::parseAttributes [Edit See Also]

User contributed notes

<CodeExamplesForm />