Initial commit
This commit is contained in:
38
app/plugins/timers/forms.php
Normal file
38
app/plugins/timers/forms.php
Normal file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* app/plugins/timers/forms.php
|
||||
*
|
||||
* This houses all of the form checking functions for this plugin.
|
||||
*
|
||||
* @package TP Timers
|
||||
* @version 3.0
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
*/
|
||||
namespace TheTempusProject\Plugins\Suggestions;
|
||||
|
||||
use TheTempusProject\Bedrock\Functions\Input;
|
||||
use TheTempusProject\Classes\Forms;
|
||||
|
||||
class TimerForms extends Forms {
|
||||
/**
|
||||
* Adds these functions to the form list.
|
||||
*/
|
||||
public function __construct() {
|
||||
self::addHandler( 'saveTimer', __CLASS__, 'saveTimer' );
|
||||
self::addHandler( 'pauseTimer', __CLASS__, 'pauseTimer' );
|
||||
self::addHandler( 'resumeTimer', __CLASS__, 'resumeTimer' );
|
||||
}
|
||||
public static function saveTimer() {
|
||||
return true;
|
||||
}
|
||||
public static function pauseTimer() {
|
||||
return true;
|
||||
}
|
||||
public static function resumeTimer() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
new TimerForms;
|
Reference in New Issue
Block a user