CoreFiles by mySites.guru
BranchesField.php43 lines, 830 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
612783abb490d6b82c2a0a1d02d6b765
sha1
0fb430e31ce82be6f28956340f7715ff1d6c82f7
sha256
c83efcc36edb409aba65a9cf5cc6f98d9b07bbaa9e0ad00f78b8db4878cb5bf2
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_finder
 *
 * @copyright   Copyright (C) 2005 - 2017 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.