CoreFiles by mySites.guru
AbstractStatsField.php41 lines, 850 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
80ccfed9dcd460c2fbf350c20396d47e
sha1
ad4ddbd7be8a4835b70029423fafe3ee33cb79f3
sha256
a77e5d30dd6bc2fe03c720a68ddb36d673866f98597cff806521b943c88a282d
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  System.stats
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Plugin\System\Stats\Field;

\defined('JPATH_BASE') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormField;

/**
 * Base field for the Stats Plugin.
 *
 * @since  3.5
 */
abstract class AbstractStatsField extends FormField
{
	/**
	 * Get the layouts paths
	 *
	 * @return  array
	 *
	 * @since   3.5
	 */
	protected function getLayoutPaths()
	{
		$template = Factory::getApplication()->getTemplate();

		return array(
			JPATH_ADMINISTRATOR . '/templates/' . $template . '/html/layouts/plugins/system/stats',
			\dirname(__DIR__) . '/layouts',
			JPATH_SITE . '/layouts'
		);
	}
}

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