2024-09-07 20:53:46 +10:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* CpuDevice TO class
|
|
|
|
*
|
|
|
|
* PHP version 5
|
|
|
|
*
|
|
|
|
* @category PHP
|
|
|
|
* @package PSI_TO
|
|
|
|
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
|
|
|
|
* @copyright 2009 phpSysInfo
|
2025-05-14 16:14:01 +01:00
|
|
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
|
2024-09-07 20:53:46 +10:00
|
|
|
* @version SVN: $Id: class.CpuDevice.inc.php 411 2010-12-28 22:32:52Z Jacky672 $
|
|
|
|
* @link http://phpsysinfo.sourceforge.net
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* CpuDevice TO class
|
|
|
|
*
|
|
|
|
* @category PHP
|
|
|
|
* @package PSI_TO
|
|
|
|
* @author Michael Cramer <BigMichi1@users.sourceforge.net>
|
|
|
|
* @copyright 2009 phpSysInfo
|
2025-05-14 16:14:01 +01:00
|
|
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
|
2024-09-07 20:53:46 +10:00
|
|
|
* @version Release: 3.0
|
|
|
|
* @link http://phpsysinfo.sourceforge.net
|
|
|
|
*/
|
|
|
|
class CpuDevice
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* model of the cpu
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var string
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_model = "";
|
|
|
|
|
2025-05-14 16:14:01 +01:00
|
|
|
/**
|
|
|
|
* cpu voltage
|
|
|
|
*
|
|
|
|
* @var Float
|
|
|
|
*/
|
|
|
|
private $_voltage = 0;
|
|
|
|
|
2024-09-07 20:53:46 +10:00
|
|
|
/**
|
|
|
|
* speed of the cpu in hertz
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_cpuSpeed = 0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* max speed of the cpu in hertz
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_cpuSpeedMax = 0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* min speed of the cpu in hertz
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_cpuSpeedMin = 0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* cache size in bytes, if available
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_cache = null;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* virtualization, if available
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var string
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_virt = null;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* busspeed in hertz, if available
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_busSpeed = null;
|
|
|
|
|
2025-05-14 16:14:01 +01:00
|
|
|
/**
|
|
|
|
* bogomips of the cpu, if available
|
|
|
|
*
|
|
|
|
* @var int
|
|
|
|
*/
|
|
|
|
private $_bogomips = null;
|
|
|
|
|
2024-09-07 20:53:46 +10:00
|
|
|
/**
|
|
|
|
* temperature of the cpu, if available
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_temp = null;
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* vendorid, if available
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var string
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
private $_vendorid = null;
|
2024-09-07 20:53:46 +10:00
|
|
|
|
|
|
|
/**
|
|
|
|
* current load in percent of the cpu, if available
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @var int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
private $_load = null;
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_model.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_model
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return String
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getModel()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_model;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_model.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param String $model cpumodel
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_model
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setModel($model)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_model = $model;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_voltage.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_voltage
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return Float
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getVoltage()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_voltage;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_voltage.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $voltage voltage
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_voltage
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setVoltage($voltage)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_voltage = $voltage;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_cpuSpeed.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cpuSpeed
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getCpuSpeed()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_cpuSpeed;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_cpuSpeed.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $cpuSpeed cpuspeed
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cpuSpeed
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setCpuSpeed($cpuSpeed)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_cpuSpeed = $cpuSpeed;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_cpuSpeedMax.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cpuSpeedMAx
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getCpuSpeedMax()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_cpuSpeedMax;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_cpuSpeedMax.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $cpuSpeedMax cpuspeedmax
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cpuSpeedMax
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setCpuSpeedMax($cpuSpeedMax)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_cpuSpeedMax = $cpuSpeedMax;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_cpuSpeedMin.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cpuSpeedMin
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getCpuSpeedMin()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_cpuSpeedMin;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_cpuSpeedMin.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $cpuSpeedMin cpuspeedmin
|
|
|
|
*
|
|
|
|
* @see Cpu::$_cpuSpeedMin
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setCpuSpeedMin($cpuSpeedMin)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_cpuSpeedMin = $cpuSpeedMin;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_cache.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cache
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getCache()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_cache;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_cache.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $cache cache size
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_cache
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setCache($cache)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_cache = $cache;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_virt.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_virt
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return String
|
|
|
|
*/
|
|
|
|
public function getVirt()
|
|
|
|
{
|
|
|
|
return $this->_virt;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets $_virt.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param string $virt
|
|
|
|
*
|
|
|
|
* @see Cpu::$_virt
|
|
|
|
*
|
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setVirt($virt)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_virt = $virt;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_busSpeed.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_busSpeed
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getBusSpeed()
|
|
|
|
{
|
|
|
|
return $this->_busSpeed;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets $_busSpeed.
|
|
|
|
*
|
|
|
|
* @param int $busSpeed busspeed
|
|
|
|
*
|
|
|
|
* @see Cpu::$_busSpeed
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setBusSpeed($busSpeed)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_busSpeed = $busSpeed;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Returns $_bogomips.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_bogomips
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function getBogomips()
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
return $this->_bogomips;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2025-05-14 16:14:01 +01:00
|
|
|
* Sets $_bogomips.
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $bogomips bogompis
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @see Cpu::$_bogomips
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
public function setBogomips($bogomips)
|
2024-09-07 20:53:46 +10:00
|
|
|
{
|
2025-05-14 16:14:01 +01:00
|
|
|
$this->_bogomips = $bogomips;
|
2024-09-07 20:53:46 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns $_temp.
|
|
|
|
*
|
|
|
|
* @see Cpu::$_temp
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
/*
|
2024-09-07 20:53:46 +10:00
|
|
|
public function getTemp()
|
|
|
|
{
|
|
|
|
return $this->_temp;
|
|
|
|
}
|
2025-05-14 16:14:01 +01:00
|
|
|
*/
|
2024-09-07 20:53:46 +10:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets $_temp.
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $temp temperature
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
|
|
|
* @see Cpu::$_temp
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
2025-05-14 16:14:01 +01:00
|
|
|
/*
|
2024-09-07 20:53:46 +10:00
|
|
|
public function setTemp($temp)
|
|
|
|
{
|
|
|
|
$this->_temp = $temp;
|
|
|
|
}
|
2025-05-14 16:14:01 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns $_vendorid.
|
|
|
|
*
|
|
|
|
* @see Cpu::$_vendorid
|
|
|
|
*
|
|
|
|
* @return String
|
|
|
|
*/
|
|
|
|
public function getVendorId()
|
|
|
|
{
|
|
|
|
return $this->_vendorid;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets $_vendorid.
|
|
|
|
*
|
|
|
|
* @param string $vendorid
|
|
|
|
*
|
|
|
|
* @see Cpu::$_vendorid
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setVendorId($vendorid)
|
|
|
|
{
|
|
|
|
$this->_vendorid = trim(preg_replace('/[\s!]/', '', $vendorid));
|
|
|
|
}
|
2024-09-07 20:53:46 +10:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns $_load.
|
|
|
|
*
|
|
|
|
* @see CpuDevice::$_load
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return int
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
public function getLoad()
|
|
|
|
{
|
|
|
|
return $this->_load;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets $_load.
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @param int $load load percent
|
2024-09-07 20:53:46 +10:00
|
|
|
*
|
|
|
|
* @see CpuDevice::$_load
|
|
|
|
*
|
2025-05-14 16:14:01 +01:00
|
|
|
* @return void
|
2024-09-07 20:53:46 +10:00
|
|
|
*/
|
|
|
|
public function setLoad($load)
|
|
|
|
{
|
|
|
|
$this->_load = $load;
|
|
|
|
}
|
|
|
|
}
|