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
username.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: username.php,v 1.2 2003/08/18 15:46:41 eric Exp $
12
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13
* @package FDL
14
* @subpackage CORE
15
*/
16
/**
17
*/
18
// $Id: username.php,v 1.2 2003/08/18 15:46:41 eric Exp $
19
// $Log: username.php,v $
20
// Revision 1.2 2003/08/18 15:46:41 eric
21
// phpdoc
22
//
23
// Revision 1.1 2002/01/08 12:41:33 eric
24
// first
25
//
26
// Revision 1.3 2000/10/11 13:04:40 yannick
27
// gestion du login/logout
28
//
29
// Revision 1.2 2000/10/11 12:27:38 yannick
30
// Gestion de l'authentification
31
//
32
// Revision 1.1.1.1 2000/10/05 17:29:10 yannick
33
// Importation
34
//
35
function
username
(&
$action
)
36
{
37
// This function is used to show curent user if set
38
// TODO
39
if
(
$action
->parent->Exists(
"AUTHENT"
)) {
40
$act_login =
new
Action
();
41
$act_login->Set(
"LOGIN"
,
$action
->parent,
$action
->session);
42
$action
->lay->set(
"OUT"
, $act_login->execute());
43
}
else
{
44
$action
->lay->set(
"OUT"
,
""
);
45
}
46
}
47
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase