API17:JString::str ireplace
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| 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> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function str_ireplace ( |
| + | $search | ||
| + | $replace | ||
| + | $str | ||
| + | $count=NULL | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 40: | Line 44: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 161 of libraries/joomla/utilities/string.php | |
| − | + | * '''Referenced by''' | |
| − | libraries/joomla/utilities/string.php | + | ** [[JTableContent::check/11.1|JTableContent::check]] |
| − | + | ||
| − | * [[JTableContent | + | |
===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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 61: | 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
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::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
-
JString::str_ireplace source code on BitBucket
-
Class JString
-
Subpackage Utilities
- Other versions of JString::str_ireplace
SeeAlso:JString::str ireplace [Edit See Also]
User contributed notes
<CodeExamplesForm />
