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
freedom_modpreffam.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: freedom_modpreffam.php,v 1.3 2003/08/18 15:47:03 eric Exp $
12
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13
* @package FDL
14
* @subpackage GED
15
*/
16
/**
17
*/
18
// ---------------------------------------------------------------
19
// $Id: freedom_modpreffam.php,v 1.3 2003/08/18 15:47:03 eric Exp $
20
// $Source: /home/cvsroot/anakeen/freedom/freedom/Action/Freedom/freedom_modpreffam.php,v $
21
include_once (
"FDL/Class.Doc.php"
);
22
23
function
freedom_modpreffam
(&
$action
)
24
{
25
$tidsfam =
GetHttpVars
(
"idsfam"
);
// preferenced families
26
$dbaccess
=
$action
->GetParam(
"FREEDOM_DB"
);
27
28
$idsfam =
""
;
29
if
(is_array($tidsfam)) $idsfam = implode(
","
, $tidsfam);
30
31
$action
->parent->param->Set(
"FREEDOM_PREFFAMIDS"
, $idsfam,
PARAM_USER
.
$action
->user->id,
$action
->parent->id);
32
33
redirect(
$action
,
"CORE"
,
"FOOTER"
);
34
}
35
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase