ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

jslib.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 jslib_1_0_0{
27
46 private function get_path()
47 {
48 try
49 {
50 $Path = '{http_host}/'._get_package_relative_path_ex( 'jslib' , '1.0.0' ).'/include/js';
51
52 return( $Path );
53 }
54 catch( Exception $e )
55 {
56 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
57 }
58 }
59
78 function pre_generation( $Options )
79 {
80 try
81 {
82 $Path = $this->get_path();
83 $PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
84 $PageJS->add_javascript( "$Path/ajax_gate.js" );
85 $PageJS->add_javascript( "$Path/core.js" );
86 $PageJS->add_javascript( "$Path/double_panel.js" );
87 $PageJS->add_javascript( "$Path/forms.js" );
88 $PageJS->add_javascript( "$Path/grids.js" );
89 $PageJS->add_javascript( "$Path/inplace.js" );
90 $PageJS->add_javascript( "$Path/iterator.js" );
91 $PageJS->add_javascript( "$Path/string_utilities.js" );
92 $PageJS->add_javascript( "$Path/utilities.js" );
93 $PageJS->add_javascript( "$Path/windows.js" );
94 }
95 catch( Exception $e )
96 {
97 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
98 }
99 }
100
119 function view( $Options )
120 {
121 try
122 {
123 return( '' );
124 }
125 catch( Exception $e )
126 {
127 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
128 }
129 }
130 }
131
132 ?>