Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
benchmark_search.php File Reference

Go to the source code of this file.

Namespaces

namespace  FDL
 

Functions

 resetcperm ()
 
 print_stat (&$stat)
 
 print_stat_search ($stat)
 
 print_stat_search_fam (&$stat, &$fam, &$table)
 
 print_stat_search_distinct ($stat)
 
 print_stat_search_fam_distinct (&$stat, &$fam, &$table)
 
 print_stat_regex ($stat)
 
 print_stat_regex_fam (&$stat, &$fam, &$table)
 
 print_stat_regex_distinct ($stat)
 
 print_stat_regex_fam_distinct (&$stat, &$fam, &$table)
 
 print_stat_fulltext (&$stat)
 
 print_stat_fulltext_fam (&$stat, &$fam, $table)
 
 print_stat_fulltext_distinct (&$stat)
 
 print_stat_fulltext_fam_distinct (&$stat, &$fam, $table)
 
 bench (&$stat)
 
 bench_search_fam_all (&$stat)
 
 bench_search_fam (&$stat, &$fam)
 
 bench_search_fam_no_order (&$stat, &$fam)
 
 bench_search_fam_order_by_title (&$stat, &$fam)
 
 bench_search_fam_order_by_cdate (&$stat, &$fam)
 
 bench_search_fam_order_by_id (&$stat, &$fam)
 
 bench_regex_fam_no_order (&$stat, &$fam)
 
 bench_regex_fam_order_by_title (&$stat, &$fam)
 
 bench_regex_fam_order_by_cdate (&$stat, &$fam)
 
 bench_regex_fam_order_by_id (&$stat, &$fam)
 
 bench_fulltext_fam_no_order (&$stat, &$fam)
 
 bench_fulltext_fam_order_by_title (&$stat, &$fam)
 
 bench_fulltext_fam_order_by_cdate (&$stat, &$fam)
 
 bench_fulltext_fam_order_by_id (&$stat, &$fam)
 
 bench_fulltext_fam_order_by_rank (&$stat, &$fam)
 
 bench_searchdoc ($opt)
 
 bench_info ($stat)
 

Variables

 $dbaccess_freedom = $action->getParam('FREEDOM_DB')
 
if($dbaccess_freedom=="") $dbaccess_core = $action->getParam('CORE_DB')
 
if($dbaccess_core=="") $default_famid = 0
 
 $default_word = 'test'
 
 $default_limit = 10
 
 $default_resetcperm = 'no'
 
 $parms = array()
 
 $parms ['famid'] = getHttpVars('famid', $default_famid)
 
if(!is_numeric($parms['famid'])) $parms ['word'] = getHttpVars('word', $default_word)
 
if($parms['word']=="") $parms ['limit'] = getHttpVars('limit', $default_limit)
 
if(!is_numeric($parms['limit'])||$parms['limit']<=0) $parms ['resetcperm'] = getHttpVars('resetcperm', 'no')
 
if($parms['resetcperm']!= 'yes'&&$parms['resetcperm']!=
'no') if($parms['resetcperm']==
'yes') 
$stat = array()
 
 $ret = bench($stat)
 

Function Documentation

bench ( $stat)

Bench functions

Definition at line 279 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_fulltext_fam_no_order ( $stat,
$fam 
)

Fulltext

Definition at line 643 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_fulltext_fam_order_by_cdate ( $stat,
$fam 
)

Definition at line 695 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_fulltext_fam_order_by_id ( $stat,
$fam 
)

Definition at line 722 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_fulltext_fam_order_by_rank ( $stat,
$fam 
)

Definition at line 749 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_fulltext_fam_order_by_title ( $stat,
$fam 
)

Definition at line 668 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_info (   $stat)

Bench info header

Definition at line 827 of file benchmark_search.php.

bench_regex_fam_no_order ( $stat,
$fam 
)

Regex

Definition at line 562 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_regex_fam_order_by_cdate ( $stat,
$fam 
)

Definition at line 600 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_regex_fam_order_by_id ( $stat,
$fam 
)

Definition at line 620 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_regex_fam_order_by_title ( $stat,
$fam 
)

Definition at line 580 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_search_fam ( $stat,
$fam 
)

Definition at line 375 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_search_fam_all ( $stat)

Definition at line 285 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_search_fam_no_order ( $stat,
$fam 
)

Search

Definition at line 431 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_search_fam_order_by_cdate ( $stat,
$fam 
)

Definition at line 493 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_search_fam_order_by_id ( $stat,
$fam 
)

Definition at line 526 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_search_fam_order_by_title ( $stat,
$fam 
)

Definition at line 460 of file benchmark_search.php.

+ Here is the call graph for this function:

bench_searchdoc (   $opt)

Generic bench_searchdoc()

Definition at line 779 of file benchmark_search.php.

print_stat ( $stat)

Definition at line 111 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_fulltext ( $stat)

Print fulltext stat

Definition at line 230 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_fulltext_distinct ( $stat)

Definition at line 253 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_fulltext_fam ( $stat,
$fam,
  $table 
)

Definition at line 246 of file benchmark_search.php.

print_stat_fulltext_fam_distinct ( $stat,
$fam,
  $table 
)

Definition at line 269 of file benchmark_search.php.

print_stat_regex (   $stat)

Print Regex stat

Definition at line 181 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_regex_distinct (   $stat)

Definition at line 204 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_regex_fam ( $stat,
$fam,
$table 
)

Definition at line 197 of file benchmark_search.php.

print_stat_regex_fam_distinct ( $stat,
$fam,
$table 
)

Definition at line 220 of file benchmark_search.php.

print_stat_search (   $stat)

Print Search stat

Definition at line 124 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_search_distinct (   $stat)

Definition at line 151 of file benchmark_search.php.

+ Here is the call graph for this function:

print_stat_search_fam ( $stat,
$fam,
$table 
)

Definition at line 140 of file benchmark_search.php.

print_stat_search_fam_distinct ( $stat,
$fam,
$table 
)

Definition at line 167 of file benchmark_search.php.

resetcperm ( )

Definition at line 85 of file benchmark_search.php.

Variable Documentation

if ($dbaccess_freedom=="") $dbaccess_core = $action->getParam('CORE_DB')

Definition at line 29 of file benchmark_search.php.

$dbaccess_freedom = $action->getParam('FREEDOM_DB')

Definition at line 23 of file benchmark_search.php.

if ($dbaccess_core=="") $default_famid = 0

Definition at line 35 of file benchmark_search.php.

$default_limit = 10

Definition at line 37 of file benchmark_search.php.

$default_resetcperm = 'no'

Definition at line 38 of file benchmark_search.php.

$default_word = 'test'

Definition at line 36 of file benchmark_search.php.

$parms = array()

Definition at line 40 of file benchmark_search.php.

$parms['famid'] = getHttpVars('famid', $default_famid)

Definition at line 41 of file benchmark_search.php.

if (!is_numeric($parms['famid'])) $parms['word'] = getHttpVars('word', $default_word)

Definition at line 50 of file benchmark_search.php.

if ($parms['word']=="") $parms['limit'] = getHttpVars('limit', $default_limit)

Definition at line 55 of file benchmark_search.php.

if (!is_numeric($parms['limit'])||$parms['limit']<=0) $parms['resetcperm'] = getHttpVars('resetcperm', 'no')

Definition at line 61 of file benchmark_search.php.

$ret = bench($stat)

Definition at line 76 of file benchmark_search.php.

if ($parms['resetcperm']!= 'yes'&&$parms['resetcperm']!= 'no') if ($parms['resetcperm']== 'yes') $stat = array()

Definition at line 75 of file benchmark_search.php.

← centre documentaire © anakeen - published under CC License - Dynacase