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: | Thursday, 19 February 2009, 11:33:36 |
Utility for providing easy access to the browser query string.
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
trueif the key exists; otherwisefalse.