| Server IP : 91.108.106.242 / Your IP : 216.73.216.240 Web Server : LiteSpeed System : Linux in-mum-web1677.main-hosting.eu 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : u635632881 ( 635632881) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/usr/local/lsws/admin/html.6.0.11/classes/ |
Upload File : |
<?php
class CVal
{
private $_v = NULL; //value
private $_e = NULL; //err
public function __construct($v, $e=NULL)
{
$this->_v = $v;
$this->_e = $e;
}
public function GetVal()
{
return $this->_v;
}
public function SetVal($v)
{
$this->_v = $v;
}
public function HasVal()
{
// 0 is valid
return ($this->_v !== NULL && $this->_v !== '');
}
public function GetErr()
{
return $this->_e;
}
public function SetErr($e)
{
$this->_e = $e;
}
public function HasErr()
{
return $this->_e != NULL;
}
}
class ConfData
{
var $_data;
var $_path;
var $_type; //{'serv','admin','vh','tp'}
var $_id;
public function __construct($type, $path, $id=NULL)
{
$this->_data = array();
$this->_type = $type;
$this->_path = $path;
$this->_id = $id;
}
public function setId($id)
{
$this->_id = $id;
}
}