\Turba_Form_EditContact

Form for editing/updating a contact.

Summary

Methods
Properties
Constants
getRenderer()
__construct()
execute()
renderActive()
No public properties found
No constants found
_addFields()
_getId()
$_contact
N/A
No private methods found
No private properties found
N/A

Properties

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.

__construct()

__construct(array  $vars, \Turba_Object  $contact) 

Parameters

array $vars
\Turba_Object $contact

execute()

execute() 

renderActive()

renderActive(  $renderer,   $vars,   $action,   $method) 

Parameters

$renderer
$vars
$action
$method

_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.