CoreFiles by mySites.guru
helper.php34 lines, 725 bytes, from Joomla_3.10.1-Stable-Full_Package.zip
Raw History Compare with 3.10.0
md5
8882c3c391a7ec6cb256beb4f8d5603f
sha1
074d0d969ba37396f5ac62431d99f8196a57c080
sha256
f109abe89e7bd55121c51c81a8a8ce9ec4ab463d517aeb6baca2e33ea566e72f
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_sampledata
 *
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Helper for mod_sampledata
 *
 * @since  3.8.0
 */
abstract class ModSampledataHelper
{
	/**
	 * Get a list of sampledata.
	 *
	 * @return  mixed  An array of sampledata, or false on error.
	 *
	 * @since  3.8.0
	 */
	public static function getList()
	{
		JPluginHelper::importPlugin('sampledata');
		$dispatcher = JEventDispatcher::getInstance();
		$data = $dispatcher->trigger('onSampledataGetOverview', array('test', 'foo'));

		return $data;
	}
}

The same content is in 25 releases, Joomla 3.10.0-alpha2 to 3.10.12. See them all, or every version of this file.