Documentation TYPO3 par Ameos |
Definition at line 121 of file class.tx_indexedsearch.php.
|
Checking if the resume can be shown for the search result (depending on whether the rights are OK) ? Should it also check for gr_list "0,-1"?
Definition at line 1069 of file class.tx_indexedsearch.php. Referenced by getResultRows(). |
|
Takes the array with resultrows as input and returns the result-HTML-code Takes the "group" var into account: Makes a "section" or "flat" display.
Definition at line 633 of file class.tx_indexedsearch.php. References getPathFromPageId(), makeSectionHeader(), tslib_pibase::pi_getLL(), and printResultRow(). Referenced by getDisplayResults(). |
|
Performs the search, the display and writing stats
Definition at line 459 of file class.tx_indexedsearch.php. References $sWArr, getDisplayResults(), getResultRows(), hookRequest(), t3lib_div::milliseconds(), and writeSearchStat(). Referenced by main(). |
|
Execute final query, based on phash integer list. The main point is sorting the result in the right order.
Definition at line 931 of file class.tx_indexedsearch.php. References t3lib_div::intExplode(). Referenced by getResultRows_SQLpointer(). |
|
Returns a query which selects the search-word from the word/rel tables.
Definition at line 827 of file class.tx_indexedsearch.php. Referenced by getPhashList(). |
|
Compiles the HTML display of the incoming array of result rows.
Definition at line 582 of file class.tx_indexedsearch.php. References $sWArr, compileResult(), t3lib_div::intInRange(), tslib_pibase::pi_getLL(), pi_list_browseresults(), printResultSectionLinks(), and tellUsWhatIsSeachedFor(). Referenced by doSearch(). |
|
Gets the first sys_domain record for the page, $id
Definition at line 1965 of file class.tx_indexedsearch.php. |
|
Return the menu of pages used for the selector.
Definition at line 2030 of file class.tx_indexedsearch.php. Referenced by initialize(). |
|
Returns the path to the page $id
Definition at line 1978 of file class.tx_indexedsearch.php. Referenced by compileResult(). |
|
Returns a COMPLETE list of phash-integers matching the search-result composed of the search-words in the sWArr array. The list of phash integers are unsorted and should be used for subsequent selection of index_phash records for display of the result.
Definition at line 726 of file class.tx_indexedsearch.php. References $sWArr, and execPHashListQuery(). Referenced by getResultRows_SQLpointer(). |
|
Get search result rows / data from database. Returned as data in array.
Definition at line 492 of file class.tx_indexedsearch.php. References $firstRow, $sWArr, checkResume(), getResultRows_SQLpointer(), t3lib_div::intInRange(), and multiplePagesType(). Referenced by doSearch(). |
|
Gets a SQL result pointer to traverse for the search records.
Definition at line 562 of file class.tx_indexedsearch.php. References $sWArr, execFinalQuery(), and getPhashList(). Referenced by getResultRows(). |
|
Returns the path to the page $id
Definition at line 1950 of file class.tx_indexedsearch.php. |
|
Splits the search word input into an array where each word is represented by an array with key "sword" holding the search word and key "oper" holds the SQL operator (eg. AND, OR) Only words with 2 or more characters are accepted Max 200 chars total Space is used to split words, "" can be used search for a whole string (not indexed search then) AND, OR and NOT are prefix words, overruling the default operator +/|/- equals AND, OR and NOT as operators. All search words are converted to lowercase. $defOp is the default operator. 1=OR, 0=AND
Definition at line 381 of file class.tx_indexedsearch.php. References hookRequest(), t3lib_div::makeInstance(), and procSearchWordsByLexer(). Referenced by initialize(). |
|
Returns configuration from TypoScript for result row based on ID / location in page tree!
Definition at line 1831 of file class.tx_indexedsearch.php. |
|
Returns an object reference to the hook object if any
Definition at line 2069 of file class.tx_indexedsearch.php. References t3lib_div::getUserObj(). Referenced by doSearch(), getSearchWords(), and initialize(). |
|
Initialize internal variables, especially selector box values for the search form and search words
Definition at line 198 of file class.tx_indexedsearch.php. References getMenu(), getSearchWords(), t3lib_div::getUserObj(), hookRequest(), t3lib_div::intExplode(), t3lib_div::intInRange(), and tslib_pibase::pi_getLL(). Referenced by main(). |
|
Returns "DESC" or "" depending on the settings of the incoming highest/lowest result order (piVars['desc']
Definition at line 1116 of file class.tx_indexedsearch.php. |
|
Returns AND statement for selection of langauge
Definition at line 919 of file class.tx_indexedsearch.php. |
|
Links the $str to page $id
Definition at line 1906 of file class.tx_indexedsearch.php. References t3lib_div::getIndpEnv(), and t3lib_div::implodeArrayForUrl(). |
|
Main function, called from TypoScript as a USER_INT object.
Definition at line 165 of file class.tx_indexedsearch.php. References tslib_pibase::$conf, doSearch(), initialize(), t3lib_div::makeInstance(), makeSearchForm(), tslib_pibase::pi_loadLL(), tslib_pibase::pi_setPiVarDefaults(), tslib_pibase::pi_wrapInBaseClass(), and printRules(). |
|
Returns the HTML code for the locking symbol. NOTICE: Requires a call to ->getPathFromPageId() first in order to work (done in ->makeInfo() by calling that first)
Definition at line 1892 of file class.tx_indexedsearch.php. |
|
Returns the resume for the search-result.
Definition at line 1668 of file class.tx_indexedsearch.php. |
|
Returns the info-string in the bottom of the result-row display (size, dates, path)
Definition at line 1802 of file class.tx_indexedsearch.php. References t3lib_div::formatSize(). |
|
Return icon for file extension
Definition at line 1582 of file class.tx_indexedsearch.php. References t3lib_div::getFileAbsFileName(). |
|
Returns the HTML code for language indication.
Definition at line 1855 of file class.tx_indexedsearch.php. |
|
Used to make the link for the result-browser. Notice how the links must resubmit the form after setting the new pointer-value in a hidden formfield.
Definition at line 1569 of file class.tx_indexedsearch.php. |
|
Return the rating-HTML code for the result row. This makes use of the $this->firstRow
Definition at line 1624 of file class.tx_indexedsearch.php. References t3lib_div::intInRange(). |
|
Make search form HTML
Definition at line 1182 of file class.tx_indexedsearch.php. Referenced by main(). |
|
Returns the section header of the search result.
Definition at line 1292 of file class.tx_indexedsearch.php. Referenced by compileResult(). |
|
Returns the title of the search result row
Definition at line 1778 of file class.tx_indexedsearch.php. |
|
Marks up the search words from $this->sWarr in the $str with a color.
Definition at line 1698 of file class.tx_indexedsearch.php. References t3lib_div::intInRange(). |
|
Returns AND statement for selection of media type
Definition at line 894 of file class.tx_indexedsearch.php. |
|
Returns if an item type is a multipage item type
Definition at line 2049 of file class.tx_indexedsearch.php. Referenced by getResultRows(). |
|
Returns a results browser
Definition at line 1383 of file class.tx_indexedsearch.php. References t3lib_div::intInRange(). Referenced by getDisplayResults(). |
|
Preparing template data for the result row output
Definition at line 1446 of file class.tx_indexedsearch.php. |
|
This prints a single result row, including a recursive call for subrows.
Definition at line 1308 of file class.tx_indexedsearch.php. Referenced by compileResult(). |
|
Returns the anchor-links to the sections inside the displayed result rows.
Definition at line 1270 of file class.tx_indexedsearch.php. Referenced by getDisplayResults(). |
|
Print the searching rules
Definition at line 1254 of file class.tx_indexedsearch.php. Referenced by main(). |
|
Post-process the search word array so it will match the words that was indexed (including case-folding if any) If any words are splitted into multiple words (eg. CJK will be!) the operator of the main word will remain.
Definition at line 415 of file class.tx_indexedsearch.php. Referenced by getSearchWords(). |
|
Makes a selector box
Definition at line 1546 of file class.tx_indexedsearch.php. |
|
Returns AND statement for selection of section in database. (rootlevel 0-2 + page_id)
Definition at line 847 of file class.tx_indexedsearch.php. References t3lib_div::intExplode(). |
|
Returns a string that tells which search words are searched for.
Definition at line 1500 of file class.tx_indexedsearch.php. Referenced by getDisplayResults(). |
|
Converts the input string from utf-8 to the backend charset.
Definition at line 2059 of file class.tx_indexedsearch.php. |
|
Wraps the search words in the search-word list display (from ->tellUsWhatIsSeachedFor())
Definition at line 1534 of file class.tx_indexedsearch.php. |
|
Write statistics information to database for the search operation
Definition at line 1130 of file class.tx_indexedsearch.php. References t3lib_div::getIndpEnv(). Referenced by doSearch(). |
|
Initial value: Array ( // case-sensitive. Defines the words, which will be operators between words Array ('+' , 'AND'), Array ('|' , 'OR'), Array ('-' , 'AND NOT'), // english # Array ('AND' , 'AND'), # Array ('OR' , 'OR'), # Array ('NOT' , 'AND NOT'), ) Definition at line 129 of file class.tx_indexedsearch.php. |