git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_WebCongresos/trunk@2 94ccb1af-fd9d-d947-8d90-7f70ea60afc8
24 lines
905 B
PHP
24 lines
905 B
PHP
<?php
|
|
/**
|
|
* @version 2.3
|
|
* @copyright Copyright (C) 2007-2010 Stephen Brandon
|
|
* @license GNU/GPL
|
|
*/
|
|
|
|
// no direct access
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
// Include the helper functions only once
|
|
require_once (dirname(__FILE__).DS.'helper.php');
|
|
|
|
// the legacy method is this, and it still works (though without "changeCache" support):
|
|
// $moduleIds = modMetaModHelper::moduleIds( $params );
|
|
|
|
// Note: if a MetaMod is included twice in the page, e.g. in a {loadposition right} as well
|
|
// as in the normal position, it appears that the $attribs['name'] (which is the position)
|
|
// is not set for *either* occurrence.
|
|
list( $moduleIds, $changeCache ) = modMetaModHelper::moduleIdsAndChanges( $params, @$attribs['name'] );
|
|
|
|
// $attribs is inherited from the calling code in Joomla.
|
|
echo modMetaModHelper::displayModules( $moduleIds, $params, $attribs, $changeCache );
|