API17:JString::transcode
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JString::transcode|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JString::transcode|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function transcode ( |
| + | $source | ||
| + | $from_encoding | ||
| + | $to_encoding | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 34: | Line 35: | ||
|string | |string | ||
| | | | ||
| − | |The target encoding. | + | |The target encoding. |
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' string Transcoded string | |
| − | string Transcoded string | + | * '''Defined''' on line 504 of libraries/joomla/utilities/string.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/utilities/string.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JString::transcode source code''' on [[jplatform:utilities/string.php#cl-496|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JString/11.1|JString]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]] | ||
| + | * [[JString::transcode|Other versions of JString::transcode]] | ||
| + | {{SeeAlso:JString::transcode}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JString::transcode|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JString::transcode|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JString]][[Category:JString::transcode]]</noinclude> | <noinclude>[[Category:JString]][[Category:JString::transcode]]</noinclude> | ||
Revision as of 21:44, 27 April 2011
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.
JString::transcode
Description
Transcode a string.
Description:JString::transcode [Edit Descripton]
public static function transcode ( $source $from_encoding $to_encoding )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $source | string | The string to transcode. | |
| $from_encoding | string | The source encoding. | |
| $to_encoding | string | The target encoding. |
See also
-
JString::transcode source code on BitBucket
-
Class JString
-
Subpackage Utilities
- Other versions of JString::transcode
SeeAlso:JString::transcode [Edit See Also]
User contributed notes
<CodeExamplesForm />
