Difference between revisions of "JString::compliant"
From Joomla! Documentation
m (JoomlaWikiBot moved page JString::compliant/11.1 to API17:JString::compliant without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Tests whether a string complies as UTF-8. | Tests whether a string complies as UTF-8. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function compliant ($str) | public static function compliant ($str) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JString::compliant source code''' on [[jplatform:utilities/string.php#cl-654|BitBucket]] | * {{JVer|11.1}} '''JString::compliant source code''' on [[jplatform:utilities/string.php#cl-654|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JString | + | * {{JVer|11.1}} Class [[API17:JString|JString]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] |
− | * [[JString::compliant|Other versions of JString::compliant]] | + | * [[API17:JString::compliant|Other versions of JString::compliant]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JString::compliant | category=JString::compliant | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:45, 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.
JString::compliant[edit]
Description[edit]
Tests whether a string complies as UTF-8.
public static function compliant ($str)
Parameter | Type | Default | Description |
---|---|---|---|
$str | string | UTF-8 string to check |
- Returns boolean TRUE if string is valid UTF-8
- Defined on line 662 of libraries/joomla/utilities/string.php
- Since
See also[edit]
- JString::compliant source code on BitBucket
- Class JString
- Subpackage Utilities
- Other versions of JString::compliant
User contributed notes[edit]
Code Examples[edit]