ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

auto_controller.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 auto_controller_1_0_0{
27
38 var $PackagePath;
39
50 function __construct()
51 {
52 try
53 {
54 }
55 catch( Exception $e )
56 {
57 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
58 }
59 }
60
79 function set_path( $thePackagePath )
80 {
81 try
82 {
83 $this->PackagePath = $thePackagePath;
84 }
85 catch( Exception $e )
86 {
87 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
88 }
89 }
90
109 function controller( $Options )
110 {
111 try
112 {
113 $ContextSet = get_package_object( 'gui::context_set' , 'last' , $this->PackagePath );
114
115 $ContextSet->execute( $Options , $this , $this->PackagePath );
116 }
117 catch( Exception $e )
118 {
119 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
120 }
121 }
122 }
123
124 ?>