final public static function getInfo(string $infoname):string
    {
        $rs = 'none';
        $edition = FrameworkTools::getEditionInfo();
        switch ($infoname) {
            case 'CORE_VERSION':
                $rs = self::CORE_VERSION;
                break;
            case 'CORE_BUILD':
                $rs = self::CORE_BUILD;
                break;
            case 'CORE_STAGE':
                $rs = self::CORE_STAGE;
                break;
            case 'CORE_NAME':
                $rs = self::CORE_NAME;
                break;
            case 'EDITION_BUILD':
                $rs = $edition->edition_build;
                break;
            case 'EDITION_VERSION':
                $rs = $edition->edition_version;
                break;
            case 'EDITION_STAGE':
                $rs = $edition->edition_stage;
                break;
            case 'EDITION_SHORTNAME':
                $rs = $edition->edition_shortname;
                break;
            case 'EDITION_FULLNAME':
                $rs = $edition->edition_fullname;
                break;
            case 'EDITION_U3I':
                $rs = $edition->u3i;
                break;
            case 'LOCATION':
                $rs =  realpath(__DIR__.DIRECTORY_SEPARATOR.'../../../../../');
                break;
        }
        return ($rs);
    }
final public static function getInfo(string $infoname):string
    {
        $rs = 'none';
        $edition = FrameworkTools::getEditionInfo();
        switch ($infoname) {
            case 'CORE_VERSION':
                $rs = self::CORE_VERSION;
                break;
            case 'CORE_BUILD':
                $rs = self::CORE_BUILD;
                break;
            case 'CORE_STAGE':
                $rs = self::CORE_STAGE;
                break;
            case 'CORE_NAME':
                $rs = self::CORE_NAME;
                break;
            case 'EDITION_BUILD':
                $rs = $edition->edition_build;
                break;
            case 'EDITION_VERSION':
                $rs = $edition->edition_version;
                break;
            case 'EDITION_STAGE':
                $rs = $edition->edition_stage;
                break;
            case 'EDITION_SHORTNAME':
                $rs = $edition->edition_shortname;
                break;
            case 'EDITION_FULLNAME':
                $rs = $edition->edition_fullname;
                break;
            case 'EDITION_U3I':
                $rs = $edition->u3i;
                break;
            case 'LOCATION':
                $rs =  realpath(__DIR__.DIRECTORY_SEPARATOR.'../../../../../');
                break;
        }
        return ($rs);
    }
final public static function getInfo ( string $ infoname ) : string { $ rs = 'none' ; $ edition = FrameworkTools :: getEditionInfo ( ) ; switch ( $ infoname ) { case 'CORE_VERSION' : $ rs = self :: CORE_VERSION ; break ; case 'CORE_BUILD' : $ rs = self :: CORE_BUILD ; break ; case 'CORE_STAGE' : $ rs = self :: CORE_STAGE ; break ; case 'CORE_NAME' : $ rs = self :: CORE_NAME ; break ; case 'EDITION_BUILD' : $ rs = $ edition -> edition_build ; break ; case 'EDITION_VERSION' : $ rs = $ edition -> edition_version ; break ; case 'EDITION_STAGE' : $ rs = $ edition -> edition_stage ; break ; case 'EDITION_SHORTNAME' : $ rs = $ edition -> edition_shortname ; break ; case 'EDITION_FULLNAME' : $ rs = $ edition -> edition_fullname ; break ; case 'EDITION_U3I' : $ rs = $ edition -> u3i ; break ; case 'LOCATION' : $ rs = realpath ( __DIR__ . DIRECTORY_SEPARATOR . '../../../../../' ) ; break ; } return ( $ rs ) ; }
Get info about iumio framework
@param string $infoname info name
@return string info result
@throws Server500 Error generate
Get info about iumio framework