Turba_Form_ContactBase
extends Horde_Form
in package
Base class for forms dealing with a contact.
Table of Contents
- getRenderer() : object
- Returns a custom renderer.
- _addFields() : mixed
- Set up the Horde_Form fields for $contact's attributes.
- _getId() : string
- Converts a field name into an element ID as used in Horde_Form.
Methods
getRenderer()
Returns a custom renderer.
public
getRenderer([array<string|int, mixed> $params = array() ]) : object
Parameters
- $params : array<string|int, mixed> = array()
-
A hash of renderer-specific parameters.
Return values
object —Horde_Form_Renderer The form renderer.
_addFields()
Set up the Horde_Form fields for $contact's attributes.
protected
_addFields(Turba_Object $contact[, mixed $useTabs = true ]) : mixed
Parameters
- $contact : Turba_Object
-
The contact
- $useTabs : mixed = true
Return values
mixed —_getId()
Converts a field name into an element ID as used in Horde_Form.
protected
_getId(string $id) : string
Parameters
- $id : string
-
A form field name.
Return values
string —The ID for the form field.