Class: searchStringParser
Quellcode Position: Program_Root/base_searchstringparser.php
Class searchStringParser
Class Overview
|
String parser for search input Implementiert in Program_Root/base_searchstringparser.php [Zeile 13] Author(s):
|
[ Seitenanfang ]
Properties Summary
Method Summary
| boolean | addElementToken() | Add element token |
| integer | addToken() | Add token |
| integer | closeTokenGroup() | close token group |
| void | createToken() | |
| void | debugTokens() | Debug token |
| mixed | get() | Get function |
| string | getBooleanFilterLine() | Get Filters for MySQL MATCH Command in Boolean Mode (MySQL > 4.1) |
| string | getBooleanFilters() | Get filters for MySQL MATCH Command in Boolean Mode (MySQL > 4.1) |
| string | getLikeFilterLine() | Get filter line for SQL LIKE command |
| string | getLikeFilters() | Get filters for SQL LIKE command |
| string | getMatchFilterLine() | Get filter line for MySQL MATCH command |
| string | getMatchFilters() | Get filters for MySQL MATCH command |
| void | getSQL() | |
| integer | openTokenGroup() | open token group |
| integer | parse() | Parse |
[ Seitenanfang ]
Methods
addElementToken [Zeile 25]
|
Add element token
Parameters:| $token | $token: |
API Tags:
| Access: | public |
[ Seitenanfang ]
addToken [Zeile 44]
|
Add token
Parameters:| $token | $token: |
API Tags:
| Access: | public |
[ Seitenanfang ]
closeTokenGroup [Zeile 109]
|
close token group
Parameters:| intger | $level: |
API Tags:
| Access: | public |
[ Seitenanfang ]
get [Zeile 483]
|
Get function
Parameters:| string | $searchfor: | |
| array | $fields: | |
| string | $mode: | optional, default value 'LIKE' |
API Tags:
| Return: | string or false |
| Access: | public |
[ Seitenanfang ]
getBooleanFilterLine [Zeile 401]
|
Get Filters for MySQL MATCH Command in Boolean Mode (MySQL > 4.1)
Parameters:| string | $fieldstr: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getBooleanFilters [Zeile 448]
|
Get filters for MySQL MATCH Command in Boolean Mode (MySQL > 4.1)
Parameters:| array | $fields: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getLikeFilterLine [Zeile 250]
|
Get filter line for SQL LIKE command
Parameters:| string | $fieldstr: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getLikeFilters [Zeile 303]
|
Get filters for SQL LIKE command
Parameters:| mixed | $fields: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getMatchFilterLine [Zeile 326]
|
Get filter line for MySQL MATCH command
Parameters:| string | $fieldstr: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getMatchFilters [Zeile 368]
|
Get filters for MySQL MATCH command
Parameters:| mixed | $fields: |
API Tags:
| Access: | public |
[ Seitenanfang ]
getSQL [Zeile 501]
|
[ Seitenanfang ]
openTokenGroup [Zeile 97]
|
open token group
Parameters:| integer | $level: |
API Tags:
| Access: | public |
[ Seitenanfang ]
parse [Zeile 135]
|
Parse
Parameters:| string | $searchfor: |
API Tags:
| Access: | public |
[ Seitenanfang ]
