| Server IP : 123.56.80.60 / Your IP : 216.73.216.78 Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586 User : SYSTEM ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /wamp/apps/phpsysinfo3.4.2/includes/to/ |
Upload File : |
<?php
/**
* MBInfo TO class
*
* PHP version 5
*
* @category PHP
* @package PSI_TO
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
* @version SVN: $Id: class.UPSInfo.inc.php 329 2009-09-07 11:21:44Z bigmichi1 $
* @link http://phpsysinfo.sourceforge.net
*/
/**
* MBInfo TO class
*
* @category PHP
* @package PSI_TO
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
* @version Release: 3.0
* @link http://phpsysinfo.sourceforge.net
*/
class UPSInfo
{
/**
* array with upsdivices
*
* @see UPSDevice
*
* @var array
*/
private $_upsDevices = array();
/**
* Returns $_upsDevices.
*
* @see UPSInfo::$_upsDevices
*
* @return array
*/
public function getUpsDevices()
{
return $this->_upsDevices;
}
/**
* Sets $_upsDevices.
*
* @param UPSDevice $upsDevices upsdevice
*
* @see UPSInfo::$_upsDevices
*
* @return void
*/
public function setUpsDevices($upsDevices)
{
array_push($this->_upsDevices, $upsDevices);
}
}