OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
sendy
/
includes
/
helpers
/
geo
/
geolite2
/
vendor
/
geoip2
/
geoip2
/
src
/
Model
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
AbstractModel.php
1.09 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
AnonymousIp.php
1.44 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Asn.php
1001 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
City.php
4.1 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
ConnectionType.php
768 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Country.php
2.41 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Domain.php
714 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Enterprise.php
2.2 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Insights.php
2.2 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Isp.php
1.32 KB
05/19/2025 10:07:15 AM
rw-r--r--
Editing: AbstractModel.php
Close
<?php namespace GeoIp2\Model; /** * @ignore */ abstract class AbstractModel implements \JsonSerializable { protected $raw; /** * @ignore * * @param mixed $raw */ public function __construct($raw) { $this->raw = $raw; } /** * @ignore * * @param mixed $field */ protected function get($field) { if (isset($this->raw[$field])) { return $this->raw[$field]; } if (preg_match('/^is_/', $field)) { return false; } return null; } /** * @ignore * * @param mixed $attr */ public function __get($attr) { if ($attr !== 'instance' && property_exists($this, $attr)) { return $this->$attr; } throw new \RuntimeException("Unknown attribute: $attr"); } /** * @ignore * * @param mixed $attr */ public function __isset($attr) { return $attr !== 'instance' && isset($this->$attr); } public function jsonSerialize() { return $this->raw; } }