Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/www/plugins/vmcalculation/avalara/classes/ |
Upload File : |
<?php
/**
* ATObject.class.php
*/
/**
* Generic Dynamic Object
*
* @author Avalara
* @copyright � 2004 - 2011 Avalara, Inc. All rights reserved.
* @package Base
*/
class ATObject
{
private $_ivars = array();
public function __get($n)
{
if(isset($this->_ivars[$n]))
{
return $this->_ivars[$n];
}
else
{
return null;
}
}
public function __set($n,$v)
{
if($v == null)
{
unset($this->_ivars[$n]);
}
else
{
$this->_ivars[$n] = $v;
}
}
public function __isset($n) { return isset($ivars[$n]); }
public function __unset($n) { unset($this->_ivars[$n]); }
public function __call($n,$args)
{
if(sizeof($args) == 1)
{
$this->__set($n,$args[0]);
return null;
}
else if(sizeof($args) == 0)
{
return $this->__get($n);
}
}
public function ivars() { return $this->_ivars; }
}
?>