LikeWildcard : int

Enumeration object for LikeWildcard

Internal

Table of Contents

Cases

BOTH  = 3
Use wildcard on both sides
LEFT  = 1
Use wildcard on left side
NONE
Do not use any wildcard
RIGHT  = 2
Use wildcard on right side

Methods

getLikeQueryPart()  : string
Returns a LIKE clause for sql queries.

Cases

Methods

getLikeQueryPart()

Returns a LIKE clause for sql queries.

public getLikeQueryPart(string $tableName, string $fieldName, string $likeValue) : string
Parameters
$tableName : string

The name of the table to query.

$fieldName : string

The name of the field to query with LIKE.

$likeValue : string

The value for the LIKE clause operation.

Return values
string

        
On this page

Search results