Riferimenti per la classe tslib_search

Lista di tutti i membri.

Membri pubblici

 register_tables_and_columns ($requestedCols, $allowedCols)
 explodeCols ($in)
 register_and_explode_search_string ($sword)
 split ($origSword, $specchars='+-', $delchars='+.,-')
 quotemeta ($str)
 build_search_query ($endClause)
 build_search_query_for_searchwords ()
 get_operator ($operator)
 count_query ()
 execute_query ()
 get_searchwords ()
 get_searchwordsArray ()
 register_tables_and_columns ($requestedCols, $allowedCols)
 explodeCols ($in)
 register_and_explode_search_string ($sword)
 split ($origSword, $specchars='+-', $delchars='+.,-')
 quotemeta ($str)
 build_search_query ($endClause)
 build_search_query_for_searchwords ()
 get_operator ($operator)
 count_query ()
 execute_query ()
 get_searchwords ()
 get_searchwordsArray ()
 register_tables_and_columns ($requestedCols, $allowedCols)
 explodeCols ($in)
 register_and_explode_search_string ($sword)
 split ($origSword, $specchars='+-', $delchars='+.,-')
 quotemeta ($str)
 build_search_query ($endClause)
 build_search_query_for_searchwords ()
 get_operator ($operator)
 count_query ()
 execute_query ()
 get_searchwords ()
 get_searchwordsArray ()
 register_tables_and_columns ($requestedCols, $allowedCols)
 explodeCols ($in)
 register_and_explode_search_string ($sword)
 split ($origSword, $specchars='+-', $delchars='+.,-')
 quotemeta ($str)
 build_search_query ($endClause)
 build_search_query_for_searchwords ()
 get_operator ($operator)
 count_query ()
 execute_query ()
 get_searchwords ()
 get_searchwordsArray ()
 register_tables_and_columns ($requestedCols, $allowedCols)
 explodeCols ($in)
 register_and_explode_search_string ($sword)
 split ($origSword, $specchars='+-', $delchars='+.,-')
 quotemeta ($str)
 build_search_query ($endClause)
 build_search_query_for_searchwords ()
 get_operator ($operator)
 count_query ()
 execute_query ()
 get_searchwords ()
 get_searchwordsArray ()
 register_tables_and_columns ($requestedCols, $allowedCols)
 explodeCols ($in)
 register_and_explode_search_string ($sword)
 split ($origSword, $specchars='+-', $delchars='+.,-')
 quotemeta ($str)
 build_search_query ($endClause)
 build_search_query_for_searchwords ()
 get_operator ($operator)
 count_query ()
 execute_query ()
 get_searchwords ()
 get_searchwordsArray ()

Attributi pubblici

 $tables = Array ()
 $group_by = 'PRIMARY_KEY'
 $default_operator = 'AND'
 $operator_translate_table_caseinsensitive = TRUE
 $operator_translate_table
 $sword_array
 $queryParts
 $other_where_clauses
 $fTable
 $res_offset = 0
 $res_shows = 20
 $res_count
 $pageIdList = ''
 $listOfSearchFields = ''

Descrizione Dettagliata

Definizione alla linea 88 del file class.tslib_search.php.


Documentazione delle funzioni membro

tslib_search::build_search_query endClause  ) 
 

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

Parametri:
string $endClause is some extra conditions that the search must match.
Restituisce:
boolean Returns true no matter what - sweet isn't it! private
Vedi anche:
tslib_cObj::SEARCHRESULT()

Definizione alla linea 285 del file class.tslib_search.php.

Riferimenti $key, $tables, $val, primary_key, e WHERE.

tslib_search::build_search_query endClause  ) 
 

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

Parametri:
string $endClause is some extra conditions that the search must match.
Restituisce:
boolean Returns true no matter what - sweet isn't it! private
Vedi anche:
tslib_cObj::SEARCHRESULT()

Definizione alla linea 285 del file class.tslib_search.php.

Riferimenti $key, $tables, $val, primary_key, e WHERE.

tslib_search::build_search_query endClause  ) 
 

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

Parametri:
string $endClause is some extra conditions that the search must match.
Restituisce:
boolean Returns true no matter what - sweet isn't it! private
Vedi anche:
tslib_cObj::SEARCHRESULT()

Definizione alla linea 285 del file class.tslib_search.php.

Riferimenti $key, $tables, $val, primary_key, e WHERE.

tslib_search::build_search_query endClause  ) 
 

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

Parametri:
string $endClause is some extra conditions that the search must match.
Restituisce:
boolean Returns true no matter what - sweet isn't it! private
Vedi anche:
tslib_cObj::SEARCHRESULT()

Definizione alla linea 285 del file class.tslib_search.php.

Riferimenti $key, $tables, $val, primary_key, e WHERE.

tslib_search::build_search_query endClause  ) 
 

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

Parametri:
string $endClause is some extra conditions that the search must match.
Restituisce:
boolean Returns true no matter what - sweet isn't it! private
Vedi anche:
tslib_cObj::SEARCHRESULT()

Definizione alla linea 285 del file class.tslib_search.php.

Riferimenti $key, $tables, $val, primary_key, e WHERE.

tslib_search::build_search_query endClause  ) 
 

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

Parametri:
string $endClause is some extra conditions that the search must match.
Restituisce:
boolean Returns true no matter what - sweet isn't it! private
Vedi anche:
tslib_cObj::SEARCHRESULT()

Definizione alla linea 285 del file class.tslib_search.php.

Riferimenti $key, $tables, $val, primary_key, e WHERE.

tslib_search::build_search_query_for_searchwords  ) 
 

Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)

Restituisce:
string Part of where class limiting result to the those having the search word. private

Definizione alla linea 371 del file class.tslib_search.php.

Riferimenti $key, $val, e LIKE.

tslib_search::build_search_query_for_searchwords  ) 
 

Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)

Restituisce:
string Part of where class limiting result to the those having the search word. private

Definizione alla linea 371 del file class.tslib_search.php.

Riferimenti $key, $val, e LIKE.

tslib_search::build_search_query_for_searchwords  ) 
 

Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)

Restituisce:
string Part of where class limiting result to the those having the search word. private

Definizione alla linea 371 del file class.tslib_search.php.

Riferimenti $key, $val, e LIKE.

tslib_search::build_search_query_for_searchwords  ) 
 

Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)

Restituisce:
string Part of where class limiting result to the those having the search word. private

Definizione alla linea 371 del file class.tslib_search.php.

Riferimenti $key, $val, e LIKE.

tslib_search::build_search_query_for_searchwords  ) 
 

Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)

Restituisce:
string Part of where class limiting result to the those having the search word. private

Definizione alla linea 371 del file class.tslib_search.php.

Riferimenti $key, $val, e LIKE.

tslib_search::build_search_query_for_searchwords  ) 
 

Creates the part of the SQL-sentence, that searches for the search-words ($this->sword_array)

Restituisce:
string Part of where class limiting result to the those having the search word. private

Definizione alla linea 371 del file class.tslib_search.php.

Riferimenti $key, $val, e LIKE.

tslib_search::count_query  ) 
 

Counts the results and sets the result in $this->res_count

Restituisce:
boolean True, if $this->query was found

Definizione alla linea 436 del file class.tslib_search.php.

Riferimenti $GLOBALS, $res, e WHERE.

tslib_search::count_query  ) 
 

Counts the results and sets the result in $this->res_count

Restituisce:
boolean True, if $this->query was found

Definizione alla linea 436 del file class.tslib_search.php.

Riferimenti $GLOBALS, $res, e WHERE.

tslib_search::count_query  ) 
 

Counts the results and sets the result in $this->res_count

Restituisce:
boolean True, if $this->query was found

Definizione alla linea 436 del file class.tslib_search.php.

Riferimenti $GLOBALS, $res, e WHERE.

tslib_search::count_query  ) 
 

Counts the results and sets the result in $this->res_count

Restituisce:
boolean True, if $this->query was found

Definizione alla linea 436 del file class.tslib_search.php.

Riferimenti $GLOBALS, $res, e WHERE.

tslib_search::count_query  ) 
 

Counts the results and sets the result in $this->res_count

Restituisce:
boolean True, if $this->query was found

Definizione alla linea 436 del file class.tslib_search.php.

Riferimenti $GLOBALS, $res, e WHERE.

tslib_search::count_query  ) 
 

Counts the results and sets the result in $this->res_count

Restituisce:
boolean True, if $this->query was found

Definizione alla linea 436 del file class.tslib_search.php.

Riferimenti $GLOBALS, $res, e WHERE.

tslib_search::execute_query  ) 
 

Executes the search, sets result pointer in $this->result

Restituisce:
boolean True, if $this->query was set and query performed

Definizione alla linea 449 del file class.tslib_search.php.

Riferimenti $GLOBALS.

tslib_search::execute_query  ) 
 

Executes the search, sets result pointer in $this->result

Restituisce:
boolean True, if $this->query was set and query performed

Definizione alla linea 449 del file class.tslib_search.php.

Riferimenti $GLOBALS.

tslib_search::execute_query  ) 
 

Executes the search, sets result pointer in $this->result

Restituisce:
boolean True, if $this->query was set and query performed

Definizione alla linea 449 del file class.tslib_search.php.

Riferimenti $GLOBALS.

tslib_search::execute_query  ) 
 

Executes the search, sets result pointer in $this->result

Restituisce:
boolean True, if $this->query was set and query performed

Definizione alla linea 449 del file class.tslib_search.php.

Riferimenti $GLOBALS.

tslib_search::execute_query  ) 
 

Executes the search, sets result pointer in $this->result

Restituisce:
boolean True, if $this->query was set and query performed

Definizione alla linea 449 del file class.tslib_search.php.

Riferimenti $GLOBALS.

tslib_search::execute_query  ) 
 

Executes the search, sets result pointer in $this->result

Restituisce:
boolean True, if $this->query was set and query performed

Definizione alla linea 449 del file class.tslib_search.php.

Riferimenti $GLOBALS.

tslib_search::explodeCols in  ) 
 

Function that can convert the syntax for entering which tables/fields the search should be conducted in.

Parametri:
string This is the code-line defining the tables/fields to search. Syntax: '[table1].[field1]-[field2]-[field3] : [table2].[field1]-[field2]'
Restituisce:
array An array where the values is "[table].[field]" strings to search
Vedi anche:
register_tables_and_columns()

Definizione alla linea 168 del file class.tslib_search.php.

Riferimenti $parts, e $val.

tslib_search::explodeCols in  ) 
 

Function that can convert the syntax for entering which tables/fields the search should be conducted in.

Parametri:
string This is the code-line defining the tables/fields to search. Syntax: '[table1].[field1]-[field2]-[field3] : [table2].[field1]-[field2]'
Restituisce:
array An array where the values is "[table].[field]" strings to search
Vedi anche:
register_tables_and_columns()

Definizione alla linea 168 del file class.tslib_search.php.

Riferimenti $parts, e $val.

tslib_search::explodeCols in  ) 
 

Function that can convert the syntax for entering which tables/fields the search should be conducted in.

Parametri:
string This is the code-line defining the tables/fields to search. Syntax: '[table1].[field1]-[field2]-[field3] : [table2].[field1]-[field2]'
Restituisce:
array An array where the values is "[table].[field]" strings to search
Vedi anche:
register_tables_and_columns()

Definizione alla linea 168 del file class.tslib_search.php.

Riferimenti $parts, e $val.

tslib_search::explodeCols in  ) 
 

Function that can convert the syntax for entering which tables/fields the search should be conducted in.

Parametri:
string This is the code-line defining the tables/fields to search. Syntax: '[table1].[field1]-[field2]-[field3] : [table2].[field1]-[field2]'
Restituisce:
array An array where the values is "[table].[field]" strings to search
Vedi anche:
register_tables_and_columns()

Definizione alla linea 168 del file class.tslib_search.php.

Riferimenti $parts, e $val.

tslib_search::explodeCols in  ) 
 

Function that can convert the syntax for entering which tables/fields the search should be conducted in.

Parametri:
string This is the code-line defining the tables/fields to search. Syntax: '[table1].[field1]-[field2]-[field3] : [table2].[field1]-[field2]'
Restituisce:
array An array where the values is "[table].[field]" strings to search
Vedi anche:
register_tables_and_columns()

Definizione alla linea 168 del file class.tslib_search.php.

Riferimenti $parts, e $val.

tslib_search::explodeCols in  ) 
 

Function that can convert the syntax for entering which tables/fields the search should be conducted in.

Parametri:
string This is the code-line defining the tables/fields to search. Syntax: '[table1].[field1]-[field2]-[field3] : [table2].[field1]-[field2]'
Restituisce:
array An array where the values is "[table].[field]" strings to search
Vedi anche:
register_tables_and_columns()

Definizione alla linea 168 del file class.tslib_search.php.

Riferimenti $parts, e $val.

Referenziato da register_tables_and_columns().

tslib_search::get_operator operator  ) 
 

This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).

Parametri:
string The possible operator to find in the internal operator array.
Restituisce:
string If found, the SQL operator for the localized input operator. private

Definizione alla linea 413 del file class.tslib_search.php.

Riferimenti $item, $key, e $val.

tslib_search::get_operator operator  ) 
 

This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).

Parametri:
string The possible operator to find in the internal operator array.
Restituisce:
string If found, the SQL operator for the localized input operator. private

Definizione alla linea 413 del file class.tslib_search.php.

Riferimenti $item, $key, e $val.

tslib_search::get_operator operator  ) 
 

This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).

Parametri:
string The possible operator to find in the internal operator array.
Restituisce:
string If found, the SQL operator for the localized input operator. private

Definizione alla linea 413 del file class.tslib_search.php.

Riferimenti $item, $key, e $val.

tslib_search::get_operator operator  ) 
 

This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).

Parametri:
string The possible operator to find in the internal operator array.
Restituisce:
string If found, the SQL operator for the localized input operator. private

Definizione alla linea 413 del file class.tslib_search.php.

Riferimenti $item, $key, e $val.

tslib_search::get_operator operator  ) 
 

This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).

Parametri:
string The possible operator to find in the internal operator array.
Restituisce:
string If found, the SQL operator for the localized input operator. private

Definizione alla linea 413 del file class.tslib_search.php.

Riferimenti $item, $key, e $val.

tslib_search::get_operator operator  ) 
 

This returns an SQL search-operator (eg. AND, OR, NOT) translated from the current localized set of operators (eg. in danish OG, ELLER, IKKE).

Parametri:
string The possible operator to find in the internal operator array.
Restituisce:
string If found, the SQL operator for the localized input operator. private

Definizione alla linea 413 del file class.tslib_search.php.

Riferimenti $item, $key, e $val.

Referenziato da register_and_explode_search_string().

tslib_search::get_searchwords  ) 
 

Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.

Restituisce:
string URL-parameters with the searchwords

Definizione alla linea 462 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwords  ) 
 

Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.

Restituisce:
string URL-parameters with the searchwords

Definizione alla linea 462 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwords  ) 
 

Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.

Restituisce:
string URL-parameters with the searchwords

Definizione alla linea 462 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwords  ) 
 

Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.

Restituisce:
string URL-parameters with the searchwords

Definizione alla linea 462 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwords  ) 
 

Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.

Restituisce:
string URL-parameters with the searchwords

Definizione alla linea 462 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwords  ) 
 

Returns URL-parameters with the current search words. Used when linking to result pages so that search words can be highlighted.

Restituisce:
string URL-parameters with the searchwords

Definizione alla linea 462 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwordsArray  ) 
 

Returns an array with the search words in

Restituisce:
array IF the internal sword_array contained search words it will return these, otherwise "void"

Definizione alla linea 477 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwordsArray  ) 
 

Returns an array with the search words in

Restituisce:
array IF the internal sword_array contained search words it will return these, otherwise "void"

Definizione alla linea 477 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwordsArray  ) 
 

Returns an array with the search words in

Restituisce:
array IF the internal sword_array contained search words it will return these, otherwise "void"

Definizione alla linea 477 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwordsArray  ) 
 

Returns an array with the search words in

Restituisce:
array IF the internal sword_array contained search words it will return these, otherwise "void"

Definizione alla linea 477 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwordsArray  ) 
 

Returns an array with the search words in

Restituisce:
array IF the internal sword_array contained search words it will return these, otherwise "void"

Definizione alla linea 477 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::get_searchwordsArray  ) 
 

Returns an array with the search words in

Restituisce:
array IF the internal sword_array contained search words it will return these, otherwise "void"

Definizione alla linea 477 del file class.tslib_search.php.

Riferimenti $key, e $val.

tslib_search::quotemeta str  ) 
 

Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.

Parametri:
string String to pass through quotemeta()
Restituisce:
string Return value

Definizione alla linea 269 del file class.tslib_search.php.

tslib_search::quotemeta str  ) 
 

Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.

Parametri:
string String to pass through quotemeta()
Restituisce:
string Return value

Definizione alla linea 269 del file class.tslib_search.php.

tslib_search::quotemeta str  ) 
 

Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.

Parametri:
string String to pass through quotemeta()
Restituisce:
string Return value

Definizione alla linea 269 del file class.tslib_search.php.

tslib_search::quotemeta str  ) 
 

Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.

Parametri:
string String to pass through quotemeta()
Restituisce:
string Return value

Definizione alla linea 269 del file class.tslib_search.php.

tslib_search::quotemeta str  ) 
 

Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.

Parametri:
string String to pass through quotemeta()
Restituisce:
string Return value

Definizione alla linea 269 del file class.tslib_search.php.

tslib_search::quotemeta str  ) 
 

Local version of quotemeta. This is the same as the PHP function but the vertical line, |, and minus, -, is also escaped with a slash.

Parametri:
string String to pass through quotemeta()
Restituisce:
string Return value

Definizione alla linea 269 del file class.tslib_search.php.

Referenziato da split().

tslib_search::register_and_explode_search_string sword  ) 
 

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

Parametri:
string The input search-word string.
Restituisce:
void

Definizione alla linea 193 del file class.tslib_search.php.

Riferimenti $i, $key, $val, get_operator(), e split().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_and_explode_search_string sword  ) 
 

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

Parametri:
string The input search-word string.
Restituisce:
void

Definizione alla linea 193 del file class.tslib_search.php.

Riferimenti $i, $key, $val, get_operator(), e split().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_and_explode_search_string sword  ) 
 

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

Parametri:
string The input search-word string.
Restituisce:
void

Definizione alla linea 193 del file class.tslib_search.php.

Riferimenti $i, $key, $val, get_operator(), e split().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_and_explode_search_string sword  ) 
 

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

Parametri:
string The input search-word string.
Restituisce:
void

Definizione alla linea 193 del file class.tslib_search.php.

Riferimenti $i, $key, $val, get_operator(), e split().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_and_explode_search_string sword  ) 
 

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

Parametri:
string The input search-word string.
Restituisce:
void

Definizione alla linea 193 del file class.tslib_search.php.

Riferimenti $i, $key, $val, get_operator(), e split().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_and_explode_search_string sword  ) 
 

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

Parametri:
string The input search-word string.
Restituisce:
void

Definizione alla linea 193 del file class.tslib_search.php.

Riferimenti $i, $key, $val, get_operator(), e split().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_tables_and_columns requestedCols,
allowedCols
 

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.

Parametri:
string is a list (-) of columns that we want to search. This could be input from the search-form (see TypoScript documentation)
string $allowedCols: is the list of columns, that MAY be searched. All allowed cols are set as result-fields. All requested cols MUST be in the allowed-fields list.
Restituisce:
void

Definizione alla linea 127 del file class.tslib_search.php.

Riferimenti $k, $parts, explodeCols(), pages, e primary_key.

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_tables_and_columns requestedCols,
allowedCols
 

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.

Parametri:
string is a list (-) of columns that we want to search. This could be input from the search-form (see TypoScript documentation)
string $allowedCols: is the list of columns, that MAY be searched. All allowed cols are set as result-fields. All requested cols MUST be in the allowed-fields list.
Restituisce:
void

Definizione alla linea 127 del file class.tslib_search.php.

Riferimenti $k, $parts, explodeCols(), pages, e primary_key.

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_tables_and_columns requestedCols,
allowedCols
 

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.

Parametri:
string is a list (-) of columns that we want to search. This could be input from the search-form (see TypoScript documentation)
string $allowedCols: is the list of columns, that MAY be searched. All allowed cols are set as result-fields. All requested cols MUST be in the allowed-fields list.
Restituisce:
void

Definizione alla linea 127 del file class.tslib_search.php.

Riferimenti $k, $parts, explodeCols(), pages, e primary_key.

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_tables_and_columns requestedCols,
allowedCols
 

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.

Parametri:
string is a list (-) of columns that we want to search. This could be input from the search-form (see TypoScript documentation)
string $allowedCols: is the list of columns, that MAY be searched. All allowed cols are set as result-fields. All requested cols MUST be in the allowed-fields list.
Restituisce:
void

Definizione alla linea 127 del file class.tslib_search.php.

Riferimenti $k, $parts, explodeCols(), pages, e primary_key.

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_tables_and_columns requestedCols,
allowedCols
 

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.

Parametri:
string is a list (-) of columns that we want to search. This could be input from the search-form (see TypoScript documentation)
string $allowedCols: is the list of columns, that MAY be searched. All allowed cols are set as result-fields. All requested cols MUST be in the allowed-fields list.
Restituisce:
void

Definizione alla linea 127 del file class.tslib_search.php.

Riferimenti $k, $parts, explodeCols(), pages, e primary_key.

Questo è il grafo delle chiamate per questa funzione:

tslib_search::register_tables_and_columns requestedCols,
allowedCols
 

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.

Parametri:
string is a list (-) of columns that we want to search. This could be input from the search-form (see TypoScript documentation)
string $allowedCols: is the list of columns, that MAY be searched. All allowed cols are set as result-fields. All requested cols MUST be in the allowed-fields list.
Restituisce:
void

Definizione alla linea 127 del file class.tslib_search.php.

Riferimenti $k, $parts, explodeCols(), pages, e primary_key.

Questo è il grafo delle chiamate per questa funzione:

tslib_search::split origSword,
specchars = '+-',
delchars = '+.,
-' 
 

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.

Parametri:
string The raw sword string from outside
string Special chars which are used as operators (+- is default)
string Special chars which are deleted if the append the searchword (+-., is default)
Restituisce:
mixed Returns an ARRAY if there were search words, othervise the return value may be unset.

Definizione alla linea 226 del file class.tslib_search.php.

Riferimenti $value, e quotemeta().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::split origSword,
specchars = '+-',
delchars = '+.,
-' 
 

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.

Parametri:
string The raw sword string from outside
string Special chars which are used as operators (+- is default)
string Special chars which are deleted if the append the searchword (+-., is default)
Restituisce:
mixed Returns an ARRAY if there were search words, othervise the return value may be unset.

Definizione alla linea 226 del file class.tslib_search.php.

Riferimenti $value, e quotemeta().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::split origSword,
specchars = '+-',
delchars = '+.,
-' 
 

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.

Parametri:
string The raw sword string from outside
string Special chars which are used as operators (+- is default)
string Special chars which are deleted if the append the searchword (+-., is default)
Restituisce:
mixed Returns an ARRAY if there were search words, othervise the return value may be unset.

Definizione alla linea 226 del file class.tslib_search.php.

Riferimenti $value, e quotemeta().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::split origSword,
specchars = '+-',
delchars = '+.,
-' 
 

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.

Parametri:
string The raw sword string from outside
string Special chars which are used as operators (+- is default)
string Special chars which are deleted if the append the searchword (+-., is default)
Restituisce:
mixed Returns an ARRAY if there were search words, othervise the return value may be unset.

Definizione alla linea 226 del file class.tslib_search.php.

Riferimenti $value, e quotemeta().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::split origSword,
specchars = '+-',
delchars = '+.,
-' 
 

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.

Parametri:
string The raw sword string from outside
string Special chars which are used as operators (+- is default)
string Special chars which are deleted if the append the searchword (+-., is default)
Restituisce:
mixed Returns an ARRAY if there were search words, othervise the return value may be unset.

Definizione alla linea 226 del file class.tslib_search.php.

Riferimenti $value, e quotemeta().

Questo è il grafo delle chiamate per questa funzione:

tslib_search::split origSword,
specchars = '+-',
delchars = '+.,
-' 
 

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.

Parametri:
string The raw sword string from outside
string Special chars which are used as operators (+- is default)
string Special chars which are deleted if the append the searchword (+-., is default)
Restituisce:
mixed Returns an ARRAY if there were search words, othervise the return value may be unset.

Definizione alla linea 226 del file class.tslib_search.php.

Riferimenti $value, e quotemeta().

Referenziato da register_and_explode_search_string().

Questo è il grafo delle chiamate per questa funzione:


Documentazione dei dati membri

tslib_search::$default_operator = 'AND'
 

Definizione alla linea 92 del file class.tslib_search.php.

tslib_search::$fTable
 

Definizione alla linea 109 del file class.tslib_search.php.

tslib_search::$group_by = 'PRIMARY_KEY'
 

Definizione alla linea 91 del file class.tslib_search.php.

tslib_search::$listOfSearchFields = ''
 

Definizione alla linea 117 del file class.tslib_search.php.

tslib_search::$operator_translate_table
 

Valore iniziale:

 Array (                                        // case-sensitiv. Defineres the words, which will be operators between words
                Array ('+' , 'AND'),
                Array ('|' , 'AND'),
                Array ('-' , 'AND NOT'),
                        // english
                Array ('and' , 'AND'),
                Array ('or' , 'OR'),
                Array ('not' , 'AND NOT'),
        )

Definizione alla linea 94 del file class.tslib_search.php.

tslib_search::$operator_translate_table_caseinsensitive = TRUE
 

Definizione alla linea 93 del file class.tslib_search.php.

tslib_search::$other_where_clauses
 

Definizione alla linea 108 del file class.tslib_search.php.

tslib_search::$pageIdList = ''
 

Definizione alla linea 115 del file class.tslib_search.php.

tslib_search::$queryParts
 

Definizione alla linea 106 del file class.tslib_search.php.

tslib_search::$res_count
 

Definizione alla linea 113 del file class.tslib_search.php.

tslib_search::$res_offset = 0
 

Definizione alla linea 111 del file class.tslib_search.php.

tslib_search::$res_shows = 20
 

Definizione alla linea 112 del file class.tslib_search.php.

tslib_search::$sword_array
 

Definizione alla linea 105 del file class.tslib_search.php.

tslib_search::$tables = Array ()
 

Definizione alla linea 89 del file class.tslib_search.php.


La documentazione per questa classe è stata generata a partire dai seguenti file:
Generato il Thu Jan 19 15:42:57 2006 per TYPO3 versione 3.8.1 da  doxygen 1.4.6