ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

permit_view.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 permit_view_1_0_0{
27
38 var $String = false;
39
50 var $ControllerWasAdded = false;
51
62 function __construct()
63 {
64 try
65 {
66 $this->String = get_package( 'string' , 'last' , __FILE__ );
67 }
68 catch( Exception $e )
69 {
70 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
71 }
72 }
73
92 function pre_generation()
93 {
94 try
95 {
96 $PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
97
98 $Version = get_package_version_s( __CLASS__ );
99
100 $PackagePath = _get_package_relative_path_ex( 'permit::permit_view' , $Version );
101
102 $PageJS->add_javascript( "{http_host}/$PackagePath/include/js/permit_view.js" );
103 }
104 catch( Exception $e )
105 {
106 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
107 }
108 }
109 }
110
111 ?>