MediaWiki
REL1_39
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
$s
foreach( $mmfl['setupFiles'] as $fileName) if($queue) if(empty( $mmfl['quiet'])) $s
Definition
mergeMessageFileList.php:208
Wikimedia\Rdbms
Definition
ChronologyProtector.php:20
includes
libs
rdbms
encasing
LikeMatch.php
Generated on Sun Nov 24 2024 20:23:33 for MediaWiki by
1.10.0