Actions

API17

Difference between revisions of "JString::parse url"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JString::parse_url|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JString::parse_url|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JString::parse_url ($url)
+
public static function parse_url ($url)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|string
 
|string
 
|
 
|
|URL to parse  
+
|URL to parse
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' associative array or false if badly formed URL.
associative array or false if badly formed URL.
+
* '''Defined''' on line 682 of libraries/joomla/utilities/string.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/utilities/string.php (line 698)
+
* '''Referenced by'''
* see source code in [[jplatform:utilities/string.php#cl-698|BitBucket]]
+
** [[JURI::parse/11.1|JURI::parse]]
===Referenced by===
+
* [[JURI::parse/11.1|JURI::parse]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JString::parse_url source code''' on [[jplatform:utilities/string.php#cl-674|BitBucket]]
 +
* {{JVer|11.1}} Class [[JString/11.1|JString]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JString::parse_url|Other versions of JString::parse_url]]
 +
{{SeeAlso:JString::parse_url}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JString::parse_url|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JString::parse_url|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JString/11.1|JString]]
+
===User contributed notes===
* [[JString::parse_url|Other versions of this method]]
+
{{SeeAlso:JString::parse_url}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 49: Line 46:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JString]][[Category:JString::parse_url]]</noinclude>
 
<noinclude>[[Category:JString]][[Category:JString::parse_url]]</noinclude>

Revision as of 20:43, 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 JString::parse_url

Description

Does a UTF-8 safe version of PHP parse_url function.

Description:JString::parse url [Edit Descripton]

public static function parse_url ($url)
Parameter Type Default Description
$url string URL to parse
  • Returns associative array or false if badly formed URL.
  • Defined on line 682 of libraries/joomla/utilities/string.php
  • Since Joomla 11.1
  • Referenced by

See also

SeeAlso:JString::parse url [Edit See Also]

User contributed notes

<CodeExamplesForm />