Packages » Package freeform » Class CaptchaInputFieldImage

Class CaptchaInputFieldImage

Declaration:
<? class CaptchaInputFieldImage extends Action implements Document ?>

Description:
This is a helper class for CaptchaInputField

Parent Classes:
Action

Implemented Interfaces:
Document

Methods:
  • getBody()
    Get the body of this template (ready for client)
  • getHeaders()
    Get HTTP headers to send with this document, including Content-Type
  • getImageType()
  • isReferrer()
    Returns true if this action can be a referrer. Normally actions that return HTML documents are referrers, while those returning images or other types of files (javascripts etc) are not. Freeform uses internal mechanism for referrers (not relying on browser's Referer: header). Such actions that don't return HTML pages may disrupt this functionality so that they must somehow report they cannot act as referrers.
  • process()
    Override this method to define the behaviour of this action