Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
app_update.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: app_update.php,v 1.2 2003/08/18 15:46:41 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage APPMNG
15  */
16 /**
17  */
18 // ---------------------------------------------------------------
19 // $Id: app_update.php,v 1.2 2003/08/18 15:46:41 eric Exp $
20 // $Source: /home/cvsroot/anakeen/freedom/core/Action/Appmng/app_update.php,v $
21 // ---------------------------------------------------------------
22 // $Log: app_update.php,v $
23 // Revision 1.2 2003/08/18 15:46:41 eric
24 // phpdoc
25 //
26 // Revision 1.1 2002/01/08 12:41:33 eric
27 // first
28 //
29 // Revision 1.4 2001/07/25 12:51:12 eric
30 // ajout fonction updateall
31 //
32 // Revision 1.3 2000/11/02 18:39:08 marc
33 // OK
34 //
35 // Revision 1.2 2000/11/02 18:35:14 marc
36 // Creation (log info : application )
37 //
38 // Revision 1.1.1.1 2000/10/16 08:52:39 yannick
39 // Importation initiale
40 //
41 //
42 //
43 // ---------------------------------------------------------------
44 include_once ("Class.TableLayout.php");
45 include_once ("Class.QueryDb.php");
46 // -----------------------------------
47 function app_update(&$action)
48 {
49  // -----------------------------------
50  $appsel = GetHttpVars("appsel");
51  $application = new Application("", $appsel);
52  $action->log->info("Update " . $application->name);
53  $application->Set($application->name, $action->parent);
54  $application->UpdateApp();
55 
56  redirect($action, "APPMNG", "");
57 }
58 // -----------------------------------
60 {
61  // -----------------------------------
62  $application = new Application();
63  $application->UpdateAllApp();
64 
65  redirect($action, "APPMNG", "");
66 }
67 ?>
← centre documentaire © anakeen - published under CC License - Dynacase