Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
queryfile.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
/**
7
* Generated Header (not documented yet)
8
*
9
* @author Anakeen
10
* @version $Id: queryfile.php,v 1.4 2005/06/28 08:37:46 eric Exp $
11
* @package FDL
12
* @subpackage GED
13
*/
14
/**
15
*/
16
// ---------------------------------------------------------------
17
// $Id: queryfile.php,v 1.4 2005/06/28 08:37:46 eric Exp $
18
// $Source: /home/cvsroot/anakeen/freedom/freedom/Action/Freedom/queryfile.php,v $
19
// ---------------------------------------------------------------
20
include_once (
"FDL/Class.Doc.php"
);
21
include_once (
"FDL/Class.DocAttr.php"
);
22
23
function
queryfile
(
Action
&
$action
)
24
{
25
$dbaccess
= $action->dbaccess;
26
$docid
= GetHttpVars(
"id"
, 0);
27
28
$doc
=
new_Doc
(
$dbaccess
,
$docid
);
29
$action->lay->eSet(
"APP_TITLE"
, _($action->parent->description));
30
$action->lay->
Set
(
"docid"
,
$doc
->id);
31
$action->lay->
Set
(
"title"
,
$doc
->getHTMLTitle());
32
$action->lay->
Set
(
"iconsrc"
,
$doc
->geticon());
33
}
$action
global $action
Definition:
accountRefreshGroup.php:16
Action\Set
Set($name, &$parent)
Definition:
Class.Action.php:168
Action
Definition:
Class.Action.php:24
$docid
$docid
Definition:
cleanFamily.php:13
new_Doc
new_Doc($dbaccess, $id= '', $latest=false)
Definition:
freedom_util.php:119
$dbaccess
$dbaccess
Definition:
checkVault.php:17
queryfile
queryfile(Action &$action)
Definition:
queryfile.php:23
$doc
$doc
Definition:
SetDocVaultIndex.php:39
← centre documentaire
© anakeen