Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
2775 rexy 1
<?php
2
/**
3
 * Basic OS Functions
4
 *
5
 * PHP version 5
6
 *
7
 * @category  PHP
8
 * @package   PSI_Interfaces
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.PSI_Interface_OS.inc.php 263 2009-06-22 13:01:52Z bigmichi1 $
13
 * @link      http://phpsysinfo.sourceforge.net
14
 */
15
 /**
16
 * define which methods a os class for phpsysinfo must implement
17
 * to be recognized and fully work without errors, these are the methods which
18
 * are called from outside to include the information in the main application
19
 *
20
 * @category  PHP
21
 * @package   PSI_Interfaces
22
 * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
23
 * @copyright 2009 phpSysInfo
24
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
25
 * @version   Release: 3.0
26
 * @link      http://phpsysinfo.sourceforge.net
27
 */
28
interface PSI_Interface_OS
29
{
30
    /**
31
     * get a special encoding from os where phpsysinfo is running
32
     *
33
     * @return string
34
     */
35
    public function getEncoding();
36
 
37
    /**
38
     * build the os information
39
     *
40
     * @return void
41
     */
42
    public function build();
43
 
44
    /**
45
     * get the filled or unfilled (with default values) system object
46
     *
47
     * @return System
48
     */
49
    public function getSys();
50
 
51
    /**
52
     * get os specific language
53
     *
54
     * @return string
55
     */
56
    public function getLanguage();
57
}