Submit
Path:
~
/
/
opt
/
psa
/
admin
/
plib
/
modules
/
firewall
/
vendor
/
plesk
/
api-php-lib
/
src
/
Api
/
Struct
/
Subdomain
/
File Content:
Info.php
<?php // Copyright 1999-2025. WebPros International GmbH. namespace PleskX\Api\Struct\Subdomain; use PleskX\Api\AbstractStruct; class Info extends AbstractStruct { public int $id; public string $parent; public string $name; public array $properties; public function __construct(\SimpleXMLElement $apiResponse) { $this->properties = []; $this->initScalarProperties($apiResponse, [ 'id', 'parent', 'name', ]); foreach ($apiResponse->property ?? [] as $propertyInfo) { $this->properties[(string) $propertyInfo->name] = (string) $propertyInfo->value; } } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
Info.php
673 bytes
0644
N4ST4R_ID | Naxtarrr