Documentation TYPO3 par Ameos

tx_indexedsearch_modfunc2 Class Reference

Inheritance diagram for tx_indexedsearch_modfunc2:
[legend]
Collaboration diagram for tx_indexedsearch_modfunc2:
[legend]
List of all members.

Public Member Functions

 main ()
 showStats ()
 listSeveralStats ($title, $addwhere, $conf)
 extGetTreeList ($id, $depth, $begin=0, $perms_clause)
hookRequest ($functionName)

Detailed Description

Definition at line 60 of file class.tx_indexedsearch_modfunc2.php.


Member Function Documentation

tx_indexedsearch_modfunc2::main (  ) 

Calls showStats to generate output.

Returns:
string html table with results from showStats()

Definition at line 67 of file class.tx_indexedsearch_modfunc2.php.

References t3lib_BEfunc::getFuncCheck(), and showStats().

tx_indexedsearch_modfunc2::showStats (  ) 

Generates html table containing the statistics. Calls listSeveralStats 3 times, for all statistics, statistics of the last 30 days and statistics of the last 24 hours.

Returns:
string html table with results

Definition at line 88 of file class.tx_indexedsearch_modfunc2.php.

References hookRequest().

Referenced by main().

tx_indexedsearch_modfunc2::listSeveralStats ( title,
addwhere,
conf 
)

Generates html table with title and several statistics

Parameters:
string title for statistic, like 'Last 30 days' or 'Last 24 hours'
string add where for sql query
array configuration: words = max words for results, bid = pageid
Returns:
string html table with results

Definition at line 121 of file class.tx_indexedsearch_modfunc2.php.

References extGetTreeList().

tx_indexedsearch_modfunc2::extGetTreeList ( id,
depth,
begin = 0,
perms_clause 
)

Calls t3lib_tsfeBeUserAuth::extGetTreeList. Although this duplicates the function t3lib_tsfeBeUserAuth::extGetTreeList this is necessary to create the object that is used recursively by the original function.

Generates a list of Page-uid's from $id. List does not include $id itself The only pages excluded from the list are deleted pages.

Parameters:
integer Start page id
integer Depth to traverse down the page tree.
integer $begin is an optional integer that determines at which level in the tree to start collecting uid's. Zero means 'start right away', 1 = 'next level and out'
string Perms clause
Returns:
string Returns the list with a comma in the end (if any pages selected!)

Definition at line 199 of file class.tx_indexedsearch_modfunc2.php.

References t3lib_tsfeBeUserAuth::extGetTreeList().

Referenced by listSeveralStats().

& tx_indexedsearch_modfunc2::hookRequest ( functionName  ) 

Returns an object reference to the hook object if any

Parameters:
string Name of the function you want to call / hook key
Returns:
object Hook object, if any. Otherwise null.
Author:
Kasper Skaarhoj

Definition at line 210 of file class.tx_indexedsearch_modfunc2.php.

References t3lib_div::getUserObj().

Referenced by showStats().


The documentation for this class was generated from the following file:


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6