File manager - Edit - /home/capoccitel/www/administrator/components/com_rtform/helpers/rtform.php
Back
<?php /** * @version CVS: 1.0.0 * @package Com_Rtform * @author Radius Theme <support@radiustheme.com> * @copyright 2016 RadiusTheme.com * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; /** * Rtform helper. * * @since 1.6 */ class RtformHelpersRtform { /** * Configure the Linkbar. * * @param string $vName string * * @return void */ public static function addSubmenu($vName = '') { JHtmlSidebar::addEntry( JText::_('COM_RTFORM_TITLE_SUBMISSIONS'), 'index.php?option=com_rtform&view=submissions', $vName == 'submissions' ); } /** * Gets a list of the actions that can be performed. * * @return JObject * * @since 1.6 */ public static function getActions() { $user = JFactory::getUser(); $result = new JObject; $assetName = 'com_rtform'; $actions = array( 'core.admin', 'core.manage', 'core.create', 'core.edit', 'core.edit.own', 'core.edit.state', 'core.delete' ); foreach ($actions as $action) { $result->set($action, $user->authorise($action, $assetName)); } return $result; } } class RtformHelper extends RtformHelpersRtform { }
| ver. 1.6 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings