[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.101.119: ~ $
<?php

namespace YahnisElsts\AdminMenuEditor\Customizable;

use YahnisElsts\AdminMenuEditor\Customizable\Storage\StorageInterface;

abstract class Customizable {
	protected $id;

	/**
	 * @var string
	 */
	protected $label = '';
	/**
	 * @var string
	 */
	protected $description = '';
	/**
	 * @var null|string
	 */
	protected $groupTitle = null;

	/**
	 * @var StorageInterface
	 */
	protected $store = null;

	public function __construct($id, StorageInterface $store = null, $params = array()) {
		$this->id = $id;
		$this->store = $store;

		$this->label = isset($params['label']) ? $params['label'] : (!empty($this->label) ? $this->label : $id);
		if ( isset($params['description']) ) {
			$this->description = $params['description'];
		}
		if ( isset($params['groupTitle']) ) {
			$this->groupTitle = $params['groupTitle'];
		}
	}

	/**
	 * @return string
	 */
	public function getId() {
		return $this->id;
	}

	/**
	 * @return string
	 */
	public function getLabel() {
		return $this->label;
	}

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

	/**
	 * @return string|null
	 */
	public function getCustomGroupTitle() {
		return $this->groupTitle;
	}

	public function getStore() {
		return $this->store;//todo: remove debug code
	}
}

Filemanager

Name Type Size Permission Actions
Builders Folder 0755
Controls Folder 0755
Rendering Folder 0755
Settings Folder 0755
Storage Folder 0755
Validation Folder 0755
assets Folder 0755
Customizable.php File 1.26 KB 0644
HtmlHelper.php File 2.35 KB 0644
SampleModule.php File 17.13 KB 0644
SettingCondition.php File 2.84 KB 0644
SettingsForm.php File 3.62 KB 0644
UpdateRequestHandler.php File 11.41 KB 0644
constants.php File 87 B 0644