Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
allviewjs.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * concatenate js use to view documents
8  *
9  */
10 
11 require_once "FDL/viewdocjs.php";
12 /**
13  * All edit js scripts in one single file
14  *
15  * @param Action &$action current action
16  *
17  * @return void
18  */
20 {
21  $jurl = "WHAT/Layout";
22 
23  $statics = array(
24  "$jurl/AnchorPosition.js",
25  "FDL/Layout/common.js",
26  "FDC/Layout/inserthtml.js",
27  "$jurl/resizeimg.js",
28  "FDC/Layout/setparamu.js",
29  "WHAT/Layout/DHTMLapi.js",
30  "FDL/Layout/iframe.js",
31  "FDL/Layout/verifycomputedfiles.js",
32  "WHAT/Layout/geometry.js",
33  "WHAT/Layout/subwindow.js"
34  );
35 
36  $dynamics = array(
37  "FDL/Layout/viewdoc.js",
38  );
39 
40 
41  viewdocjs($action);
42  $action->lay->template = "";
43 
44  RessourcePacker::pack_js($action, $statics, $dynamics);
45 }
46 ?>
global $action
allviewjs(Action &$action)
Definition: allviewjs.php:19
static pack_js(Action &$action, array &$static_js=array(), array &$dynamic_js=array(), $extraCode= '')
viewdocjs(Action &$action)
Definition: viewdocjs.php:17
← centre documentaire © anakeen