Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2775 rexy 1
<?php
2
/**
3
 * MBInfo TO class
4
 *
5
 * PHP version 5
6
 *
7
 * @category  PHP
8
 * @package   PSI_TO
9
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
10
 * @copyright 2009 phpSysInfo
11
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
12
 * @version   SVN: $Id: class.UPSInfo.inc.php 329 2009-09-07 11:21:44Z bigmichi1 $
13
 * @link      http://phpsysinfo.sourceforge.net
14
 */
15
 /**
16
 * MBInfo TO class
17
 *
18
 * @category  PHP
19
 * @package   PSI_TO
20
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
21
 * @copyright 2009 phpSysInfo
22
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
23
 * @version   Release: 3.0
24
 * @link      http://phpsysinfo.sourceforge.net
25
 */
26
class UPSInfo
27
{
28
    /**
29
     * array with upsdivices
30
     *
31
     * @see UPSDevice
32
     *
33
     * @var array
34
     */
35
    private $_upsDevices = array();
36
 
37
    /**
38
     * Returns $_upsDevices.
39
     *
40
     * @see UPSInfo::$_upsDevices
41
     *
42
     * @return array
43
     */
44
    public function getUpsDevices()
45
    {
46
        return $this->_upsDevices;
47
    }
48
 
49
    /**
50
     * Sets $_upsDevices.
51
     *
52
     * @param UPSDevice $upsDevices upsdevice
53
     *
54
     * @see UPSInfo::$_upsDevices
55
     *
56
     * @return void
57
     */
58
    public function setUpsDevices($upsDevices)
59
    {
60
        array_push($this->_upsDevices, $upsDevices);
61
    }
62
}