2013-11-28 02:04:06 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Interface for Elements that support the Action Attribute
|
2013-11-28 02:04:06 +01:00
|
|
|
*
|
|
|
|
* @author steeffeen
|
|
|
|
*/
|
|
|
|
interface Actionable {
|
2014-01-12 00:51:46 +01:00
|
|
|
/**
|
|
|
|
* Constants
|
|
|
|
*/
|
|
|
|
const ACTIONKEY_F5 = 1;
|
|
|
|
const ACTIONKEY_F6 = 2;
|
|
|
|
const ACTIONKEY_F7 = 3;
|
|
|
|
const ACTIONKEY_F8 = 4;
|
2013-11-28 02:04:06 +01:00
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Set Action
|
2013-11-28 02:04:06 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $action Action Name
|
2013-11-28 02:04:06 +01:00
|
|
|
*/
|
|
|
|
public function setAction($action);
|
2014-01-12 00:51:46 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set Action Key
|
|
|
|
*
|
|
|
|
* @param int $actionKey Action Key Number
|
|
|
|
*/
|
|
|
|
public function setActionKey($actionKey);
|
2013-11-28 02:04:06 +01:00
|
|
|
}
|