original_string: final public static function getUploadProgress($formName)
      {
  
          $key = ini_get("session.upload_progress.prefix") . $formName;
          if (!empty($_SESSION[$key])) {
              $current = $_SESSION[$key]["bytes_processed"];
              $total = $_SESSION[$key]["content_length"];
              return $current < $total ? ceil($current / $total * 100) : 100;
          } else {
              return 100;
          }
      }
code: final public static function getUploadProgress($formName)
      {
  
          $key = ini_get("session.upload_progress.prefix") . $formName;
          if (!empty($_SESSION[$key])) {
              $current = $_SESSION[$key]["bytes_processed"];
              $total = $_SESSION[$key]["content_length"];
              return $current < $total ? ceil($current / $total * 100) : 100;
          } else {
              return 100;
          }
      }
code_tokens: final public static function getUploadProgress ( $ formName ) { $ key = ini_get ( "session.upload_progress.prefix" ) . $ formName ; if ( ! empty ( $ _SESSION [ $ key ] ) ) { $ current = $ _SESSION [ $ key ] [ "bytes_processed" ] ; $ total = $ _SESSION [ $ key ] [ "content_length" ] ; return $ current < $ total ? ceil ( $ current / $ total * 100 ) : 100 ; } else { return 100 ; } }
docstring: Gets the Upload progressName
  
  @param type $formName
  @return int
docstring_tokens: Gets the Upload progressName