CoreFiles by mySites.guru
mod_syndicate.php26 lines, 655 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
44cd0cd7d2f1dbaf06ce24dae66acc62
sha1
40daf22af00f89fe6f24bff2e79b5cb8d5067a91
sha256
f0c5861d5712e8220d3f2af6c21368898acd9874782a94614c54d2ba73673d4d
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Module\Syndicate\Site\Helper\SyndicateHelper;

$params->def('format', 'rss');

$link = SyndicateHelper::getLink($params, $app->getDocument());

if ($link === null)
{
	return;
}

$text = htmlspecialchars($params->get('text'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_syndicate', $params->get('layout', 'default'));

The same content is in 6 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha12. See them all, or every version of this file.