MediaWiki  REL1_24
LikeMatch Class Reference

Used by DatabaseBase::buildLike() to represent characters that have special meaning in SQL LIKE clauses and thus need no escaping. More...

Collaboration diagram for LikeMatch:

List of all members.

Public Member Functions

 __construct ($s)
 Store a string into a LikeMatch marker object.
 toString ()
 Return the original stored string.

Private Attributes

string $str
 *

Detailed Description

Used by DatabaseBase::buildLike() to represent characters that have special meaning in SQL LIKE clauses and thus need no escaping.

Don't instantiate it manually, use DatabaseBase::anyChar() and anyString() instead.

Definition at line 304 of file DatabaseUtility.php.


Constructor & Destructor Documentation

Store a string into a LikeMatch marker object.

Parameters:
string$s

Definition at line 312 of file DatabaseUtility.php.


Member Function Documentation

Return the original stored string.

Returns:
string

Definition at line 321 of file DatabaseUtility.php.


Member Data Documentation

string LikeMatch::$str [private]

*

Definition at line 305 of file DatabaseUtility.php.


The documentation for this class was generated from the following file: