![]() |
TYPO3
7.6
|
Public Member Functions | |
getLikeQueryPart ($tableName, $fieldName, $likeValue) | |
![]() | |
__construct ($value=null) | |
equals ($value) | |
__toString () | |
Public Attributes | |
const | __default = self::BOTH |
const | NONE = 0 |
const | LEFT = 1 |
const | RIGHT = 2 |
const | BOTH = 3 |
Additional Inherited Members | |
![]() | |
static | getConstants ($include_default=false) |
static | cast ($value) |
![]() | |
setValue ($value) | |
isValid ($value) | |
![]() | |
static | loadValues () |
![]() | |
$value | |
![]() | |
static | $enumConstants |
Enumeration object for LikeWildcard
Definition at line 20 of file LikeWildcard.php.
getLikeQueryPart | ( | $tableName, | |
$fieldName, | |||
$likeValue | |||
) |
Returns a LIKE clause for sql queries.
string | $tableName | The name of the table to query. |
string | $fieldName | The name of the field to query with LIKE. |
string | $likeValue | The value for the LIKE clause operation. |
\TYPO3\CMS\Core\Type\Exception\InvalidEnumerationValueException |
Definition at line 45 of file LikeWildcard.php.
References $GLOBALS.
const __default = self::BOTH |
Definition at line 22 of file LikeWildcard.php.
const BOTH = 3 |
Definition at line 34 of file LikeWildcard.php.
Referenced by LikeWildcardTest\getLikeQueryPartDataProvider(), IndexSearchRepository\searchSentence(), and SearchFormController\searchSentence().
const LEFT = 1 |
Definition at line 28 of file LikeWildcard.php.
Referenced by LikeWildcardTest\getLikeQueryPartDataProvider().
const NONE = 0 |
Definition at line 25 of file LikeWildcard.php.
Referenced by LikeWildcardTest\getLikeQueryPartDataProvider().
const RIGHT = 2 |
Definition at line 31 of file LikeWildcard.php.
Referenced by LikeWildcardTest\getLikeQueryPartDataProvider().