Core  3.2
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  * @package FDL
5 */
6 /**
7  * View workflow graph
8  *
9  * @author Anakeen
10  * @version $Id: param_workflow_graph.php,v 1.2 2008/03/11 11:25:04 eric Exp $
11  * @package FDL
12  * @subpackage
13  */
14 /**
15  */
16 
17 include_once ("FDL/Class.WDoc.php");
18 // -----------------------------------
19 
20 /**
21  * Edition to affect document
22  * @param Action &$action current action
23  * @global id int Http var : document id to affect
24  * @global viewdoc string Http var : with preview of affect document [Y|N]
25  */
27 {
28  $docid = GetHttpVars("id");
29  $action->parent->AddJsRef($action->GetParam("CORE_JSURL") . "/geometry.js");
30 
31  $dbaccess = $action->dbaccess;
32 
33  $doc = new_doc($dbaccess, $docid);
34  $action->lay->rSet("id", $doc->id);
35 }
param_workflow_graph(&$action)
global $action
$docid
Definition: cleanFamily.php:13
$dbaccess
Definition: checkVault.php:17
← centre documentaire © anakeen