MediaWiki
REL1_37
LikeMatch.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
10
class
LikeMatch
{
12
private
$str
;
13
19
public
function
__construct
(
$s
) {
20
$this->str =
$s
;
21
}
22
28
public
function
toString
() {
29
return
$this->str
;
30
}
31
}
Wikimedia\Rdbms\LikeMatch
Used by Database::buildLike() to represent characters that have special meaning in SQL LIKE clauses a...
Definition
LikeMatch.php:10
Wikimedia\Rdbms\LikeMatch\toString
toString()
Return the original stored string.
Definition
LikeMatch.php:28
Wikimedia\Rdbms\LikeMatch\__construct
__construct( $s)
Store a string into a LikeMatch marker object.
Definition
LikeMatch.php:19
Wikimedia\Rdbms\LikeMatch\$str
string $str
Definition
LikeMatch.php:12
$s
foreach( $mmfl['setupFiles'] as $fileName) if($queue) if(empty( $mmfl['quiet'])) $s
Definition
mergeMessageFileList.php:206
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
encasing
LikeMatch.php
Generated on Fri Apr 5 2024 23:40:31 for MediaWiki by
1.9.8