Detailed Description
Class processes keyboard macro.
- Author
- Dodonov A.A.
Definition at line 26 of file keyboard_markup.php.
Member Function Documentation
| compile_enter_processor |
( |
& |
$Settings | ) |
|
Function compiles macro 'enter_processor'.
- Parameters
-
- Returns
- HTML code.
- Exceptions
-
| Exception | - An exception of this type is thrown. |
- Author
- Dodonov A.A.
Definition at line 50 of file keyboard_markup.php.
{
try
{
$EnterProcessor = $Settings->get_setting( 'function' , false );
if( $EnterProcessor === false )
{
$FormId = $Settings->get_setting( 'form_id' );
return( "onkeyup=\"javascript:ultimix.forms.enter_processor( event , '".$FormId."' );\"" );
}
else
{
return(
"onkeyup=\"javascript:ultimix.forms.enter_was_pressed( event ) ? ".
"$EnterProcessor : void( 0 );\""
);
}
}
catch( Exception $e )
{
}
}
The documentation for this class was generated from the following file: