Your IP : 216.73.217.78


Current Path : /home/megadansyp/www/modules/mod_jevents_custom/
Upload File :
Current File : /home/megadansyp/www/modules/mod_jevents_custom/helper.php

<?php

// no direct access
defined('_JEXEC') or die('Restricted access');

#[\AllowDynamicProperties]
class modDetailHelper
{

	public static function getDetailBody($modid)
	{

		if (trim($modid) == "")
		{
			return false;
		}
		JLoader::register('JevRegistry', JPATH_SITE . "/components/com_jevents/libraries/registry.php");

		$reg     = JevRegistry::getInstance("com_jevents");
		$moddata = $reg->get("dynamicmodules");
		if (isset($moddata[$modid]))
		{
			return $moddata[$modid];
		}

		return false;

	}

}