QueryStringUtil

Kind of class:public class
Package:org.casalib.util
Inherits from:none
Version:09/02/08
Author:Aaron Clinger
Classpath:org.casalib.util.QueryStringUtil
File last modified:Wednesday, 31 December 2008, 20:18:28
Utility for providing easy access to the browser query string.

Summary


Class properties
  • queryString : String
    • The field/value pairs of the browser URL.
Class methods
  • getValue (key:String) : String
    • Returns a query string value by key.
  • hasKey (key:String) : Boolean
    • Checks to if query string key exists.

Class properties

queryString

public static queryString:String
(read)

The field/value pairs of the browser URL.

Class methods

getValue

public static function getValue (
key:String) : String

Returns a query string value by key.
Parameters:
key:
The key of the query string value to retrieve.
Returns:
  • The string value of the key.

hasKey

public static function hasKey (
key:String) : Boolean

Checks to if query string key exists.
Parameters:
key:
The name of the key to check for existence.
Returns:
  • Returns true if the key exists; otherwise false.