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

Go to the source code of this file.

Namespaces

namespace  FDL
 

Functions

 fullsearchresult (&$action)
 
 getFileTxt ($dbid, &$tdoc)
 
 strtr8 ($s, $c1, $c2)
 
 highlight_text ($dbid, &$s, $k)
 
 nobr ($text)
 

Function Documentation

fullsearchresult ( $action)

Fulltext Search document

Parameters
Action&$actioncurrent action keyword Http var : word to search in any values famid Http var : restrict to this family identioficator start Http var : page number dirid Http var : search identificator

Definition at line 31 of file fullsearchresult.php.

+ Here is the call graph for this function:

getFileTxt (   $dbid,
$tdoc 
)

return file text values from _txt column

Definition at line 272 of file fullsearchresult.php.

highlight_text (   $dbid,
$s,
  $k 
)

return part of text where are found keywords Due to unaccent fulltext vectorisation need to transpose original text with highlight text done by headline tsearch2 sql function

Parameters
resource$dbiddatabase access
string$soriginal text
string$kkeywords
Returns
string HTML text with tags

Definition at line 299 of file fullsearchresult.php.

+ Here is the call graph for this function:

nobr (   $text)

Definition at line 394 of file fullsearchresult.php.

+ Here is the call graph for this function:

strtr8 (   $s,
  $c1,
  $c2 
)

Definition at line 285 of file fullsearchresult.php.

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