__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Platform;
use Nextend\Framework\Pattern\SingletonTrait;
class Platform {
use SingletonTrait;
/**
* @var AbstractPlatform
*/
private static $platform;
public function __construct() {
self::$platform = new Joomla\PlatformJoomla();
}
public static function getName() {
return self::$platform->getName();
}
public static function getLabel() {
return self::$platform->getLabel();
}
public static function getVersion() {
return self::$platform->getVersion();
}
public static function isAdmin() {
return self::$platform->isAdmin();
}
public static function setIsAdmin($isAdmin) {
self::$platform->setIsAdmin($isAdmin);
}
public static function hasPosts() {
return self::$platform->hasPosts();
}
public static function getSiteUrl() {
return self::$platform->getSiteUrl();
}
public static function getCharset() {
return self::$platform->getCharset();
}
public static function getMysqlDate() {
return self::$platform->getMysqlDate();
}
public static function getTimestamp() {
return self::$platform->getTimestamp();
}
public static function localizeDate($date) {
return self::$platform->localizeDate($date);
}
public static function getPublicDirectory() {
return self::$platform->getPublicDirectory();
}
public static function getUserEmail() {
return self::$platform->getUserEmail();
}
public static function needStrongerCss() {
return self::$platform->needStrongerCss();
}
public static function getDebug() {
return self::$platform->getDebug();
}
public static function filterAssetsPath($assetsPath) {
return self::$platform->filterAssetsPath($assetsPath);
}
}
Platform::getInstance();| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Joomla | Folder | 0775 |
|
|
| AbstractPlatform.php | File | 1.19 KB | 0664 |
|
| Platform.php | File | 1.89 KB | 0664 |
|