/** * Method to display component info * * @param JInstallerAdapter $parent Class calling this method * @param string $message Message to apply to the Component info layout * * @return void */ public function displayComponentInfo($parent, $message = '') { $this->loadRedcoreLibrary(); if ($this->showComponentInfo) { if (method_exists('RComponentHelper', 'displayComponentInfo')) { $manifest = $this->getManifest($parent); echo RComponentHelper::displayComponentInfo((string) $manifest->name, $message); } } }
<?php /** * @package Redcore.Admin * @subpackage Views * * @copyright Copyright (C) 2008 - 2015 redCOMPONENT.com. All rights reserved. * @license GNU General Public License version 2 or later, see LICENSE. */ defined('_JEXEC') or die; ?> <div class="tab-pane" id="mainComponentInfo"> <?php echo RComponentHelper::displayComponentInfo($this->component->option); ?> </div>