Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
edit_search.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  * Generated Header (not documented yet)
9  *
10  * @author Anakeen 2000
11  * @version $Id: edit_search.php,v 1.7 2005/02/08 11:34:37 eric 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 // ---------------------------------------------------------------
19 // $Id: edit_search.php,v 1.7 2005/02/08 11:34:37 eric Exp $
20 // $Source: /home/cvsroot/anakeen/freedom/freedom/Action/Freedom/edit_search.php,v $
21 // ---------------------------------------------------------------
22 
23 include_once ("FDL/Lib.Dir.php");
24 // -----------------------------------
25 function edit_search(&$action)
26 {
27  // -----------------------------------
28  $dbaccess = $action->GetParam("FREEDOM_DB");
29  // Get all the params
30  $dir = GetHttpVars("dirid"); // insert search in this folder
31  $action->lay->Set("dirid", $dir);
32 
33  $tclassdoc = GetClassesDoc($dbaccess, $action->user->id, 0, "TABLE");
34 
35  while (list($k, $cdoc) = each($tclassdoc)) {
36  $selectclass[$k]["idcdoc"] = $cdoc["initid"];
37  $selectclass[$k]["classname"] = $cdoc["title"];
38  }
39 
40  $action->lay->SetBlockData("SELECTCLASS", $selectclass);
41 }
42 ?>
← centre documentaire © anakeen - published under CC License - Dynacase