CoreFiles by mySites.guru
BranchesField.php43 lines, 830 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
093cb061aca05a669eaba7bf2f353249
sha1
849135092c1b66c525f5fcb11980dde57456bb09
sha256
2319f2bad33c76688661884a1535e87e5c23bf90778013c121a2cf5848ba9a0f
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_finder
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
namespace Joomla\Component\Finder\Administrator\Field;

defined('JPATH_BASE') or die();

use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('list');

/**
 * Search Branches field for the Finder package.
 *
 * @since  3.5
 */
class BranchesField extends \JFormFieldList
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 * @since  3.5
	 */
	protected $type = 'Branches';

	/**
	 * Method to get the field options.
	 *
	 * @return  array  The field option objects.
	 *
	 * @since   3.5
	 */
	public function getOptions()
	{
		return \JHtml::_('finder.mapslist');
	}
}

No other release has this exact content. See every version of this file.