*
* Gantry Framework code that extends GPL code is considered GNU/GPLv2 and later
*/
namespace Gantry\Component\Theme;
use Gantry\Component\File\CompiledYamlFile;
use Gantry\Component\Filesystem\Streams;
use Gantry\Framework\Gantry;
use RocketTheme\Toolbox\ArrayTraits\Export;
use RocketTheme\Toolbox\ArrayTraits\NestedArrayAccessWithGetters;
use RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator;
/**
* Class ThemeDetails
* @package Gantry\Component\Theme
*
* @property string $name
*/
class ThemeDetails implements \ArrayAccess
{
use NestedArrayAccessWithGetters, Export;
protected $items;
protected $parent;
/**
* Create new theme details.
*
* @param string $theme
*/
public function __construct($theme)
{
$gantry = Gantry::instance();
/** @var UniformResourceLocator $locator */
$locator = $gantry['locator'];
$filename = $locator->findResource("gantry-themes://{$theme}/gantry/theme.yaml");
if (!$filename) {
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param Throwable $exception
*
* @return Inspector
*/
private function getInspector($exception)
{
return new Inspector($exception);
}
/**
* Resolves the giving handler.
*
* @param callable|HandlerInterface $handler
*
* @return HandlerInterface
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
Key | Value |
tmpl | component |
team | Indian River Inland Lakes Bulldogs |
Key | Value |
joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTczMzIwNDg4OTtzOjQ6Imxhc3QiO2k6MTczMzIwNDg4OTtzOjM6Im5vdyI7aToxNzMzMjA0ODg5O319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9 |
Key | Value |
PATH | /usr/local/bin:/bin:/usr/bin |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING | br,gzip |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_HOST | www.michiganhelmetproject.com |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_IF_MODIFIED_SINCE | Wed, 17 Apr 2024 06:29:26 GMT |
HTTP_X_HTTPS | 1 |
DOCUMENT_ROOT | /home/noviwebmp/public_html/michiganhelmetproject.com |
REMOTE_ADDR | 18.97.14.91 |
REMOTE_PORT | 51186 |
SERVER_ADDR | 198.143.149.138 |
SERVER_NAME | www.michiganhelmetproject.com |
SERVER_ADMIN | webmaster@michiganhelmetproject.mp.noviweb.org |
SERVER_PORT | 443 |
REQUEST_SCHEME | https |
REQUEST_URI | /feedback/?tmpl=component&team=Indian%20River%20Inland%20Lakes%20Bulldogs |
REDIRECT_URL | /feedback/ |
REDIRECT_QUERY_STRING | tmpl=component&team=Indian%20River%20Inland%20Lakes%20Bulldogs |
REDIRECT_REQUEST_METHOD | GET |
HTTPS | on |
HTTP_AUTHORIZATION | |
REDIRECT_STATUS | 200 |
X_SPDY | HTTP2 |
SSL_PROTOCOL | TLSv1.3 |
SSL_CIPHER | TLS_AES_256_GCM_SHA384 |
SSL_CIPHER_USEKEYSIZE | 256 |
SSL_CIPHER_ALGKEYSIZE | 256 |
SCRIPT_FILENAME | /home/noviwebmp/public_html/michiganhelmetproject.com/index.php |
QUERY_STRING | tmpl=component&team=Indian%20River%20Inland%20Lakes%20Bulldogs |
SCRIPT_URI | https://www.michiganhelmetproject.com/feedback/ |
SCRIPT_URL | /feedback/ |
SCRIPT_NAME | /index.php |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | LiteSpeed |
REQUEST_METHOD | GET |
X-LSCACHE | on |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1733204889.353 |
REQUEST_TIME | 1733204889 |