Packagecom.jeffdePascale.fosfr.core
Classpublic class URLInfo

Parses variables out of the query string and provides information on the URL.

See also

com.jeffdePascale.fosfr.core.FosfrBaseClass


Public Properties
 PropertyDefined by
  domain : String
[read-only] The domain from the address bar.
URLInfo
  params : Object
[read-only] An object containing all of the query string parameters.
URLInfo
  url : String
[read-only] The full URL in the addres bar.
URLInfo
Public Methods
 MethodDefined by
  
URLInfo
  
getParam(parameter:String):String
Returns the value of the specified parameter from the query string as a string.
URLInfo
  
setURL(url:String):void
URLInfo
  
Repopulates properties with the current query string values and url information.
URLInfo
Property detail
domainproperty
domain:String  [read-only]

The domain from the address bar.

Implementation
    public function get domain():String
paramsproperty 
params:Object  [read-only]

An object containing all of the query string parameters.

Implementation
    public function get params():Object
urlproperty 
url:String  [read-only]

The full URL in the addres bar.

Implementation
    public function get url():String
Constructor detail
URLInfo()constructor
public function URLInfo(_fosfr:FosfrBaseClass)Parameters
_fosfr:FosfrBaseClass
Method detail
getParam()method
public function getParam(parameter:String):String

Returns the value of the specified parameter from the query string as a string.

Parameters
parameter:String — The name of the parameter to get the value of.

Returns
String — The value of the specified parameter.
setURL()method 
public function setURL(url:String):voidParameters
url:String
updateQueryInfo()method 
public function updateQueryInfo():void

Repopulates properties with the current query string values and url information.