Packages » Package freeform » Class InputField » Method getRenderer

Method InputField::getRenderer

Declaration:
<? abstract public object getRenderer(Document $doc?>

Declared in:
InputField

Description:
Return the renderer of this field for a particular document type

Parameters:
  • Document $doc
    the target document for wich to render this field's representation

Returns:
object the renderer object; the targed Document will call its methods to render the field in the body of the document; the class of this object and its methods are dependant on the target document. The field must analyze the class of the target document to return compatible renderer