\Horde_Form_Type_matrix

Horde_Form_Type Class

Summary

Methods
Properties
Constants
getProperty()
__get()
setProperty()
__set()
init()
onSubmit()
isValid()
getTypeName()
getValues()
getInfo()
getCols()
getRows()
getMatrix()
getNewInput()
about()
$_cols
$_rows
$_matrix
$_new_input
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_cols

$_cols : 

Type

$_rows

$_rows : 

Type

$_matrix

$_matrix : 

Type

$_new_input

$_new_input : 

Type

Methods

getProperty()

getProperty(  $property) 

Parameters

$property

__get()

__get(  $property) 

Parameters

$property

setProperty()

setProperty(  $property,   $value) 

Parameters

$property
$value

__set()

__set(  $property,   $value) 

Parameters

$property
$value

init()

init(array  $cols, array  $rows = array(), array  $matrix = array(), boolean|array  $new_input = false) 

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

array $cols

A list of column headers.

array $rows

A hash with row IDs as the keys and row labels as the values.

array $matrix

A two dimensional hash with the field values.

boolean|array $new_input

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.

onSubmit()

onSubmit() 

isValid()

isValid(  $var,   $vars,   $value,   $message) 

Parameters

$var
$vars
$value
$message

getTypeName()

getTypeName() 

getValues()

getValues() 

getInfo()

getInfo(  $vars,   $var,   $info) 

Parameters

$vars
$var
$info

getCols()

getCols() 

getRows()

getRows() 

getMatrix()

getMatrix() 

getNewInput()

getNewInput() 

about()

about()