\Turba_Form_ContactBase

Base class for forms dealing with a contact.

Summary

Methods
Properties
Constants
getRenderer()
No public properties found
No constants found
_addFields()
_getId()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getRenderer()

getRenderer(array  $params = array()) : object

Returns a custom renderer.

Parameters

array $params

A hash of renderer-specific parameters.

Returns

object —

Horde_Form_Renderer The form renderer.

_addFields()

_addFields(\Turba_Object  $contact,   $useTabs = true) 

Set up the Horde_Form fields for $contact's attributes.

Parameters

\Turba_Object $contact

The contact

$useTabs

_getId()

_getId(string  $id) : string

Converts a field name into an element ID as used in Horde_Form.

Parameters

string $id

A form field name.

Returns

string —

The ID for the form field.