ultimix
group_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 
27 
38  var $GroupAccess = false;
39  var $BlockParameters = false;
40  var $Security = false;
41  var $String = false;
42 
53  function __construct()
54  {
55  try
56  {
57  $this->GroupAccess = get_package( 'permit::group_access' , 'last' , __FILE__ );
58  $this->BlockParameters = get_package_object( 'settings::settings' , 'last' , __FILE__ );
59  $this->Security = get_package( 'security' , 'last' , __FILE__ );
60  $this->String = get_package( 'string' , 'last' , __FILE__ );
61  }
62  catch( Exception $e )
63  {
64  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
65  }
66  }
67 
86  function pre_generation()
87  {
88  try
89  {
90  $PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
91 
92  $Version = get_package_version_s( __CLASS__ );
93 
94  $PackagePath = _get_package_relative_path_ex( 'permit::group_view' , $Version );
95 
96  $PageJS->add_javascript( "{http_host}/$PackagePath/include/js/group_view.js" );
97  }
98  catch( Exception $e )
99  {
100  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
101  }
102  }
103  }
104 
105 ?>