MediaWiki REL1_30
|
Used by Database::buildLike() to represent characters that have special meaning in SQL LIKE clauses and thus need no escaping. More...
Public Member Functions | |
__construct ( $s) | |
Store a string into a LikeMatch marker object. | |
toString () | |
Return the original stored string. | |
Private Attributes | |
string | $str |
Used by Database::buildLike() to represent characters that have special meaning in SQL LIKE clauses and thus need no escaping.
Don't instantiate it manually, use Database::anyChar() and anyString() instead.
Definition at line 10 of file LikeMatch.php.
Wikimedia\Rdbms\LikeMatch::__construct | ( | $s | ) |
Store a string into a LikeMatch marker object.
string | $s |
Definition at line 19 of file LikeMatch.php.
References $s.
Wikimedia\Rdbms\LikeMatch::toString | ( | ) |
Return the original stored string.
Definition at line 28 of file LikeMatch.php.
References Wikimedia\Rdbms\LikeMatch\$str.
|
private |
Definition at line 12 of file LikeMatch.php.
Referenced by Wikimedia\Rdbms\LikeMatch\toString().