ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

jquery_corner.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_corner_1_0_0{
27
38 var $PageJS = false;
39
54 function __construct()
55 {
56 try
57 {
58 $this->PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
59 }
60 catch( Exception $e )
61 {
62 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
63 }
64 }
65
84 function pre_generation( &$Options )
85 {
86 try
87 {
88 $Path = '{http_host}/'._get_package_relative_path_ex( 'jquery::jquery_corner' , 'last' );
89 $this->PageJS->add_javascript( "$Path/include/js/jquery.corner.js" );
90 }
91 catch( Exception $e )
92 {
93 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
94 }
95 }
96 }
97
98 ?>