Getting Started

Tag Reference

Object Reference
asHiddenFields
asURLString
asXML
collectFields
collectFieldsFrom..
copy
dump
empty
erase
loadFromCookie
storeToCookie

Case Study

Download

Mailing List

Other Links

Object::collectFields

Summary:

This method collects all URL and FORM parameters (if any) and stores their values into the object. Useful for initializing an object from data passed in as URL or FORM parameters. Very similar to the Fusebox Custom Tag named "FormURL2Attributes".

Will also parse URLs in stored in "name/value" pairs. For example, will correctly parse a URL formatted as "somepage.cfm/firstName/Ralph/lastName/Fiol/". This would be treated the same as if it were "somepage.cfm?firstName=Ralph&lastName=Fiol". Useful in sites where you want to create URLs that will be followed by Search Engines.

Parameters:

Parameter Description Default Required
None

Returns:
Name Value
n/a

Example:
<cf_cfoInvokeMethod method="aPerson.collectFields">










SourceForge.net Logo