MediaWiki
REL1_35
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
$s
Definition
mergeMessageFileList.php:185
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
encasing
LikeMatch.php
Generated on Sat Apr 6 2024 00:07:27 for MediaWiki by
1.9.8