ultimix
ckeditor.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 $ScriptWasIncluded = false;
39 
50  var $String = false;
51  var $BlockSettings = false;
52 
67  function __construct()
68  {
69  try
70  {
71  $this->String = get_package( 'string' , 'last' , __FILE__ );
72  $this->BlockSettings = get_package_object( 'settings::settings' , 'last' , __FILE__ );
73  }
74  catch( Exception $e )
75  {
76  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
77  }
78  }
79 
98  function pre_generation( $Options )
99  {
100  try
101  {
102  $PageJS = get_package( 'page::page_js' , 'last' , __FILE__ );
103  $PackagePath = _get_package_relative_path_ex( 'ckeditor' , '3.0.0' );
104  $PageJS->add_javascript( "{http_host}/$PackagePath/include/ckeditor.js" , false );
105  }
106  catch( Exception $e )
107  {
108  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
109  }
110  }
111 
134  function view( $Options )
135  {
136  try
137  {
138  return( '' );
139  }
140  catch( Exception $e )
141  {
142  $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
143  }
144  }
145  }
146 ?>