API17

Difference between revisions of "JString::str ireplace"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
UTF-8 aware alternative to str_ireplace Case-insensitive version of str_replace.  
 
UTF-8 aware alternative to str_ireplace Case-insensitive version of str_replace.  
  
{{Description:JString::str_ireplace}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JString::str_ireplace|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function str_ireplace (
 
public static function str_ireplace (
Line 47: Line 45:
 
* '''Defined''' on line 161 of libraries/joomla/utilities/string.php
 
* '''Defined''' on line 161 of libraries/joomla/utilities/string.php
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JTableContent::check/11.1|JTableContent::check]]
+
** [[API17:JTableContent::check|JTableContent::check]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JString::str_ireplace source code''' on [[jplatform:utilities/string.php#cl-153|BitBucket]]
 
* {{JVer|11.1}} '''JString::str_ireplace source code''' on [[jplatform:utilities/string.php#cl-153|BitBucket]]
* {{JVer|11.1}} Class [[JString/11.1|JString]]
+
* {{JVer|11.1}} Class [[API17:JString|JString]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JString::str_ireplace|Other versions of JString::str_ireplace]]
+
* [[API17:JString::str_ireplace|Other versions of JString::str_ireplace]]
{{SeeAlso:JString::str_ireplace}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JString::str_ireplace|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JString::str_ireplace
 
category=JString::str_ireplace
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 68: Line 64:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JString]][[Category:JString::str_ireplace]]</noinclude>
+
<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.

Joomla 11.1 JString::str_ireplace[edit]

Description[edit]

UTF-8 aware alternative to str_ireplace Case-insensitive version of str_replace.


public static function str_ireplace (
        $search
        $replace
        $str
        $count=NULL
)
Parameter Type Default Description
$search string string to search
$replace string existing string to replace
$str string new string to replace with
$count int NULL optional count value to be passed by referene
  • Returns
  • Defined on line 161 of libraries/joomla/utilities/string.php
  • Referenced by

See also[edit]


User contributed notes[edit]

Code Examples[edit]