44 lines
		
	
	
		
			717 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			717 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;
 | |
| 
 | |
| //JFormHelper::loadFieldClass('list');
 | |
| 
 | |
| jimport('joomla.html.html');
 | |
| 
 | |
| /**
 | |
|  * CountryOptions Field class.
 | |
|  *
 | |
|  * 
 | |
|  */
 | |
| class JFormFieldStartminutes extends FormField
 | |
| {
 | |
| 	/**
 | |
| 	 * The form field type.
 | |
| 	 *
 | |
| 	 */
 | |
| 	protected $type = 'Startminutes';
 | |
| 
 | |
| 
 | |
| 	
 | |
| 	
 | |
| 	public function getInput()
 | |
| 	{
 | |
| 
 | |
| 	
 | |
| 		$startminutes = JEMAdmin::buildtimeselect(59, 'startminutes', substr( $this->name, 3, 2 ), array('class'=>'form-select','class'=>'select-time'));
 | |
| 	
 | |
| 		return $startminutes;
 | |
| 		
 | |
| 	}
 | |
| 	
 | |
| }
 |