Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
allviewcss.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Edition to affect document
8  *
9  * @author Anakeen 2011
10  */
11 /**
12  * All view css stylesheets in one single stylesheets
13  * @param Action &$action current action
14  */
16 {
17  $jurl = "WHAT/Layout";
18 
19  $static_css = array();
20  $dynamic_css = array();
21 
22  $dynamic_css[] = "CORE/Layout/core.css";
23  $dynamic_css[] = "FDL/Layout/freedom.css";
24  $dynamic_css[] = "FDL/Layout/document.css";
25 
26  setHeaderCache("text/css");
27  $action->lay->template = "";
28 
29  RessourcePacker::pack_css($action, $static_css, $dynamic_css);
30 }
31 ?>
static pack_css(Action &$action, array $static_css=array(), array $dynamic_css=array())
allviewcss(Action &$action)
Definition: allviewcss.php:15
global $action
setHeaderCache($type)
Definition: pack.php:11
← centre documentaire © anakeen