ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

jquery_simplemodal.php
Go to the documentation of this file.
1 <?php
2
3 /*
4 * This source code is a part of the Ultimix Project.
5 * It is distributed under BSD license. All other third side source code (like tinyMCE) is distributed under
6 * it's own license wich could be found from the corresponding files or sources.
7 * This source code is provided "as is" without any warranties or garanties.
8 *
9 * Have a nice day!
10 *
11 * @url http://ultimix.sorceforge.net
12 *
13 * @author Alexey "gdever" Dodonov
14 */
15
26 class jquery_simplemodal_1_4_2{
27
38 var $PageCSS = false;
39 var $PageJS = false;
40
55 function __construct()
56 {
57 try
58 {
59 $this->PageCSS = get_package( 'page::page_css' , 'last' , __FILE__ );
60 $this->PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
61 }
62 catch( Exception $e )
63 {
64 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
65 }
66 }
67
86 function pre_generation( &$Options )
87 {
88 try
89 {
90 $Path = '{http_host}/'._get_package_relative_path_ex( 'jquery::jquery_simplemodal' , 'last' );
91 $this->PageJS->add_javascript( "$Path/include/js/jquery.simplemodal.1.4.2.min.js" );
92
93 $this->PageCSS->add_stylesheet( "$Path/res/css/basic.css" , false );
94 }
95 catch( Exception $e )
96 {
97 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
98 }
99 }
100 }
101
102 ?>