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 base class

Summary:

The object class is the base class of which all the other classes in your application are children. This is done by default by the cfObject Framework, meaning that you do not have to explicitly define object as the superClass of any other class. It has the following methods, which can be called directly by any of your classes:

Method Summary
asHiddenFields This method will generate hidden form fields, one for each attribute of the object.
asURLString This method will build a URL-safe string from all attributes within the object.
asXML This method will generate and XML string representing the object.
collectFields This method collects all URL and FORM parameters (if any) and stores their values into the object.
collectFieldsFromQuery This method will copy a row (all columns) from a query into the object.
copy This method copies the contents of one object into the caller object.
dump This method will display the contents of the object in a tabular format.
empty This method will delete all or some of the attributes of the object.
erase This method will clear the contents of the object.
loadFromCookie This method will deserialize an object previously serialized by the storeToCookie method.
storeToCookie This method will convert the object to a WDDX packet.










SourceForge.net Logo