Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
editicon.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: editicon.php,v 1.1 2006/11/16 16:41:19 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 include_once ("FDL/Class.Doc.php");
20 include_once ("FDL/Class.DocAttr.php");
21 include_once ("VAULT/Class.VaultDiskStorage.php");
22 
23 function editicon(&$action)
24 {
25  $dbaccess = $action->GetParam("FREEDOM_DB");
26  $docid = GetHttpVars("id", 0);
27 
29  $action->lay->Set("APP_TITLE", _($action->parent->description));
30  $action->lay->Set("docid", $docid);
31  $action->lay->Set("title", $doc->title);
32  $action->lay->Set("iconsrc", $doc->geticon());
33 
34  $q = new QueryDb($dbaccess, "VaultDiskStorage");
35  $q->dbaccess = $dbaccess;
36  $q->basic_elem->dbaccess = $dbaccess; // correct for special constructor
37  $q->AddQuery("public_access");
38  $l = $q->Query(0, 0, "TABLE");
39  $action->lay->setBlockData("ICONLIST", $l);
40 }
41 ?>
← centre documentaire © anakeen - published under CC License - Dynacase