Platform
3.1
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
editattr.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: editattr.php,v 1.10 2005/06/28 08:37:46 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
// $Id: editattr.php,v 1.10 2005/06/28 08:37:46 eric Exp $
20
// $Source: /home/cvsroot/anakeen/freedom/freedom/Zone/Fdl/editattr.php,v $
21
// ---------------------------------------------------------------
22
include_once (
"FDL/Class.Doc.php"
);
23
include_once (
"FDL/Class.DocAttr.php"
);
24
25
include_once (
"FDL/freedom_util.php"
);
26
include_once (
"FDL/editutil.php"
);
27
// Compute value to be inserted in a specific layout
28
// -----------------------------------
29
function
editattr
(&
$action
)
30
{
31
// -----------------------------------
32
// GetAllParameters
33
$docid
=
GetHttpVars
(
"id"
, 0);
34
$classid =
GetHttpVars
(
"classid"
);
35
// Set the globals elements
36
$dbaccess
=
$action
->GetParam(
"FREEDOM_DB"
);
37
38
if
(
$docid
== 0)
$doc
=
new_Doc
(
$dbaccess
, $classid);
39
else
$doc
=
new_Doc
(
$dbaccess
,
$docid
);
40
41
$doc
->lay =
$action
->lay;
42
$doc
->editattr();
43
44
$action
->lay =
$doc
->lay;
45
46
return
;
47
}
48
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase