|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / a / home / dev2.destoffenstraat.com / vendor / amasty / base / Debug / System / |
Filename | /home/a/home/dev2.destoffenstraat.com/vendor/amasty/base/Debug/System/Template.php |
Size | 4.1 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 21-Aug-2025 12:26 |
Last modified | 16-Aug-2022 09:35 |
Last accessed | 23-Aug-2025 21:08 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package Magento 2 Base Package
*/
namespace Amasty\Base\Debug\System;
/**
* @codeCoverageIgnore
* @codingStandardsIgnoreFile
*/
class Template
{
public static $varWrapper = '<div class="amasty-base-debug-wrapper"><code>%s</code></div>';
public static $string = '"<span class="amasty-base-string">%s</span>"';
public static $var = '<span class="amasty-base-var">%s</span>';
public static $arrowsOpened = '<span class="amasty-base-arrow" data-opened="true">▼</span>
<div class="amasty-base-array">';
public static $arrowsClosed = '<span class="amasty-base-arrow" data-opened="false">◀</span>
<div class="amasty-base-array amasty-base-hidden">';
public static $arrayHeader = '<span class="amasty-base-info">array:%s</span> [';
public static $array = '<div class="amasty-base-array-line" style="padding-left:%s0px">
%s => %s
</div>';
public static $arrayFooter = '</div>]';
public static $arrayKeyString = '"<span class="amasty-base-array-key">%s</span>"';
public static $arrayKey = '<span class="amasty-base-array-key">%s</span>';
public static $arraySimpleVar = '<span class="amasty-base-array-value">%s</span>';
public static $arraySimpleString = '"<span class="amasty-base-array-string-value">%s</span>"';
public static $objectHeader = '<span class="amasty-base-info" title="%s">Object: %s</span> {';
public static $objectMethod = '<div class="amasty-base-object-method-line" style="padding-left:%s0px">
#%s
</div>';
public static $objectMethodHeader = '<span style="margin-left:%s0px">Methods: </span>
<span class="amasty-base-arrow" data-opened="false">◀</span>
<div class="amasty-base-array amasty-base-hidden">';
public static $objectMethodFooter = '</div>';
public static $objectFooter = '</div> }';
public static $debugJsCss = '<script>
var amastyToggle = function() {
if (this.dataset.opened == "true") {
this.innerHTML = "◀";
this.dataset.opened = "false";
this.nextElementSibling.className = "amasty-base-array amasty-base-hidden";
} else {
this.innerHTML = "▼";
this.dataset.opened = "true";
this.nextElementSibling.className = "amasty-base-array";
}
};
document.addEventListener("DOMContentLoaded", function() {
arrows = document.getElementsByClassName("amasty-base-arrow");
for (i = 0; i < arrows.length; i++) {
arrows[i].addEventListener("click", amastyToggle,false);
}
});
</script>
<style>
.amasty-base-debug-wrapper {
background-color: #263238;
color: #ff9416;
font-size: 13px;
padding: 10px;
border-radius: 3px;
z-index: 1000000;
margin: 20px 0;
}
.amasty-base-debug-wrapper code {
background: transparent !important;
color: inherit !important;
padding: 0;
font-size: inherit;
white-space: inherit;
}
.amasty-base-info {
color: #82AAFF;
}
.amasty-base-var, .amasty-base-array-key {
color: #fff;
}
.amasty-base-array-value {
color: #C792EA;
font-weight: bold;
}
.amasty-base-arrow {
cursor: pointer;
color: #82aaff;
}
.amasty-base-hidden {
display:none;
}
.amasty-base-string, .amasty-base-array-string-value {
font-weight: bold;
color: #c3e88d;
}
.amasty-base-object-method-line {
color: #fff;
}
</style>';
}
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package Magento 2 Base Package
*/
namespace Amasty\Base\Debug\System;
/**
* @codeCoverageIgnore
* @codingStandardsIgnoreFile
*/
class Template
{
public static $varWrapper = '<div class="amasty-base-debug-wrapper"><code>%s</code></div>';
public static $string = '"<span class="amasty-base-string">%s</span>"';
public static $var = '<span class="amasty-base-var">%s</span>';
public static $arrowsOpened = '<span class="amasty-base-arrow" data-opened="true">▼</span>
<div class="amasty-base-array">';
public static $arrowsClosed = '<span class="amasty-base-arrow" data-opened="false">◀</span>
<div class="amasty-base-array amasty-base-hidden">';
public static $arrayHeader = '<span class="amasty-base-info">array:%s</span> [';
public static $array = '<div class="amasty-base-array-line" style="padding-left:%s0px">
%s => %s
</div>';
public static $arrayFooter = '</div>]';
public static $arrayKeyString = '"<span class="amasty-base-array-key">%s</span>"';
public static $arrayKey = '<span class="amasty-base-array-key">%s</span>';
public static $arraySimpleVar = '<span class="amasty-base-array-value">%s</span>';
public static $arraySimpleString = '"<span class="amasty-base-array-string-value">%s</span>"';
public static $objectHeader = '<span class="amasty-base-info" title="%s">Object: %s</span> {';
public static $objectMethod = '<div class="amasty-base-object-method-line" style="padding-left:%s0px">
#%s
</div>';
public static $objectMethodHeader = '<span style="margin-left:%s0px">Methods: </span>
<span class="amasty-base-arrow" data-opened="false">◀</span>
<div class="amasty-base-array amasty-base-hidden">';
public static $objectMethodFooter = '</div>';
public static $objectFooter = '</div> }';
public static $debugJsCss = '<script>
var amastyToggle = function() {
if (this.dataset.opened == "true") {
this.innerHTML = "◀";
this.dataset.opened = "false";
this.nextElementSibling.className = "amasty-base-array amasty-base-hidden";
} else {
this.innerHTML = "▼";
this.dataset.opened = "true";
this.nextElementSibling.className = "amasty-base-array";
}
};
document.addEventListener("DOMContentLoaded", function() {
arrows = document.getElementsByClassName("amasty-base-arrow");
for (i = 0; i < arrows.length; i++) {
arrows[i].addEventListener("click", amastyToggle,false);
}
});
</script>
<style>
.amasty-base-debug-wrapper {
background-color: #263238;
color: #ff9416;
font-size: 13px;
padding: 10px;
border-radius: 3px;
z-index: 1000000;
margin: 20px 0;
}
.amasty-base-debug-wrapper code {
background: transparent !important;
color: inherit !important;
padding: 0;
font-size: inherit;
white-space: inherit;
}
.amasty-base-info {
color: #82AAFF;
}
.amasty-base-var, .amasty-base-array-key {
color: #fff;
}
.amasty-base-array-value {
color: #C792EA;
font-weight: bold;
}
.amasty-base-arrow {
cursor: pointer;
color: #82aaff;
}
.amasty-base-hidden {
display:none;
}
.amasty-base-string, .amasty-base-array-string-value {
font-weight: bold;
color: #c3e88d;
}
.amasty-base-object-method-line {
color: #fff;
}
</style>';
}