| 2775 | 
           rexy | 
           1 | 
           <?php
  | 
        
        
            | 
            | 
           2 | 
           /**
  | 
        
        
            | 
            | 
           3 | 
            * Basic UPS 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_UPS.inc.php 263 2009-06-22 13:01:52Z bigmichi1 $
  | 
        
        
            | 
            | 
           13 | 
            * @link      http://phpsysinfo.sourceforge.net
  | 
        
        
            | 
            | 
           14 | 
            */
  | 
        
        
            | 
            | 
           15 | 
            /**
  | 
        
        
            | 
            | 
           16 | 
            * define which methods a ups class for phpsysinfo must implement
  | 
        
        
            | 
            | 
           17 | 
            * to be recognized and fully work without errors
  | 
        
        
            | 
            | 
           18 | 
            *
  | 
        
        
            | 
            | 
           19 | 
            * @category  PHP
  | 
        
        
            | 
            | 
           20 | 
            * @package   PSI_Interfaces
  | 
        
        
            | 
            | 
           21 | 
            * @author    Michael Cramer <BigMichi1@users.sourceforge.net>
  | 
        
        
            | 
            | 
           22 | 
            * @copyright 2009 phpSysInfo
  | 
        
        
            | 
            | 
           23 | 
            * @license   http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
  | 
        
        
            | 
            | 
           24 | 
            * @version   Release: 3.0
  | 
        
        
            | 
            | 
           25 | 
            * @link      http://phpsysinfo.sourceforge.net
  | 
        
        
            | 
            | 
           26 | 
            */
  | 
        
        
            | 
            | 
           27 | 
           interface PSI_Interface_UPS
  | 
        
        
            | 
            | 
           28 | 
           {
  | 
        
        
            | 
            | 
           29 | 
               /**
  | 
        
        
            | 
            | 
           30 | 
                * build the ups information
  | 
        
        
            | 
            | 
           31 | 
                *
  | 
        
        
            | 
            | 
           32 | 
                * @return void
  | 
        
        
            | 
            | 
           33 | 
                */
  | 
        
        
            | 
            | 
           34 | 
               public function build();
  | 
        
        
            | 
            | 
           35 | 
              | 
        
        
            | 
            | 
           36 | 
               /**
  | 
        
        
            | 
            | 
           37 | 
                * get the filled or unfilled (with default values) UPSInfo object
  | 
        
        
            | 
            | 
           38 | 
                *
  | 
        
        
            | 
            | 
           39 | 
                * @return UPSInfo
  | 
        
        
            | 
            | 
           40 | 
                */
  | 
        
        
            | 
            | 
           41 | 
               public function getUPSInfo();
  | 
        
        
            | 
            | 
           42 | 
           }
  |