public static function getModules() {
    $req = new GetModulesRequest();
    $resp = new GetModulesResponse();

    ApiProxy::makeSyncCall('modules', 'GetModules', $req, $resp);
    return $resp->getModuleList();
  }
public static function getModules() {
    $req = new GetModulesRequest();
    $resp = new GetModulesResponse();

    ApiProxy::makeSyncCall('modules', 'GetModules', $req, $resp);
    return $resp->getModuleList();
  }
public static function getModules ( ) { $ req = new GetModulesRequest ( ) ; $ resp = new GetModulesResponse ( ) ; ApiProxy :: makeSyncCall ( 'modules' , 'GetModules' , $ req , $ resp ) ; return $ resp -> getModuleList ( ) ; }
Gets an array of all the modules for the application.

@return string[] An array of string containing the names of the modules
associated with the application. The 'default' module will be included if
it exists, as will the name of the module that is associated with the
instance that calls this function.
Gets an array of all the modules for the application .