API17

Difference between revisions of "JString::str ireplace"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JString::str_ireplace|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JString::str_ireplace|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JString::str_ireplace ($search, $replace, $str, $count=NULL)
+
public static function str_ireplace (
 +
        $search
 +
        $replace
 +
        $str
 +
        $count=NULL
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 161 of libraries/joomla/utilities/string.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/utilities/string.php (line 167)
+
** [[JTableContent::check/11.1|JTableContent::check]]
* see source code in [[jplatform:utilities/string.php#cl-167|BitBucket]]
 
===Referenced by===
 
* [[JTableContent::check/11.1|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}} Class [[JString/11.1|JString]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
 +
* [[JString::str_ireplace|Other versions of JString::str_ireplace]]
 +
{{SeeAlso:JString::str_ireplace}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JString::str_ireplace|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JString::str_ireplace|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JString/11.1|JString]]
+
===User contributed notes===
* [[JString::str_ireplace|Other versions of this method]]
 
{{SeeAlso:JString::str_ireplace}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 62: Line 65:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JString]][[Category:JString::str_ireplace]]</noinclude>
 
<noinclude>[[Category:JString]][[Category:JString::str_ireplace]]</noinclude>

Revision as of 21:43, 27 April 2011

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.

Template:Description:JString::str ireplace [Edit Descripton]

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]

Template:SeeAlso:JString::str ireplace [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />