ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

mouse_markup.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 mouse_markup_1_0_0
27 {
28
39 function __construct()
40 {
41 try
42 {
43 }
44 catch( Exception $e )
45 {
46 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
47 }
48 }
49
72 function compile_update_record( &$Settings )
73 {
74 try
75 {
76 $id = $Settings->get_setting( 'id' );
77 $Prefix = $Settings->get_setting( 'prefix' );
78 $Method = $Settings->get_setting( 'method' , 'post' );
79
80 $Code = "onclick=\"ultimix.forms.update_record( $id , '$Prefix' , '$Method' )\"";
81 $Code .= " onmousemove=\"jQuery( this ).css( 'cursor' , 'pointer' );\"";
82
83 return( $Code );
84 }
85 catch( Exception $e )
86 {
87 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
88 }
89 }
90 }
91
92 ?>