TYPO3 API  SVNRelease
Public Member Functions
tx_indexedsearch_modfunc2 Class Reference
Inheritance diagram for tx_indexedsearch_modfunc2:
Inheritance graph
[legend]
Collaboration diagram for tx_indexedsearch_modfunc2:
Collaboration graph
[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 55 of file class.tx_indexedsearch_modfunc2.php.


Member Function Documentation

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:
integerStart page id
integerDepth to traverse down the page tree.
integer$beginis 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'
stringPerms clause
Returns:
string Returns the list with a comma in the end (if any pages selected!)

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

Referenced by listSeveralStats().

tx_indexedsearch_modfunc2::hookRequest ( functionName)

Returns an object reference to the hook object if any

Parameters:
stringName of the function you want to call / hook key
Returns:
object Hook object, if any. Otherwise null.
Author:
Kasper Skårhøj

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

References $TYPO3_CONF_VARS, and t3lib_div\getUserObj().

Referenced by showStats().

tx_indexedsearch_modfunc2::listSeveralStats ( title,
addwhere,
conf 
)

Generates html table with title and several statistics

Parameters:
stringtitle for statistic, like 'Last 30 days' or 'Last 24 hours'
stringadd where for sql query
arrayconfiguration: words = max words for results, bid = pageid
Returns:
string html table with results

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

References $GLOBALS, $res, $row, and extGetTreeList().

Referenced by showStats().

tx_indexedsearch_modfunc2::main ( )

Calls showStats to generate output.

Returns:
string html table with results from showStats()

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

References $BACK_PATH, $BE_USER, $CLIENT, $SOBE, $TCA, $TYPO3_CONF_VARS, 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 83 of file class.tx_indexedsearch_modfunc2.php.

References $content, $GLOBALS, $TYPO3_CONF_VARS, t3lib_div\_GET(), hookRequest(), and listSeveralStats().

Referenced by main().


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