WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/shop_styroporzuschnitte24_de/engine/Shopware/Components/Theme.php (13.07 KB)
<?php
/**
 * Shopware 5
 * Copyright (c) shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 */

namespace Shopware\Components;

use Doctrine\Common\Collections\ArrayCollection;
use Shopware\Components\Form as Form;

/**
 * Base class for the shopware themes.
 * Used as meta information container for a theme.
 * Contains the inheritance and config definition of a theme.
 *
 * @category  Shopware
 * @package   Shopware\Components
 * @copyright Copyright (c) shopware AG (http://www.shopware.de)
 */
class Theme
{
    /**
     * Defines the parent theme
     * @var null
     */
    protected $extend = null;

    /**
     * Defines the human readable theme name
     * which displayed in the backend
     * @var string
     */
    protected $name = '';

    /**
     * Allows to define a description text
     * for the theme
     * @var null
     */
    protected $description = null;

    /**
     * Name of the theme author.
     * @var null
     */
    protected $author = null;

    /**
     * License of the theme source code.
     *
     * @var null
     */
    protected $license = null;

    /**
     * Flag for the inheritance configuration.
     * If this flag is set to true, the configuration
     * of extended themes will be copied to this theme.
     *
     * Example for inheritance config behavior:
     *
     * `Theme-A` extends `Theme-B`.
     * `Theme-B` contains a config field named `text1`.
     * `inheritanceConfig` of `Theme-A` is set to true.
     * `Theme-A` backend config form contains now the `text1` field as own field.
     * Notice: Changes of `text1` field won't be saved to `Theme-B` configuration!
     *
     * @var bool
     */
    protected $inheritanceConfig = true;

    /**
     * The javascript property allows to define .js files
     * which should be compressed into one small .js file for the frontend.
     * The shopware theme compiler expects that this files are
     * stored in the ../Themes/NAME/frontend/_public/ directory.
     *
     * @var array
     */
    protected $javascript = array();

    /**
     * The css property allows to define .css files
     * which should be compressed into one small .css file for the frontend.
     * The shopware theme compiler expects that this files are
     * stored in the ../Themes/NAME/frontend/_public/ directory.
     *
     * @var array
     */
    protected $css = array();

    /**
     * Defines if theme assets should be injected before or after plugin assets.
     * This includes template directories for template inheritance and
     * less and javascript files for the theme compiler.
     *
     * @var bool
     */
    protected $injectBeforePlugins = false;

    /**
     * Don't override this function. Used
     * from the backend template module
     * to get the template hierarchy
     * @return null|string
     */
    public function getExtend()
    {
        return $this->extend;
    }

    /**
     * @return null
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @return null
     */
    final public function getAuthor()
    {
        return $this->author;
    }

    /**
     * @return null
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * @return null
     */
    public function getLicense()
    {
        return $this->license;
    }

    /**
     * Helper function which returns the theme
     * directory name
     *
     * @return mixed
     */
    public function getTemplate()
    {
        $class = get_class($this);
        $paths = explode("\\", $class);
        return $paths[count($paths) - 2];
    }

    /**
     * Getter for the $inheritanceConfig property.
     *
     * @return bool
     */
    public function useInheritanceConfig()
    {
        return $this->inheritanceConfig;
    }

    /**
     * Returns the javascript files definition.
     * @return array
     */
    public function getJavascript()
    {
        return $this->javascript;
    }

    /**
     * Returns the css files definition.
     * @return array
     */
    public function getCss()
    {
        return $this->css;
    }

    /**
     * Override this function to create an own theme configuration
     * Example:
     * <code>
     *  public function createConfig(Form\Container\TabContainer $container)
     *  {
     *      $tab = $this->createTab('tab_name', 'Tab title');
     *
     *      $fieldSet = $this->createFieldSet('field_set_name', 'Field set title');
     *
     *      $text = $this->createTextField('variable_name', 'Field label', 'Default value');
     *
     *      $fieldSet->addElement($text);
     *
     *      $tab->addElement($fieldSet);
     *      $container->addTab($tab);
     *  }
     * </code>
     */
    public function createConfig(Form\Container\TabContainer $container)
    {
    }

    /**
     * Each theme can implement multiple configuration sets or also named color sets.
     * The shop owner has only read access on this sets.
     * The function parameter collection can be used to add new sets.
     *
     * Example:
     *   public function createConfigSets(ArrayCollection $collection)
     *   {
     *      $set = new ConfigSet();
     *      $set->setName('Set name');
     *      $set->setDescription('Set description');
     *      $set->setValues(array(
     *          'field1' => 'field1_value',
     *          'field2' => 'field2_value'
     *      ));
     *
     *      $collection->add($set);
     *   }
     */
    public function createConfigSets(ArrayCollection $collection)
    {
    }

    /**
     * @return boolean
     */
    public function injectBeforePlugins()
    {
        return $this->injectBeforePlugins;
    }

    /**
     * Creates a ext js tab panel.
     * @param $name
     * @param array $options
     * @return Form\Container\TabContainer
     */
    protected function createTabPanel($name, array $options = array())
    {
        $element = new Form\Container\TabContainer($name);
        $element->fromArray($options);
        return $element;
    }

    /**
     * Creates a ext js form field.
     * @param $name
     * @param $title
     * @param array $options
     * @return Form\Container\FieldSet
     */
    protected function createFieldSet($name, $title, array $options = array())
    {
        $element = new Form\Container\FieldSet($name, $title);
        $element->fromArray($options);
        return $element;
    }

    /**
     * Creates a ext js container which can be used as tab panel element or
     * as normal container.
     *
     * @param $name
     * @param $title
     * @param array $options
     * @return Form\Container\Tab
     */
    protected function createTab($name, $title, array $options = array())
    {
        $element = new Form\Container\Tab($name, $title);
        $element->fromArray($options);
        return $element;
    }

    /**
     * Creates a ext js text field.
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Text
     */
    protected function createTextField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Text($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);

        return $element;
    }

    /**
     * Creates a ext js number field.
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Number
     */
    protected function createNumberField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Number($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a ext js check box field.
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Boolean
     */
    protected function createCheckboxField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Boolean($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a custom shopware color picker field.
     *
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Color
     */
    protected function createColorPickerField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Color($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a ext js date field.
     *
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Date
     */
    protected function createDateField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Date($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a ext js text field with auto suffix `em`
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Em
     */
    protected function createEmField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Em($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a single media selection field.
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Media
     */
    protected function createMediaField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Media($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a text field with an auto suffix `%`
     *
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Percent
     */
    protected function createPercentField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Percent($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a text field with an auto suffix `px
     *
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\Pixel
     */
    protected function createPixelField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\Pixel($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a ext js combo box field.
     *
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array[] $store [['text' => 'displayText', 'value'  => 10], ...]
     * @param array $options
     * @return Form\Field\Selection
     */
    protected function createSelectField($name, $label, $defaultValue, array $store, array $options = array())
    {
        $element = new Form\Field\Selection($name, $store);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }

    /**
     * Creates a ext js text area field.
     *
     * @param $name
     * @param $label
     * @param $defaultValue
     * @param array $options
     * @return Form\Field\TextArea
     */
    protected function createTextAreaField($name, $label, $defaultValue, array $options = array())
    {
        $element = new Form\Field\TextArea($name);
        $element->fromArray($options);
        $element->setLabel($label);
        $element->setDefaultValue($defaultValue);
        return $element;
    }
}
namawaktuukuranownerpermaksi
..
Api/ 2016-11-07 16:02287.29 KB 76129f60960:kundendxwrx-rx-r
Auth/ 2016-11-07 16:029.48 KB 76129f60960:kundendxwrx-rx-r
Benchmark/ 2016-11-07 15:592.97 KB 76129f60960:kundendxwrx-rx-r
CategoryHandling/ 2016-11-07 15:596.7 KB 76129f60960:kundendxwrx-rx-r
Check/ 2016-11-07 16:02137.23 KB 76129f60960:kundendxwrx-rx-r
Compatibility/ 2016-11-07 15:5940.29 KB 76129f60960:kundendxwrx-rx-r
Console/ 2016-11-07 15:599.29 KB 76129f60960:kundendxwrx-rx-r
Convert/ 2016-11-07 15:5921.31 KB 76129f60960:kundendxwrx-rx-r
Cron/ 2016-11-07 15:591.8 KB 76129f60960:kundendxwrx-rx-r
DependencyInjection/ 2016-11-07 16:0289.93 KB 76129f60960:kundendxwrx-rx-r
Emotion/ 2016-11-07 15:596.4 KB 76129f60960:kundendxwrx-rx-r
Escaper/ 2016-11-07 15:595.38 KB 76129f60960:kundendxwrx-rx-r
Form/ 2016-11-07 16:0245.21 KB 76129f60960:kundendxwrx-rx-r
HttpCache/ 2016-11-07 15:5927.91 KB 76129f60960:kundendxwrx-rx-r
HttpClient/ 2016-11-07 15:59261.1 KB 76129f60960:kundendxwrx-rx-r
Install/ 2016-11-07 15:593.59 KB 76129f60960:kundendxwrx-rx-r
LegacyRequestWrapper/ 2016-11-07 15:599.77 KB 76129f60960:kundendxwrx-rx-r
License/ 2016-11-07 16:0218.86 KB 76129f60960:kundendxwrx-rx-r
Log/ 2016-11-07 16:0233.09 KB 76129f60960:kundendxwrx-rx-r
Migrations/ 2016-11-07 15:5910.92 KB 76129f60960:kundendxwrx-rx-r
Model/ 2016-11-07 16:04141.64 KB 76129f60960:kundendxwrx-rx-r
MultiEdit/ 2016-11-07 16:0298 KB 76129f60960:kundendxwrx-rx-r
Password/ 2016-11-07 16:0218.5 KB 76129f60960:kundendxwrx-rx-r
Plugin/ 2016-11-07 16:02119.2 KB 76129f60960:kundendxwrx-rx-r
ProductStream/ 2016-11-07 15:5919.08 KB 76129f60960:kundendxwrx-rx-r
Routing/ 2016-11-07 16:0258.6 KB 76129f60960:kundendxwrx-rx-r
Snippet/ 2016-11-07 16:0238.98 KB 76129f60960:kundendxwrx-rx-r
Test/ 2016-11-07 16:024.02 KB 76129f60960:kundendxwrx-rx-r
Theme/ 2016-11-07 16:02130.93 KB 76129f60960:kundendxwrx-rx-r
Thumbnail/ 2016-11-07 16:0221.71 KB 76129f60960:kundendxwrx-rx-r
Validator/ 2016-11-07 15:593.01 KB 76129f60960:kundendxwrx-rx-r
Acl.php 2016-11-07 15:586.65 KB 76129f60960:kunden-xw-x-----
edt
AttributeSubscriber.php 2016-11-07 15:584.73 KB 76129f60960:kunden-xw-x-----
edt
Auth.php 2016-11-07 15:585.26 KB 76129f60960:kunden-xw-x-----
edt
CSRFTokenValidationException.php 2016-11-07 15:581.08 KB 76129f60960:kunden-xw-x-----
edt
CSRFTokenValidator.php 2016-11-07 15:585.52 KB 76129f60960:kunden-xw-x-----
edt
CSRFWhitelistAware.php 2016-11-07 15:581.23 KB 76129f60960:kunden-xw-x-----
edt
CacheManager.php 2016-11-07 15:5812.56 KB 76129f60960:kunden-xw-x-----
edt
Config.php 2016-11-07 15:587.9 KB 76129f60960:kunden-xw-x-----
edt
ConfigLoader.php 2016-11-07 15:585.01 KB 76129f60960:kunden-xw-x-----
edt
ConfigWriter.php 2016-11-07 15:584.32 KB 76129f60960:kunden-xw-x-----
edt
ContainerAwareEventManager.php 2016-11-07 15:586.61 KB 76129f60960:kunden-xw-x-----
edt
CsvIterator.php 2016-11-07 15:586.91 KB 76129f60960:kunden-xw-x-----
edt
Document.php 2016-11-07 15:5822.91 KB 76129f60960:kunden-xw-x-----
edt
Form.php 2016-11-07 15:581.43 KB 76129f60960:kunden-xw-x-----
edt
HolidayTableUpdater.php 2016-11-07 15:584.42 KB 76129f60960:kunden-xw-x-----
edt
Licence.php 2016-11-07 15:581.25 KB 76129f60960:kunden-xw-x-----
edt
LicenseInstaller.php 2016-11-07 15:583.04 KB 76129f60960:kunden-xw-x-----
edt
Logger.php 2016-11-07 15:581.59 KB 76129f60960:kunden-xw-x-----
edt
MemoryLimit.php 2016-11-07 15:582.04 KB 76129f60960:kunden-xw-x-----
edt
Modules.php 2016-11-07 15:584.94 KB 76129f60960:kunden-xw-x-----
edt
NumberRangeIncrementer.php 2016-11-07 15:582.16 KB 76129f60960:kunden-xw-x-----
edt
NumberRangeIncrementerInterface.php 2016-11-07 15:581.65 KB 76129f60960:kunden-xw-x-----
edt
OpenSSLVerifier.php 2016-11-07 15:582.82 KB 76129f60960:kunden-xw-x-----
edt
Plugin.php 2016-11-07 15:585.31 KB 76129f60960:kunden-xw-x-----
edt
QueryAliasMapper.php 2016-11-07 15:584.62 KB 76129f60960:kunden-xw-x-----
edt
Random.php 2016-11-07 15:585.7 KB 76129f60960:kunden-xw-x-----
edt
ReflectionHelper.php 2016-11-07 15:582.11 KB 76129f60960:kunden-xw-x-----
edt
SitePageMenu.php 2016-11-07 15:585.13 KB 76129f60960:kunden-xw-x-----
edt
SitemapXMLRepository.php 2016-11-07 15:5810.86 KB 76129f60960:kunden-xw-x-----
edt
StringCompiler.php 2016-11-07 15:584.64 KB 76129f60960:kunden-xw-x-----
edt
TemplateMail.php 2016-11-07 15:587.54 KB 76129f60960:kunden-xw-x-----
edt
Theme.php 2016-11-07 15:5813.07 KB 76129f60960:kunden-xw-x-----
edt
Translation.php 2016-11-07 15:5816.25 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/shop_styroporzuschnitte24_de/engine/Shopware/Components
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK