public static function getSimpleAppFormat(array $apps):array
    {
        $narray = array();
        foreach ($apps as $oneapp => $val) {
            $e = AppConfig::getInstance($oneapp);
            if ($e->checkVisibility()) {
                array_push($narray, array("name" => $oneapp, "value" => $val));
            }
        }
        return ($narray);
    }
public static function getSimpleAppFormat(array $apps):array
    {
        $narray = array();
        foreach ($apps as $oneapp => $val) {
            $e = AppConfig::getInstance($oneapp);
            if ($e->checkVisibility()) {
                array_push($narray, array("name" => $oneapp, "value" => $val));
            }
        }
        return ($narray);
    }
public static function getSimpleAppFormat ( array $ apps ) : array { $ narray = array ( ) ; foreach ( $ apps as $ oneapp => $ val ) { $ e = AppConfig :: getInstance ( $ oneapp ) ; if ( $ e -> checkVisibility ( ) ) { array_push ( $ narray , array ( "name" => $ oneapp , "value" => $ val ) ) ; } } return ( $ narray ) ; }
Get all simple app
@param array $apps App list
@return array getSimpleAppFormat
Get all simple app