static function getIndexHTML() { global $mainframe; $url_alphacontent = "index.php?option=com_playjoom&view=alphabetical&Itemid=" . JRequest::getVar('Itemid'); $url_alphacontent = PlayJoomHelperRoute::getPJlink('alphabetical', null); $alphabeticalindex = @explode(",", 'A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z'); $alphabeticalbar = modAlphabeticalBarHelper::getAlphabeticalBarModule($alphabeticalindex, $url_alphacontent); return array($alphabeticalbar); }
<?php /** * @package Joomla 1.6.x * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant to the * GNU General Public License, and as distributed it includes or is derivative * of works licensed under the GNU General Public License or other free or open * source software licenses. See COPYRIGHT.php for copyright notices and * details. * * @PlayJoom Module * @copyright Copyright (C) 2010-2013 by www.teglo.info * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @date $Date$ * @revision $Revision$ * @author $Author$ * @headurl $HeadURL$ */ // no direct access defined('_JEXEC') or die; // Include the syndicate functions only once require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'helper.php'; require_once JPATH_SITE . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_playjoom' . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'route.php'; require_once JPATH_SITE . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_playjoom' . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'playjoom.php'; require_once JPATH_SITE . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_playjoom' . DIRECTORY_SEPARATOR . 'helpers' . DIRECTORY_SEPARATOR . 'logging.php'; $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx')); $alphabeticalindex = modAlphabeticalBarHelper::getIndexHTML(); $alphabeticalbar = $alphabeticalindex[0]; require JModuleHelper::getLayoutPath('mod_pj_alphabeticalbar');