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