Brian Read c8ce77259d * Mon May 12 2025 Brian Read <brianr@koozali.org> 11.0.0-1.sme
- Adding SM2 panel [SME: 13004]
- Upgrade to phpsysinfo 3.4.4
- Add code to delete inline styles and add css to make it look better.
- version saved / built uses the static version, which means no drops downs and choices.
2025-05-14 16:14:01 +01:00

63 lines
1.4 KiB
PHP

<?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);
}
}