Actions

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

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::str_ireplace

Description

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

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

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

User contributed notes

<CodeExamplesForm />