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