MediaWiki
master
Toggle main menu visibility
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 an...
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
includes
libs
Rdbms
Encasing
LikeMatch.php
Generated on
for MediaWiki by
1.18.0