Liste de tous les membres
Documentation des constructeurs et destructeur
FinderIndexerQuery::__construct |
( |
|
$options | ) |
|
Documentation des fonctions membres
FinderIndexerQuery::getExcludedTermIds |
( |
| ) |
|
FinderIndexerQuery::getIncludedTermIds |
( |
| ) |
|
Method to get a list of included search term ids.
- Renvoie:
- array An array of included term ids.
- Depuis:
- 2.5
Références $i, $key, et JArrayHelper\toInteger().
FinderIndexerQuery::getRequiredTermIds |
( |
| ) |
|
Method to get a list of required search term ids.
- Renvoie:
- array An array of required term ids.
- Depuis:
- 2.5
Références $i, $key, et JArrayHelper\toInteger().
FinderIndexerQuery::getTokenData |
( |
|
$token | ) |
|
|
protected |
Method to get the base and similar term ids and, if necessary, suggested term data from the database. The terms ids are identified based on a 'like' match in MySQL and/or a common stem. If no term ids could be found, then we know that we will not be able to return any results for that term and we should try to find a similar term to use that we can match so that we can suggest the alternative search query to the user.
- Paramètres:
-
- Renvoie:
- FinderIndexerToken A FinderIndexerToken object.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, $i, $key, et $query.
FinderIndexerQuery::processDates |
( |
|
$date1, |
|
|
|
$date2, |
|
|
|
$when1, |
|
|
|
$when2 |
|
) |
| |
|
protected |
FinderIndexerQuery::processDynamicTaxonomy |
( |
|
$filters | ) |
|
|
protected |
Method to process the dynamic taxonomy input. The dynamic taxonomy input comes in the form of select fields that the user chooses from. The dynamic taxonomy input is processed AFTER the static taxonomy input because the dynamic options can be used to further narrow a static taxonomy filter.
- Paramètres:
-
array | $filters | An array of taxonomy node ids. |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $db, $query, $user, JFactory\getUser(), et JArrayHelper\toInteger().
FinderIndexerQuery::processStaticTaxonomy |
( |
|
$filterId | ) |
|
|
protected |
FinderIndexerQuery::processString |
( |
|
$input, |
|
|
|
$lang, |
|
|
|
$mode |
|
) |
| |
|
protected |
Method to process the query input string and extract required, optional, and excluded tokens; taxonomy filters; and date filters.
- Paramètres:
-
string | $input | The query input string. |
string | $lang | The query input language. |
string | $mode | The query matching mode. |
- Renvoie:
- boolean True on success.
- Depuis:
- 2.5
- Exceptions:
-
Exception | on database error. |
Références $date, $i, $key, $lang, $mode, $parts, $return, $suffix, JText\_(), FinderHelperLanguage\branchSingular(), elseif, ENT_QUOTES, JFactory\getApplication(), FinderIndexerTaxonomy\getBranchTitles(), JFactory\getConfig(), JFactory\getDate(), FinderIndexerTaxonomy\getNodeByTitle(), JDEBUG, null, JString\strlen(), JString\strpos(), JString\strtolower(), JString\substr(), FinderIndexerHelper\tokenize(), et JString\trim().
FinderIndexerQuery::toURI |
( |
|
$base = null | ) |
|
Documentation des données membres
FinderIndexerQuery::$date1 |
FinderIndexerQuery::$date2 |
FinderIndexerQuery::$excluded = array() |
FinderIndexerQuery::$filter |
FinderIndexerQuery::$filters = array() |
FinderIndexerQuery::$highlight = array() |
FinderIndexerQuery::$ignored = array() |
FinderIndexerQuery::$included = array() |
FinderIndexerQuery::$input |
FinderIndexerQuery::$language |
FinderIndexerQuery::$mode |
FinderIndexerQuery::$operators = array() |
FinderIndexerQuery::$search |
FinderIndexerQuery::$terms |
FinderIndexerQuery::$when1 |
FinderIndexerQuery::$when2 |
La documentation de cette classe a été générée à partir du fichier suivant :