© Efflare Systems
website : e-mail

index | examples | api | language
Request
Encapsulates a native Coldfusion request as well as the CFX interface for the tag call.
Methods of this class primarily wrap those of CFXRequest in Macromedia's CFX API.

An object of this class is passed from Coldfusion to a CFX tag when it is called.
ImageFlare assigns this object to the global variable cf. This variable cf is the
only way to access an object of this class. It cannot be instantiated.

There is no Request constructor.

( SEE : Coldfusion <-> ImageFlare )

Properties
source:string
» get only, FlareScript code being executed by this request for ImageFlare. This is not the same as cf.attributes.source because it takes into consideration the use of the SOURCEFILE ImageFlare attribute.

attributes:table
» get only, a table of the cfx tag's attributes and values

query:Query
» get only, the coldfusion query passed to the cfx tag via the query attribute

debug:boolean
» get only, whether or not the cfx tag's debug attribute was specified

Methods
set( name:string, value:string )
» sets the coldfusion variable 'name' to 'value'

write( text:string )
» write output

exception( header:string, description:string )
» throws a coldfusion exception

writedebug( text:string )
» write debug output, displayed when a cfx tag has the 'debug' attribute