- Moved FML into core folder
- Endurance plugin - map class nbCheckpoints - added script callbacks registration
This commit is contained in:
18
application/core/FML/Script/Sections/Constants.php
Normal file
18
application/core/FML/Script/Sections/Constants.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Script\Sections;
|
||||
|
||||
/**
|
||||
* Script feature using constants
|
||||
*
|
||||
* @author steeffeen
|
||||
*/
|
||||
interface Constants {
|
||||
|
||||
/**
|
||||
* Return array of constant values with names as keys
|
||||
*/
|
||||
public function getConstants();
|
||||
}
|
||||
|
||||
?>
|
20
application/core/FML/Script/Sections/Functions.php
Normal file
20
application/core/FML/Script/Sections/Functions.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Script\Sections;
|
||||
|
||||
/**
|
||||
* Script feature using functions
|
||||
*
|
||||
* @author steeffeen
|
||||
*/
|
||||
interface Functions {
|
||||
|
||||
/**
|
||||
* Return array of function implementations and signatures as keys
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getFunctions();
|
||||
}
|
||||
|
||||
?>
|
20
application/core/FML/Script/Sections/Globals.php
Normal file
20
application/core/FML/Script/Sections/Globals.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Script\Sections;
|
||||
|
||||
/**
|
||||
* Script feature using globals
|
||||
*
|
||||
* @author steeffeen
|
||||
*/
|
||||
interface Globals {
|
||||
|
||||
/**
|
||||
* Return array with global variable types with variable names as keys
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getGlobals();
|
||||
}
|
||||
|
||||
?>
|
20
application/core/FML/Script/Sections/Includes.php
Normal file
20
application/core/FML/Script/Sections/Includes.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Script\Sections;
|
||||
|
||||
/**
|
||||
* Script feature using includes
|
||||
*
|
||||
* @author steeffeen
|
||||
*/
|
||||
interface Includes {
|
||||
|
||||
/**
|
||||
* Return array of included files with namespaces as keys
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getIncludes();
|
||||
}
|
||||
|
||||
?>
|
30
application/core/FML/Script/Sections/Labels.php
Normal file
30
application/core/FML/Script/Sections/Labels.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Script\Sections;
|
||||
|
||||
/**
|
||||
* Script feature using labels
|
||||
*
|
||||
* @author steeffeen
|
||||
*/
|
||||
interface Labels {
|
||||
/**
|
||||
* Constants
|
||||
*/
|
||||
const ENTRYSUBMIT = 'EntrySubmit';
|
||||
const KEYPRESS = 'KeyPress';
|
||||
const LOOP = 'Loop';
|
||||
const MOUSECLICK = 'MouseClick';
|
||||
const MOUSEOUT = 'MouseOut';
|
||||
const MOUSEOVER = 'MouseOver';
|
||||
const ONINIT = 'OnInit';
|
||||
|
||||
/**
|
||||
* Return array of label implementations with label names as keys
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getLabels();
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user