SuperGlobal.hx 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package php;
  2. class SuperGlobal {
  3. /**
  4. @see http://php.net/manual/en/reserved.variables.globals.php
  5. **/
  6. public static var GLOBALS (get,never):NativeAssocArray<Dynamic>;
  7. static inline function get_GLOBALS() return Syntax.code("$GLOBALS");
  8. /**
  9. @see http://php.net/manual/en/reserved.variables.server.php
  10. **/
  11. public static var _SERVER (get,never):NativeAssocArray<Dynamic>;
  12. static inline function get__SERVER() return Syntax.code("$_SERVER");
  13. /**
  14. @see http://php.net/manual/en/reserved.variables.get.php
  15. **/
  16. public static var _GET (get,never):NativeAssocArray<Dynamic>;
  17. static inline function get__GET() return Syntax.code("$_GET");
  18. /**
  19. @see http://php.net/manual/en/reserved.variables.post.php
  20. **/
  21. public static var _POST (get,never):NativeAssocArray<Dynamic>;
  22. static inline function get__POST() return Syntax.code("$_POST");
  23. /**
  24. @see http://php.net/manual/en/reserved.variables.files.php
  25. **/
  26. public static var _FILES (get,never):NativeAssocArray<Dynamic>;
  27. static inline function get__FILES() return Syntax.code("$_FILES");
  28. /**
  29. @see http://php.net/manual/en/reserved.variables.cookie.php
  30. **/
  31. public static var _COOKIE (get,never):NativeAssocArray<Dynamic>;
  32. static inline function get__COOKIE() return Syntax.code("$_COOKIE");
  33. /**
  34. @see http://php.net/manual/en/reserved.variables.session.php
  35. **/
  36. public static var _SESSION (get,never):NativeAssocArray<Dynamic>;
  37. static inline function get__SESSION() return Syntax.code("$_SESSION");
  38. /**
  39. @see http://php.net/manual/en/reserved.variables.request.php
  40. **/
  41. public static var _REQUEST (get,never):NativeAssocArray<Dynamic>;
  42. static inline function get__REQUEST() return Syntax.code("$_REQUEST");
  43. /**
  44. @see http://php.net/manual/en/reserved.variables.env.php
  45. **/
  46. public static var _ENV (get,never):NativeAssocArray<Dynamic>;
  47. static inline function get__ENV() return Syntax.code("$_ENV");
  48. }