Documentation TYPO3 par Ameos |
Definition at line 88 of file class.tslib_search.php.
|
This creates the search-query. In TypoScript this is used for searching only records not hidden, start/endtimed and fe_grouped! (enable-fields, see tt_content) Sets $this->queryParts
Definition at line 288 of file class.tslib_search.php. |
|
This creates the search-query. In TypoScript this is used for searching only records not hidden, start/endtimed and fe_grouped! (enable-fields, see tt_content) Sets $this->queryParts
Definition at line 288 of file class.tslib_search.php. |
|
Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)
Definition at line 374 of file class.tslib_search.php. |
|
Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)
Definition at line 374 of file class.tslib_search.php. |
|
Counts the results and sets the result in $this->res_count
Definition at line 439 of file class.tslib_search.php. |
|
Counts the results and sets the result in $this->res_count
Definition at line 439 of file class.tslib_search.php. |
|
Executes the search, sets result pointer in $this->result
Definition at line 452 of file class.tslib_search.php. |
|
Executes the search, sets result pointer in $this->result
Definition at line 452 of file class.tslib_search.php. |
|
Function that can convert the syntax for entering which tables/fields the search should be conducted in.
Definition at line 171 of file class.tslib_search.php. |
|
Function that can convert the syntax for entering which tables/fields the search should be conducted in.
Definition at line 171 of file class.tslib_search.php. Referenced by register_tables_and_columns(). |
|
This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).
Definition at line 416 of file class.tslib_search.php. |
|
This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).
Definition at line 416 of file class.tslib_search.php. Referenced by register_and_explode_search_string(). |
|
Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.
Definition at line 465 of file class.tslib_search.php. |
|
Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.
Definition at line 465 of file class.tslib_search.php. |
|
Returns an array with the search words in
Definition at line 480 of file class.tslib_search.php. |
|
Returns an array with the search words in
Definition at line 480 of file class.tslib_search.php. |
|
Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.
Definition at line 272 of file class.tslib_search.php. |
|
Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.
Definition at line 272 of file class.tslib_search.php. Referenced by split(). |
|
Takes a search-string (WITHOUT SLASHES or else it'll be a little sppooky , NOW REMEMBER to unslash!!) Sets up $this->sword_array op with operators. This function uses $this->operator_translate_table as well as $this->default_operator
Definition at line 196 of file class.tslib_search.php. References get_operator(), and split(). |
|
Takes a search-string (WITHOUT SLASHES or else it'll be a little sppooky , NOW REMEMBER to unslash!!) Sets up $this->sword_array op with operators. This function uses $this->operator_translate_table as well as $this->default_operator
Definition at line 196 of file class.tslib_search.php. References get_operator(), and split(). |
|
Creates the $this->tables-array. The 'pages'-table is ALWAYS included as the search is page-based. Apart from this there may be one and only one table, joined with the pages-table. This table is the first table mentioned in the requested-list. If any more tables are set here, they are ignored.
Definition at line 130 of file class.tslib_search.php. References explodeCols(). |
|
Creates the $this->tables-array. The 'pages'-table is ALWAYS included as the search is page-based. Apart from this there may be one and only one table, joined with the pages-table. This table is the first table mentioned in the requested-list. If any more tables are set here, they are ignored.
Definition at line 130 of file class.tslib_search.php. References explodeCols(). |
|
Used to split a search-word line up into elements to search for. This function will detect boolean words like AND and OR, + and -, and even find sentences encapsulated in "" This function could be re-written to be more clean and effective - yet it's not that important.
Definition at line 229 of file class.tslib_search.php. References quotemeta(). |
|
Used to split a search-word line up into elements to search for. This function will detect boolean words like AND and OR, + and -, and even find sentences encapsulated in "" This function could be re-written to be more clean and effective - yet it's not that important.
Definition at line 229 of file class.tslib_search.php. References quotemeta(). Referenced by register_and_explode_search_string(). |
|
Initial value: Array ( // case-sensitiv. Defineres the words, which will be operators between words Array ('+' , 'AND'), Array ('-' , 'AND NOT'), // english Array ('AND' , 'AND'), Array ('OR' , 'OR'), Array ('NOT' , 'AND NOT'), // danish Array ('OG' , 'AND'), Array ('ELLER' , 'OR'), Array ('UDEN' , 'AND NOT') ) Definition at line 94 of file class.tslib_search.php. |