Overview

Packages

  • Form
  • None

Classes

  • Horde_Form
  • Horde_Form_Action
  • Horde_Form_Action_conditional_enable
  • Horde_Form_Action_conditional_setvalue
  • Horde_Form_Action_ConditionalEnable
  • Horde_Form_Action_ConditionalSetValue
  • Horde_Form_Action_reload
  • Horde_Form_Action_setcursorpos
  • Horde_Form_Action_submit
  • Horde_Form_Action_sum_fields
  • Horde_Form_Action_updatefield
  • Horde_Form_Renderer
  • Horde_Form_Translation
  • Horde_Form_Type
  • Horde_Form_Type_address
  • Horde_Form_Type_addresslink
  • Horde_Form_Type_assign
  • Horde_Form_Type_boolean
  • Horde_Form_Type_captcha
  • Horde_Form_Type_category
  • Horde_Form_Type_cellphone
  • Horde_Form_Type_colorpicker
  • Horde_Form_Type_countedtext
  • Horde_Form_Type_country
  • Horde_Form_Type_creditcard
  • Horde_Form_Type_date
  • Horde_Form_Type_datetime
  • Horde_Form_Type_dblookup
  • Horde_Form_Type_description
  • Horde_Form_Type_email
  • Horde_Form_Type_emailConfirm
  • Horde_Form_Type_enum
  • Horde_Form_Type_figlet
  • Horde_Form_Type_file
  • Horde_Form_Type_header
  • Horde_Form_Type_hourminutesecond
  • Horde_Form_Type_image
  • Horde_Form_Type_int
  • Horde_Form_Type_intlist
  • Horde_Form_Type_invalid
  • Horde_Form_Type_ip6address
  • Horde_Form_Type_ipaddress
  • Horde_Form_Type_keyval_multienum
  • Horde_Form_Type_link
  • Horde_Form_Type_longtext
  • Horde_Form_Type_matrix
  • Horde_Form_Type_mlenum
  • Horde_Form_Type_monthdayyear
  • Horde_Form_Type_monthyear
  • Horde_Form_Type_multienum
  • Horde_Form_Type_number
  • Horde_Form_Type_obrowser
  • Horde_Form_Type_octal
  • Horde_Form_Type_password
  • Horde_Form_Type_passwordconfirm
  • Horde_Form_Type_pgp
  • Horde_Form_Type_phone
  • Horde_Form_Type_radio
  • Horde_Form_Type_selectfiles
  • Horde_Form_Type_set
  • Horde_Form_Type_smime
  • Horde_Form_Type_sorter
  • Horde_Form_Type_sound
  • Horde_Form_Type_spacer
  • Horde_Form_Type_stringarray
  • Horde_Form_Type_stringlist
  • Horde_Form_Type_tableset
  • Horde_Form_Type_text
  • Horde_Form_Type_time
  • Horde_Form_Variable
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Form_Type_matrix

Horde_Form_Type Class

Horde_Form_Type
Extended by Horde_Form_Type_matrix
Package: Form
Author: Robert E. Coyle robertecoyle@hotmail.com
Located at Horde/Form/Type.php
Methods summary
public
# init( array $cols, array $rows = array(), array $matrix = array(), boolean|array $new_input = false )

Initializes the variable.

Initializes the variable.

Example:

init(array('Column A', 'Column B'),
     array(1 => 'Row One', 2 => 'Row 2', 3 => 'Row 3'),
     array(array(true, true, false),
           array(true, false, true),
           array(fasle, true, false)),
     array('Row 4', 'Row 5'));

Parameters

$cols
A list of column headers.
$rows
<p>A hash with row IDs as the keys and row labels as the values.</p>
$matrix
<p>A two dimensional hash with the field values.</p>
$new_input
<p>If true, a free text field to add a new row is displayed on the top, a select box if this parameter is a value.</p>

Overrides

Horde_Form_Type::init()
public
# isValid( mixed & $var, mixed & $vars, mixed $value, mixed & $message )

Overrides

Horde_Form_Type::isValid()
public
# getCols( )
public
# getRows( )
public
# getMatrix( )
public
# getNewInput( )
public
# getInfo( mixed & $vars, mixed & $var, mixed & $info )

Overrides

Horde_Form_Type::getInfo()
public
# about( )
Methods inherited from Horde_Form_Type
__get(), __set(), getProperty(), getTypeName(), getValues(), onSubmit(), setProperty()
Properties summary
public mixed $_cols
#
public mixed $_rows
#
public mixed $_matrix
#
public mixed $_new_input
#
API documentation generated by ApiGen