Files
2024-12-17 17:34:10 +01:00

42 lines
712 B
PHP

<?php
/**
* @package JEM
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
defined('JPATH_BASE') or die;
use Joomla\CMS\Form\FormField;
/**
* CountryOptions Field class.
*
*
*/
class JFormFieldStarttime extends FormField
{
/**
* The form field type.
*
*/
protected $type = 'Starttime';
public function getInput()
{
$starthours = JEMHelper::buildtimeselect(23, 'starthours', substr( $this->value, 0, 2 ));
$startminutes = JEMHelper::buildtimeselect(59, 'startminutes', substr($this->value, 3, 2 ));
$var2 = $starthours.$startminutes;
return $var2;
}
}