Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
launch_appl.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: launch_appl.php,v 1.3 2004/03/22 15:21:40 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage CORE
15  */
16 /**
17  */
18 // $Id: launch_appl.php,v 1.3 2004/03/22 15:21:40 eric Exp $
19 // $Log: launch_appl.php,v $
20 // Revision 1.3 2004/03/22 15:21:40 eric
21 // change HTTP variable name to put register_globals = Off
22 //
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 2000/10/18 08:48:24 yannick
30 // Traitement du JS et passage par référence
31 //
32 // Revision 1.3 2000/10/11 12:27:38 yannick
33 // Gestion de l'authentification
34 //
35 // Revision 1.2 2000/10/06 13:59:16 yannick
36 // Ajout des règles de codage
37 //
38 // Revision 1.1.1.1 2000/10/05 17:29:10 yannick
39 // Importation
40 //
41 include_once ('Class.Application.php');
42 
43 function launch_appl(&$action)
44 {
45  // This function is used to launch a function in an application
46  // get the app and function name
47  global $_GET;
48  $appl = new Application();
49  $appl->Set(GetHttpVars("app") , $action->parent);
50 
51  $called = new Action();
52  $called->Set(GetHttpVars("action") , $appl, $action->session);
53 
54  $action->lay->set("OUT", $called->execute());
55 }
56 
57 function app_title(&$action)
58 {
59 
60  global $_GET;
61  $appl = new Application();
62  $appl->Set(GetHttpVars("app") , $action->parent);
63 
64  $action->lay->set("OUT", $appl->description);
65 }
66 ?>
← centre documentaire © anakeen - published under CC License - Dynacase