Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Freedom/fullsearch.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Full Text Search document
9  *
10  * @author Anakeen 2007
11  * @version $Id: fullsearch.php,v 1.19 2007/10/22 07:30:17 marc Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage GED
15  */
16 /**
17  */
18 include_once ("FDL/Lib.Dir.php");
19 include_once ("FDL/Class.DocSearch.php");
20 include_once ("FDL/freedom_util.php");
21 /**
22  * Fulltext Search document
23  * @param Action &$action current action
24  * @global keyword Http var : word to search in any values
25  * @global famid Http var : restrict to this family identioficator
26  * @global start Http var : page number
27  * @global dirid Http var : search identificator
28  */
29 function fullsearch(&$action)
30 {
31 
32  $famid = GetHttpVars("famid", 0);
33  $keyword = GetHttpVars("_se_key", GetHttpVars("keyword")); // keyword to search
34  $target = GetHttpVars("target"); // target window when click on document
35  $start = GetHttpVars("start", 0); // page number
36  $dirid = GetHttpVars("dirid", 0); // special search
37  redirect($action, "FGSEARCH", "FULLSEARCH&famid=$famid&keyword=$keyword&target=$target&start=$start&dirid=$dirid");
38 }
39 ?>
← centre documentaire © anakeen - published under CC License - Dynacase