| Server IP : 46.105.57.169 / Your IP : 216.73.216.144 Web Server : Apache System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maitricfuz/www/saint-martin-lg/plugins/system/mobilemenuck/helpers/joomla/ |
Upload File : |
<?php
/**
* @name Mobile Menu CK
* @copyright Copyright (C) 2018. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
*/
namespace Mobilemenuck;
// No direct access
defined('_JEXEC') or die;
class CKLoader
{
public static function loadScriptDeclaration($js) {
$doc = \Mobilemenuck\CKFof::getDocument();
$doc->addScriptDeclaration($js);
}
public static function loadScriptDeclarationInline($js) {
echo '<script>' . $js . '</script>';
}
public static function loadScript($file) {
$doc = \Mobilemenuck\CKFof::getDocument();
$doc->addScript($file);
}
public static function loadScriptInline($file) {
echo '<script src="' . $file . '"></script>';
}
public static function loadStyleDeclaration($css) {
$doc = \Mobilemenuck\CKFof::getDocument();
$doc->addStyleDeclaration($css);
}
public static function loadStyleDeclarationInline($css) {
echo '<style>' . $css . '</style>';
}
public static function loadStylesheet($file) {
$doc = \Mobilemenuck\CKFof::getDocument();
$doc->addStylesheet($file);
}
public static function loadStylesheetInline($file) {
echo '<link href="' . $file . '"" rel="stylesheet" />';
}
}