CoreFiles by mySites.guru
templatelocation.php42 lines, 910 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
e113a51201421962953e1ce9a595e0c5
sha1
374afaf3e6eb87fe9f8d640ea1845bdde0412926
sha256
f0369c732c1efbf14b93db9aa5bb8aae404a9143d46a633841f7f36f37b21989
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_templates
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JLoader::register('TemplatesHelper', JPATH_ADMINISTRATOR . '/components/com_templates/helpers/templates.php');

/**
 * Template Style Field class for the Joomla Framework.
 *
 * @since  3.5
 */
class JFormFieldTemplateLocation extends JFormAbstractlist
{
	/**
	 * 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.