Solutions Open Source

Référence de la classe tx_indexedsearch_modfunc1

Graphe d'héritage de tx_indexedsearch_modfunc1:

Inheritance graph
[légende]
Graphe de collaboration de tx_indexedsearch_modfunc1:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 modMenu ()
 main ()
 drawTableOfIndexedPages ()
 indexed_info ($data, $firstColContent)
 printPhashRow ($row, $grouping=0, $extraGrListRows)
 printPhashRowHeader ()
 returnNumberOfColumns ()
 showDetailsForPhash ($phash)
 listWords ($ftrows, $header, $stopWordBoxes=FALSE, $page='')
 listMetaphoneStat ($ftrows, $header)
 linkWordDetails ($string, $wid)
 linkMetaPhoneDetails ($string, $metaphone)
 flagsMsg ($flags)
 showDetailsForWord ($wid)
 showDetailsForMetaphone ($metaphone)
 printRemoveIndexed ($phash, $alt)
 printReindex ($resultRow, $alt)
 linkDetails ($string, $phash)
 linkList ()
 showPageDetails ($string, $id)
 printExtraGrListRows ($extraGrListRows)
 printRootlineInfo ($row)
 makeItemTypeIcon ($it, $alt='')
 utf8_to_currentCharset ($string)
 reindexPhash ($phash, $pageId)
 getUidRootLineForClosestTemplate ($id)
 removeIndexedPhashRow ($phashList, $clearPageCache=1)
 getGrListEntriesForPhash ($phash, $gr_list)
 processStopWords ($stopWords)
 processPageKeywords ($pageKeywords, $pageUid)

Attributs publics

 $allPhashListed = array()
 $external_parsers = array()
 $iconFileNameCache = array()
 $indexerObj


Documentation des fonctions membres

tx_indexedsearch_modfunc1::modMenu (  ) 

Initialize menu array internally

Renvoie:
void

Réimplémentée à partir de t3lib_extobjbase.

tx_indexedsearch_modfunc1::main (  ) 

Produces main content of the module

Renvoie:
string HTML output

tx_indexedsearch_modfunc1::drawTableOfIndexedPages (  ) 

Produces a table with indexing information for each page.

Renvoie:
string HTML output

tx_indexedsearch_modfunc1::indexed_info ( data,
firstColContent 
)

Create information table row for a page regarding indexing information.

Paramètres:
array Data array for this page
string HTML content for first column (page tree icon etc.)
Renvoie:
string HTML code. (table row)

tx_indexedsearch_modfunc1::printPhashRow ( row,
grouping = 0,
extraGrListRows 
)

Render a single row of information about a indexing entry.

Paramètres:
array Row from query (combined phash table with sections etc).
boolean Set if grouped to previous result; the icon of the element is not shown again.
array Array of index_grlist records.
Renvoie:
array Array of table rows.
Voir également:
indexed_info()

tx_indexedsearch_modfunc1::printPhashRowHeader (  ) 

Creates the header row for the table

Renvoie:
string HTML string (table row)

tx_indexedsearch_modfunc1::returnNumberOfColumns (  ) 

Returns the number of columns depending on display type of list

Renvoie:
integer Number of columns in list:

tx_indexedsearch_modfunc1::showDetailsForPhash ( phash  ) 

Showing details for a particular phash row

Paramètres:
integer phash value to display details for.
Renvoie:
string HTML content

tx_indexedsearch_modfunc1::listWords ( ftrows,
header,
stopWordBoxes = FALSE,
page = '' 
)

Create table with list of words from $ftrows

Paramètres:
array Array of records selected from index_rel/index_words
string Header string to show before table.
boolean If set, the stopWord checkboxes will be shown in the word list. Only for admins. (because it is a global setting, not per-site).
array The page record from which to load the keywords, if any.
Renvoie:
string HTML table

tx_indexedsearch_modfunc1::listMetaphoneStat ( ftrows,
header 
)

Displays table of metaphone groups larger than 1

Paramètres:
array Result from word selection (index_rel/index_words)
string Header string
Renvoie:
string HTML table

tx_indexedsearch_modfunc1::linkWordDetails ( string,
wid 
)

Wraps input string in a link that will display details for the word. Eg. which other pages has the word, metaphone associations etc.

Paramètres:
string String to wrap, possibly a title or so.
integer wid value to show details for
Renvoie:
string Wrapped string

tx_indexedsearch_modfunc1::linkMetaPhoneDetails ( string,
metaphone 
)

Wraps input string in a link to see more details for metaphone value

Paramètres:
string String to wrap
integer Metaphone value
Renvoie:
string Wrapped string

tx_indexedsearch_modfunc1::flagsMsg ( flags  ) 

Creates message for flag value

Paramètres:
integer Flags integer
Renvoie:
string Message string

tx_indexedsearch_modfunc1::showDetailsForWord ( wid  ) 

Show details for words

Paramètres:
integer Word ID (wid)
Renvoie:
string HTML content

tx_indexedsearch_modfunc1::showDetailsForMetaphone ( metaphone  ) 

Show details for metaphone value

Paramètres:
integer Metaphone integer hash
Renvoie:
string HTML content

tx_indexedsearch_modfunc1::printRemoveIndexed ( phash,
alt 
)

Creates icon which clears indexes for a certain list of phash values.

Paramètres:
string List of phash integers
string Alt-text for the garbage bin icon.
Renvoie:
string HTML img-tag with link around.

tx_indexedsearch_modfunc1::printReindex ( resultRow,
alt 
)

Button for re-indexing of documents

Paramètres:
array phash table result row.
string Title attribute text for icon
Renvoie:
string HTML content; Icon wrapped in link.

tx_indexedsearch_modfunc1::linkDetails ( string,
phash 
)

Wraps input string in a link that will display details for the phash value set.

Paramètres:
string String to wrap, possibly a title or so.
integer phash value to show details for
Renvoie:
string Wrapped string

tx_indexedsearch_modfunc1::linkList (  ) 

Creates link back to listing

Renvoie:
string Link back to list

tx_indexedsearch_modfunc1::showPageDetails ( string,
id 
)

Wraps input string in a link that will display details for the phash value set.

Paramètres:
string String to wrap, possibly a title or so.
integer phash value to show details for
Renvoie:
string Wrapped string

tx_indexedsearch_modfunc1::printExtraGrListRows ( extraGrListRows  ) 

Prints the gr_lists attached to a indexed entry.

Paramètres:
array Array of index_grlist records
Renvoie:
string HTML code.

tx_indexedsearch_modfunc1::printRootlineInfo ( row  ) 

Print path for indexing

Paramètres:
array Result row with content from index_section
Renvoie:
string Rootline information

tx_indexedsearch_modfunc1::makeItemTypeIcon ( it,
alt = '' 
)

Return icon for file extension

Paramètres:
string File extension / item type
string Title attribute value in icon.
Renvoie:
string tag for icon

tx_indexedsearch_modfunc1::utf8_to_currentCharset ( string  ) 

Converts the input string from utf-8 to the backend charset.

Paramètres:
string String to convert (utf-8)
Renvoie:
string Converted string (backend charset if different from utf-8)

tx_indexedsearch_modfunc1::reindexPhash ( phash,
pageId 
)

Re-indexing files/records attached to a page.

Paramètres:
integer Phash value
integer The page uid for the section record (file/url could appear more than one place you know...)
Renvoie:
string HTML content

tx_indexedsearch_modfunc1::getUidRootLineForClosestTemplate ( id  ) 

Get rootline for closest TypoScript template root. Algorithm same as used in Web > Template, Object browser

Paramètres:
integer The page id to traverse rootline back from
Renvoie:
array Array where the root lines uid values are found.

tx_indexedsearch_modfunc1::removeIndexedPhashRow ( phashList,
clearPageCache = 1 
)

Removes ALL data regarding a certain list of indexed phash-row

Paramètres:
string List of phash integers
boolean If set, page cache is cleared as well.
Renvoie:
void

tx_indexedsearch_modfunc1::getGrListEntriesForPhash ( phash,
gr_list 
)

Returns an array with gr_list records for a phash

Paramètres:
integer phash integer to look up on
string gr_list string to filter OUT of the result (first occurence)
Renvoie:
array Array of records from index_grlist table

tx_indexedsearch_modfunc1::processStopWords ( stopWords  ) 

Setting / Unsetting stopwords

Paramètres:
array Array of stop-words WIDs with 0/1 to set / unset
Renvoie:
void

tx_indexedsearch_modfunc1::processPageKeywords ( pageKeywords,
pageUid 
)

Setting / Unsetting keywords in page header

Paramètres:
array Page keywords as keys in array with value 0 or 1 for set or unset.
integer The page uid of the header where the keywords are to be set.
Renvoie:
void


Documentation des données membres

tx_indexedsearch_modfunc1::$allPhashListed = array()

tx_indexedsearch_modfunc1::$external_parsers = array()

tx_indexedsearch_modfunc1::$iconFileNameCache = array()

tx_indexedsearch_modfunc1::$indexerObj


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:43:52 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3