CoreFiles by mySites.guru
templatelocation.php44 lines, 889 bytes, from Joomla_3.5.0-beta-Beta-Full_Package.zip
Raw History Compare with 3.4.0-beta3
md5
c9e3db9f057a9aa6dd93824e8e762825
sha1
79881f9ef5df34612309ba8cdcee97a79164d4de
sha256
baae567191b24a3af23d52c2b26e1d242433703e48b0e0b1409c3a6ee45850e4
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JFormHelper::loadFieldClass('list');

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

/**
 * Template Style Field class for the Joomla Framework.
 *
 * @since  3.5
 */
class JFormFieldTemplateLocation extends JFormFieldList
{
	/**
	 * The form field type.
	 *
	 * @var	   string
	 * @since  3.5
	 */
	protected $type = 'TemplateLocation';

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

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

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