File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_pagebuilderck/helpers/pagebuilderckfront.php
Back
<?php /** * @name Page Builder CK * @package com_pagebuilderck * @copyright Copyright (C) 2015. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr */ // No direct access defined('_JEXEC') or die; // load the helper to help us to use the parameters include_once JPATH_ADMINISTRATOR . '/components/com_pagebuilderck/helpers/pagebuilderckparams.php'; /** * Helper Class. */ class PagebuilderckFrontHelper { /** * Gets a list of the actions that can be performed. * * @return JObject * @since 1.6 */ public static function createParamsFromElement($obj) { if (is_array($obj) && isset($obj[0]->attr)) { $result = new PagebuilderckParams($obj[0]->attr); } else { $result = new PagebuilderckParams(); } return $result; } /** * Return the needed url for the source * * @return string */ public static function getSource($src) { $isLocal = substr($src, 0, 4) == 'http' ? false : true; if ($isLocal) $src = JUri::root(true) . '/' . $src; return $src; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings