CoreFiles by mySites.guru
bannerclient.php46 lines, 946 bytes, from Joomla_3.2.3-Stable-Full_Package.zip
Raw History Compare with 3.2.2
md5
c55c25f6fd1d10fc4e397ddaa3249ffc
sha1
d5d44acbcf03d3be40f073907769e380e3205b6f
sha256
9ba88816e6600be34881d394255c0320527a3cbb92743e544ae58540b9dc1379
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_banners
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

JFormHelper::loadFieldClass('list');

require_once __DIR__ . '/../../helpers/banners.php';

/**
 * Bannerclient Field class for the Joomla Framework.
 *
 * @package     Joomla.Administrator
 * @subpackage  com_banners
 * @since       1.6
 */
class JFormFieldBannerClient extends JFormFieldList
{
	/**
	 * The form field type.
	 *
	 * @var		string
	 * @since   1.6
	 */
	protected $type = 'BannerClient';

	/**
	 * Method to get the field options.
	 *
	 * @return  array  The field option objects.
	 *
	 * @since   1.6
	 */
	public function getOptions()
	{
		$options = BannersHelper::getClientOptions();

		return array_merge(parent::getOptions(), $options);
	}
}

The same content is in 13 releases, Joomla 3.2.2 to 3.3.6. See them all, or every version of this file.