Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
param_workflow_graph.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  * View workflow graph
9  *
10  * @author Anakeen 2000
11  * @version $Id: param_workflow_graph.php,v 1.2 2008/03/11 11:25:04 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage
15  */
16 /**
17  */
18 
19 include_once ("FDL/Class.WDoc.php");
20 // -----------------------------------
21 
22 /**
23  * Edition to affect document
24  * @param Action &$action current action
25  * @global id Http var : document id to affect
26  * @global viewdoc Http var : with preview of affect document [Y|N]
27  */
29 {
30  $docid = GetHttpVars("id");
31  $viewdoc = (GetHttpVars("viewdoc", "N") == "Y");
32  $type = GetHttpVars("type", "simple"); // type of graph
33  $action->parent->AddJsRef($action->GetParam("CORE_JSURL") . "/geometry.js");
34 
35  $dbaccess = $action->GetParam("FREEDOM_DB");
36 
37  $doc = new_doc($dbaccess, $docid);
38  $action->lay->set("id", $doc->id);
39 }
← centre documentaire © anakeen - published under CC License - Dynacase