public static function informations()
    {
        //====================================================================//
        // Init Response Object
        $response = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);

        //====================================================================//
        // Server General Description
        $response->shortdesc = SPLASH_NAME.' '.SPLASH_VERSION;
        $response->longdesc = SPLASH_DESC;

        //====================================================================//
        // Company Informations
        $response->company = null;
        $response->address = null;
        $response->zip = null;
        $response->town = null;
        $response->country = null;
        $response->www = null;
        $response->email = null;
        $response->phone = null;

        //====================================================================//
        // Server Logo & Ico
        $response->icoraw = self::file()->readFileContents(
            dirname(dirname(__FILE__)).'/img/Splash-ico.png'
        );
        $response->logourl = null;
        $response->logoraw = self::file()->readFileContents(
            dirname(dirname(__FILE__)).'/img/Splash-ico.jpg'
        );

        //====================================================================//
        // Server Informations
        $response->servertype = SPLASH_NAME;
        $response->serverurl = filter_input(INPUT_SERVER, 'SERVER_NAME');

        //====================================================================//
        // Module Informations
        $response->moduleauthor = SPLASH_AUTHOR;
        $response->moduleversion = SPLASH_VERSION;

        //====================================================================//
        // Verify Local Module Class Is Valid
        if (!self::validate()->isValidLocalClass()) {
            return $response;
        }

        //====================================================================//
        // Merge Informations with Local Module Informations
        $localArray = self::local()->informations($response);
        if (!($localArray instanceof ArrayObject)) {
            $response = $localArray;
        }

        return $response;
    }
public static function informations()
    {
        //====================================================================//
        // Init Response Object
        $response = new ArrayObject(array(), ArrayObject::ARRAY_AS_PROPS);

        //====================================================================//
        // Server General Description
        $response->shortdesc = SPLASH_NAME.' '.SPLASH_VERSION;
        $response->longdesc = SPLASH_DESC;

        //====================================================================//
        // Company Informations
        $response->company = null;
        $response->address = null;
        $response->zip = null;
        $response->town = null;
        $response->country = null;
        $response->www = null;
        $response->email = null;
        $response->phone = null;

        //====================================================================//
        // Server Logo & Ico
        $response->icoraw = self::file()->readFileContents(
            dirname(dirname(__FILE__)).'/img/Splash-ico.png'
        );
        $response->logourl = null;
        $response->logoraw = self::file()->readFileContents(
            dirname(dirname(__FILE__)).'/img/Splash-ico.jpg'
        );

        //====================================================================//
        // Server Informations
        $response->servertype = SPLASH_NAME;
        $response->serverurl = filter_input(INPUT_SERVER, 'SERVER_NAME');

        //====================================================================//
        // Module Informations
        $response->moduleauthor = SPLASH_AUTHOR;
        $response->moduleversion = SPLASH_VERSION;

        //====================================================================//
        // Verify Local Module Class Is Valid
        if (!self::validate()->isValidLocalClass()) {
            return $response;
        }

        //====================================================================//
        // Merge Informations with Local Module Informations
        $localArray = self::local()->informations($response);
        if (!($localArray instanceof ArrayObject)) {
            $response = $localArray;
        }

        return $response;
    }
public static function informations ( ) { //====================================================================// // Init Response Object $ response = new ArrayObject ( array ( ) , ArrayObject :: ARRAY_AS_PROPS ) ; //====================================================================// // Server General Description $ response -> shortdesc = SPLASH_NAME . ' ' . SPLASH_VERSION ; $ response -> longdesc = SPLASH_DESC ; //====================================================================// // Company Informations $ response -> company = null ; $ response -> address = null ; $ response -> zip = null ; $ response -> town = null ; $ response -> country = null ; $ response -> www = null ; $ response -> email = null ; $ response -> phone = null ; //====================================================================// // Server Logo & Ico $ response -> icoraw = self :: file ( ) -> readFileContents ( dirname ( dirname ( __FILE__ ) ) . '/img/Splash-ico.png' ) ; $ response -> logourl = null ; $ response -> logoraw = self :: file ( ) -> readFileContents ( dirname ( dirname ( __FILE__ ) ) . '/img/Splash-ico.jpg' ) ; //====================================================================// // Server Informations $ response -> servertype = SPLASH_NAME ; $ response -> serverurl = filter_input ( INPUT_SERVER , 'SERVER_NAME' ) ; //====================================================================// // Module Informations $ response -> moduleauthor = SPLASH_AUTHOR ; $ response -> moduleversion = SPLASH_VERSION ; //====================================================================// // Verify Local Module Class Is Valid if ( ! self :: validate ( ) -> isValidLocalClass ( ) ) { return $ response ; } //====================================================================// // Merge Informations with Local Module Informations $ localArray = self :: local ( ) -> informations ( $ response ) ; if ( ! ( $ localArray instanceof ArrayObject ) ) { $ response = $ localArray ; } return $ response ; }
Ask for Server System Informations
Informations may be overwritten by Local Module Class

@return ArrayObject Array including all server informations

**************************************************************************
******    General Parameters
**************************************************************************

$r->Name            =   $this->name;
$r->Id              =   $this->id;

**************************************************************************
******         Server Infos
**************************************************************************

$r->php             =   phpversion();
$r->Self            =   $_SERVER["PHP_SELF"];
$r->Server          =   $_SERVER["SERVER_NAME"];
$r->ServerAddress   =   $_SERVER["SERVER_ADDR"];
$r->Port            =   $_SERVER["SERVER_PORT"];
$r->UserAgent       =   $_SERVER["HTTP_USER_AGENT"];
Ask for Server System Informations Informations may be overwritten by Local Module Class