CoreFiles by mySites.guru
branches.php40 lines, 742 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
9c6a01762a2aa24da2821bbc37af204e
sha1
39f4505017f6aa83d7fbb1e585658f99fb638565
sha256
f529bc1e2fcc4fe63c49606491e98b3f492a7f9f5b68d8c869c2ad3b8aa2db33
<?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
 */

defined('JPATH_BASE') or die();

JFormHelper::loadFieldClass('list');

/**
 * Search Branches field for the Finder package.
 *
 * @since  3.5
 */
class JFormFieldBranches 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');
	}
}

The same content is in 10 releases, Joomla 3.7.0-beta4 to 3.7.2. See them all, or every version of this file.