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
generic_editnewcatg.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: generic_editnewcatg.php,v 1.9 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: generic_editnewcatg.php,v 1.9 2005/06/28 08:37:46 eric Exp $
20
// $Source: /home/cvsroot/anakeen/freedom/freedom/Action/Generic/generic_editnewcatg.php,v $
21
// ---------------------------------------------------------------
22
include_once (
"FDL/Class.Dir.php"
);
23
include_once (
"GENERIC/generic_util.php"
);
24
// -----------------------------------
25
function
generic_editnewcatg
(&
$action
)
26
{
27
// -----------------------------------
28
global
$dbaccess
;
29
30
$dbaccess =
$action
->GetParam(
"FREEDOM_DB"
);
31
$homefld =
new_Doc
($dbaccess,
getDefFld
(
$action
));
32
33
$stree =
getChildCatg
($homefld->id, 1);
34
35
reset($stree);
36
37
$action
->lay->SetBlockData(
"CATG"
, $stree);
38
$action
->lay->Set(
"topdir"
,
getDefFld
(
$action
));
39
}
40
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase