Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
viewextdoc.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * View Document
8  */
9 /**
10  */
11 
12 include_once ("FDL/fdl_card.php");
13 
14 include_once ("FDL/popupdocdetail.php");
15 include_once ("FDL/popupfamdetail.php");
16 /**
17  * View a extjs document
18  * @param Action &$action current action
19  */
21 {
22  if (!file_exists('lib/ui/freedom-extui.js')) {
23  $err = _("This action requires the installation of Dynacase Extui module");
24  $action->ExitError($err);
25  }
26  $action->log->deprecated("Action FDL:VIEWEXTDOC deprecated use EXTUI:EUI_VIEWDOC instead");
27  $action->parent->set("EXTUI", $action->parent->parent);
28  $action->set("EUI_VIEWDOC", $action->parent);
29  $gen = $action->execute();
30  $action->lay->template = $gen;
31  $action->lay->noparse = true;
32 }
33 
global $action
viewextdoc(Action &$action)
Definition: viewextdoc.php:20
if($file) if($subject==""&&$file) if($subject=="") $err
← centre documentaire © anakeen