Documentation

Turba_Form_EditContactGroup extends Turba_Form_EditContact
in package

Form for editing/updating a contact.

Table of Contents

$_contact  : Turba_Object
__construct()  : mixed
execute()  : mixed
getRenderer()  : object
Returns a custom renderer.
renderActive()  : mixed
_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.

Properties

Methods

__construct()

public __construct(mixed $vars, mixed $contact) : mixed
Parameters
$vars : mixed
$contact : mixed
Return values
mixed

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.

renderActive()

public renderActive([mixed $renderer = null ][, mixed $vars = null ][, mixed $action = '' ][, mixed $method = 'get' ][, mixed $enctype = null ][, mixed $focus = true ]) : mixed
Parameters
$renderer : mixed = null
$vars : mixed = null
$action : mixed = ''
$method : mixed = 'get'
$enctype : mixed = null
$focus : mixed = true
Return values
mixed

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

Search results