ultimix
ad_manager_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 
27 
38  var $UserAlgorithms = false;
39  var $PageComposer = false;
40  var $Security = false;
41  var $Settings = false;
42  var $CachedMultyFS = false;
43  var $String = false;
44 
55  function __construct()
56  {
57  try
58  {
59  $this->UserAlgorithms = get_package( 'user::user_algorithms' , 'last' , __FILE__ );
60  $this->PageComposer = get_package( 'page::page_composer' , 'last' , __FILE__ );
61  $this->Security = get_package( 'security' , 'last' , __FILE__ );
62  $this->Settings = get_package_object( 'settings::settings' , 'last' , __FILE__ );
63  $this->CachedMultyFS = get_package( 'cached_multy_fs' , 'last' , __FILE__ );
64  $this->String = get_package( 'string' , 'last' , __FILE__ );
65  }
66  catch( Exception $e )
67  {
68  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
69  }
70  }
71 
90  function controller( $Options )
91  {
92  try
93  {
94  $ContextSet = get_package_object( 'gui::context_set' , 'last' , __FILE__ );
95 
96  $ContextSet->execute( $Options , $this , __FILE__ );
97  }
98  catch( Exception $e )
99  {
100  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
101  }
102  }
103  }
104 
105 ?>