ultimix
mouse_markup_1_0_0 Class Reference

Public Member Functions

 __construct ()
 compile_update_record (&$Settings)

Detailed Description

Class processes mouse macro.

Author
Dodonov A.A.

Definition at line 26 of file mouse_markup.php.

Constructor & Destructor Documentation

__construct ( )

Constructor.

Author
Dodonov A.A.

Definition at line 39 of file mouse_markup.php.

{
try
{
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

Member Function Documentation

compile_update_record ( $Settings)

Function compiles macro 'update_record'.

Parameters
$Settings- Parameters.
Returns
HTML code.
Exceptions
Exception- An exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 72 of file mouse_markup.php.

{
try
{
$id = $Settings->get_setting( 'id' );
$Prefix = $Settings->get_setting( 'prefix' );
$Method = $Settings->get_setting( 'method' , 'post' );
$Code = "onclick=\"ultimix.forms.update_record( $id , '$Prefix' , '$Method' )\"";
$Code .= " onmousemove=\"jQuery( this ).css( 'cursor' , 'pointer' );\"";
return( $Code );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

The documentation for this class was generated from the following file: