Inheritance diagram for tx_indexedsearch:

Public Member Functions | |
| main ($content, $conf) | |
| initialize () | |
| getSearchWords ($defOp) | |
| procSearchWordsByLexer ($SWArr) | |
| doSearch ($sWArr) | |
| getResultRows ($sWArr, $freeIndexUid=-1) | |
| getResultRows_SQLpointer ($sWArr, $freeIndexUid=-1) | |
| getDisplayResults ($sWArr, $resData, $freeIndexUid=-1) | |
| compileResult ($resultRows, $freeIndexUid=-1) | |
| getPhashList ($sWArr) | |
| execPHashListQuery ($wordSel, $plusQ='') | |
| sectionTableWhere () | |
| mediaTypeWhere () | |
| languageWhere () | |
| freeIndexUidWhere ($freeIndexUid) | |
| execFinalQuery ($list, $freeIndexUid=-1) | |
| checkResume ($row) | |
| isDescending ($inverse=FALSE) | |
| writeSearchStat ($sWArr, $count, $pt) | |
| makeSearchForm ($optValues) | |
| renderSelectBoxValues ($value, $optValues) | |
| printRules () | |
| printResultSectionLinks () | |
| makeSectionHeader ($id, $sectionTitleLinked, $countResultRows) | |
| printResultRow ($row, $headerOnly=0) | |
| pi_list_browseresults ($showResultCount=1, $addString='', $addPart='', $freeIndexUid=-1) | |
| prepareResultRowTemplateData ($row, $headerOnly) | |
| tellUsWhatIsSeachedFor ($sWArr) | |
| wrapSW ($str) | |
| renderSelectBox ($name, $value, $optValues) | |
| makePointerSelector_link ($str, $p, $freeIndexUid) | |
| makeItemTypeIcon ($it, $alt='', $specRowConf) | |
| makeRating ($row) | |
| makeDescription ($row, $noMarkup=0, $lgd=180) | |
| markupSWpartsOfString ($str) | |
| makeTitle ($row) | |
| makeInfo ($row, $tmplArray) | |
| getSpecialConfigForRow ($row) | |
| makeLanguageIndication ($row) | |
| makeAccessIndication ($id) | |
| linkPage ($id, $str, $row=array(), $markUpSwParams=array()) | |
| getRootLine ($id, $pathMP='') | |
| getFirstSysDomainRecordForPage ($id) | |
| getPathFromPageId ($id, $pathMP='') | |
| getMenu ($id) | |
| multiplePagesType ($item_type) | |
| utf8_to_currentCharset ($str) | |
| & | hookRequest ($functionName) |
Public Attributes | |
| $prefixId = 'tx_indexedsearch' | |
| $scriptRelPath = 'pi/class.tx_indexedsearch.php' | |
| $extKey = 'indexed_search' | |
| $join_pages = 0 | |
| $defaultResultNumber = 10 | |
| $operator_translate_table | |
| $wholeSiteIdList = 0 | |
| $sWArr = array() | |
| $optValues = array() | |
| $firstRow = Array() | |
| $cache_path = array() | |
| $cache_rl = array() | |
| $fe_groups_required = array() | |
| $domain_records = array() | |
| $wSelClauses = array() | |
| $resultSections = array() | |
| $external_parsers = array() | |
| $iconFileNameCache = array() | |
| $lexerObj | |
| $templateCode | |
| $hiddenFieldList = 'ext, type, defOp, media, order, group, lang, desc, results' | |
Definition at line 123 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 1191 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
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 700 of file class.tx_indexedsearch.php. |
|
|
Performs the search, the display and writing stats
Definition at line 492 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Execute final query, based on phash integer list. The main point is sorting the result in the right order.
Definition at line 1048 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Returns a query which selects the search-word from the word/rel tables.
Definition at line 903 of file class.tx_indexedsearch.php. |
|
|
Where-clause for free index-uid value.
Definition at line 1007 of file class.tx_indexedsearch.php. |
|
||||||||||||||||
|
Compiles the HTML display of the incoming array of result rows.
Definition at line 648 of file class.tx_indexedsearch.php. |
|
|
Gets the first sys_domain record for the page, $id
Definition at line 2241 of file class.tx_indexedsearch.php. |
|
|
Return the menu of pages used for the selector.
Definition at line 2306 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Returns the path to the page $id
Definition at line 2254 of file class.tx_indexedsearch.php. |
|
|
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 802 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Get search result rows / data from database. Returned as data in array.
Definition at line 550 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Gets a SQL result pointer to traverse for the search records.
Definition at line 624 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Returns the path to the page $id
Definition at line 2226 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 414 of file class.tx_indexedsearch.php. |
|
|
Returns configuration from TypoScript for result row based on ID / location in page tree!
Definition at line 2097 of file class.tx_indexedsearch.php. |
|
|
Returns an object reference to the hook object if any
Definition at line 2345 of file class.tx_indexedsearch.php. |
|
|
Initialize internal variables, especially selector box values for the search form and search words
Definition at line 201 of file class.tx_indexedsearch.php. |
|
|
Returns "DESC" or "" depending on the settings of the incoming highest/lowest result order (piVars['desc']
Definition at line 1238 of file class.tx_indexedsearch.php. |
|
|
Returns AND statement for selection of langauge
Definition at line 995 of file class.tx_indexedsearch.php. |
|
||||||||||||||||||||
|
Links the $str to page $id
Definition at line 2179 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Main function, called from TypoScript as a USER_INT object.
Definition at line 169 of file class.tx_indexedsearch.php. |
|
|
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 2164 of file class.tx_indexedsearch.php. |
|
||||||||||||||||
|
Returns the resume for the search-result.
Definition at line 1933 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Returns the info-string in the bottom of the result-row display (size, dates, path)
Definition at line 2068 of file class.tx_indexedsearch.php. |
|
||||||||||||||||
|
Return icon for file extension
Definition at line 1847 of file class.tx_indexedsearch.php. |
|
|
Returns the HTML code for language indication.
Definition at line 2121 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 1832 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 1889 of file class.tx_indexedsearch.php. |
|
|
Make search form HTML
Definition at line 1304 of file class.tx_indexedsearch.php. |
|
||||||||||||||||
|
Returns the section header of the search result.
Definition at line 1530 of file class.tx_indexedsearch.php. |
|
|
Returns the title of the search result row
Definition at line 2044 of file class.tx_indexedsearch.php. |
|
|
Marks up the search words from $this->sWarr in the $str with a color.
Definition at line 1964 of file class.tx_indexedsearch.php. |
|
|
Returns AND statement for selection of media type
Definition at line 970 of file class.tx_indexedsearch.php. |
|
|
Returns if an item type is a multipage item type
Definition at line 2325 of file class.tx_indexedsearch.php. |
|
||||||||||||||||||||
|
Returns a results browser
Definition at line 1620 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Preparing template data for the result row output
Definition at line 1708 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
This prints a single result row, including a recursive call for subrows.
Definition at line 1551 of file class.tx_indexedsearch.php. |
|
|
Returns the anchor-links to the sections inside the displayed result rows.
Definition at line 1496 of file class.tx_indexedsearch.php. |
|
|
Print the searching rules
Definition at line 1477 of file class.tx_indexedsearch.php. |
|
|
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 448 of file class.tx_indexedsearch.php. |
|
||||||||||||||||
|
Makes a selector box
Definition at line 1808 of file class.tx_indexedsearch.php. |
|
||||||||||||
|
Function, rendering selector box values.
Definition at line 1458 of file class.tx_indexedsearch.php. |
|
|
Returns AND statement for selection of section in database. (rootlevel 0-2 + page_id)
Definition at line 923 of file class.tx_indexedsearch.php. |
|
|
Returns a string that tells which search words are searched for.
Definition at line 1762 of file class.tx_indexedsearch.php. |
|
|
Converts the input string from utf-8 to the backend charset.
Definition at line 2335 of file class.tx_indexedsearch.php. |
|
|
Wraps the search words in the search-word list display (from ->tellUsWhatIsSeachedFor())
Definition at line 1796 of file class.tx_indexedsearch.php. |
|
||||||||||||||||
|
Write statistics information to database for the search operation
Definition at line 1252 of file class.tx_indexedsearch.php. |
|
|
Definition at line 149 of file class.tx_indexedsearch.php. |
|
|
Definition at line 150 of file class.tx_indexedsearch.php. |
|
|
Definition at line 129 of file class.tx_indexedsearch.php. |
|
|
Definition at line 152 of file class.tx_indexedsearch.php. |
|
|
Definition at line 155 of file class.tx_indexedsearch.php. |
|
|
Reimplemented from tslib_pibase. Definition at line 126 of file class.tx_indexedsearch.php. |
|
|
Definition at line 151 of file class.tx_indexedsearch.php. |
|
|
Definition at line 147 of file class.tx_indexedsearch.php. |
|
|
Definition at line 159 of file class.tx_indexedsearch.php. |
|
|
Definition at line 156 of file class.tx_indexedsearch.php. |
|
|
Definition at line 128 of file class.tx_indexedsearch.php. |
|
|
Definition at line 157 of file class.tx_indexedsearch.php. |
|
|
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 131 of file class.tx_indexedsearch.php. |
|
|
Definition at line 146 of file class.tx_indexedsearch.php. |
|
|
Reimplemented from tslib_pibase. Definition at line 124 of file class.tx_indexedsearch.php. |
|
|
Definition at line 154 of file class.tx_indexedsearch.php. |
|
|
Reimplemented from tslib_pibase. Definition at line 125 of file class.tx_indexedsearch.php. |
|
|
Definition at line 145 of file class.tx_indexedsearch.php. |
|
|
Definition at line 158 of file class.tx_indexedsearch.php. |
|
|
Definition at line 142 of file class.tx_indexedsearch.php. |
|
|
Definition at line 153 of file class.tx_indexedsearch.php. |
1.4.6