2016-01-30 20:28:43 +00:00
|
|
|
<?php
|
2018-08-07 13:27:08 +00:00
|
|
|
/**
|
|
|
|
* @package Joomla.Component.Builder
|
|
|
|
*
|
|
|
|
* @created 30th April, 2015
|
|
|
|
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
|
|
|
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
2021-01-03 16:49:35 +00:00
|
|
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
2018-08-07 13:27:08 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
?>
|
|
|
|
###BOM###
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
|
|
|
// import the list field type
|
|
|
|
jimport('joomla.form.helper');
|
|
|
|
JFormHelper::loadFieldClass('checkboxes');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ###Type### Form Field class for the ###Component### component
|
|
|
|
*/
|
2019-07-19 02:17:15 +00:00
|
|
|
class ###JPREFIX###FormField###Type### extends JFormFieldCheckboxes
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The ###type### field type.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $type = '###type###';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Method to get a list of options for a list input.
|
|
|
|
*
|
2018-09-25 20:02:48 +00:00
|
|
|
* @return array An array of JHtml options.
|
2016-01-30 20:28:43 +00:00
|
|
|
*/
|
2018-09-25 20:02:48 +00:00
|
|
|
protected function getOptions()
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
|
|
|
###JFORM_GETOPTIONS_PHP###
|
|
|
|
}
|
|
|
|
}
|