MediaWiki REL1_39
LikeMatch.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Rdbms;
4
10class 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}
Used by Database::buildLike() to represent characters that have special meaning in SQL LIKE clauses a...
Definition LikeMatch.php:10
toString()
Return the original stored string.
Definition LikeMatch.php:28
__construct( $s)
Store a string into a LikeMatch marker object.
Definition LikeMatch.php:19
foreach( $mmfl['setupFiles'] as $fileName) if($queue) if(empty( $mmfl['quiet'])) $s