Actions

API17

Difference between revisions of "JString::transcode"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JString::transcode|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JString::transcode|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JString::transcode ($source, $from_encoding, $to_encoding)
+
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===
+
* '''Returns''' string Transcoded string
string Transcoded string
+
* '''Defined''' on line 504 of libraries/joomla/utilities/string.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/utilities/string.php
+
===Referenced by===
+
 
===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>
* [[JString/11.1|JString]]
+
===User contributed notes===
* [[JString::transcode|Other versions of this method]]
+
{{SeeAlso:JString::transcode}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: 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

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::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.
  • Returns string Transcoded string
  • Defined on line 504 of libraries/joomla/utilities/string.php
  • Since Joomla 11.1

See also

SeeAlso:JString::transcode [Edit See Also]

User contributed notes

<CodeExamplesForm />