[recmaint] element index

Package indexes

All elements
a d f g h i k p r s
a
top
Method add_defaults
recmaintainer::add_defaults() in recmaint-defs.php
Add an array of default values for each field.
Method add_record
recmaintainer::add_record() in recmaint-defs.php
Add a record of data to the maintainer.
d
top
Variable $defaults
recmaintainer::$defaults in recmaint-defs.php
Field defaults for new records
Method display_disabled
Cause the maintainer to be displayed initially diabled. All form fields which are part of the maintainer will be readonly/disabled.
f
top
Variable $fields
recmaintainer::$fields in recmaint-defs.php
Internal array of field names being maintained
Variable $formname
recmaintainer::$formname in recmaint-defs.php
Name of the form containing maintained fields
g
top
Function get_recmaintfield
get_recmaintfield() in recmaint-defs.php
Utility function. Returns the value of the named field. Returns the value of the named field which is in the data array $rec. Uses the array $fields to determine the position of the named field in the data record.
h
top
Method html
recmaintainer::html() in recmaint-defs.php
Return the HTML for this maintainer. This consists of Javascript objects to contain the data, and hidden form fields which will be used to POST changes etc. This should be rendered inside your main form element.
i
top
Variable $initial_record_value
Value, if defined, of the record to focus to on initialisation
Method initial_record
recmaintainer::initial_record() in recmaint-defs.php
Tell the record maintainer to focus the keycombo to the record with the given value, when it first initialises.
k
top
Variable $keycombo
recmaintainer::$keycombo in recmaint-defs.php
Pointer to the key combo/select box
p
top
Variable $prefix
recmaintainer::$prefix in recmaint-defs.php
Prefix to differentiate one set of records from anther
r
top
Variable $records
recmaintainer::$records in recmaint-defs.php
Record data to maintain
Page recmaint-defs.php
recmaint-defs.php in recmaint-defs.php
Class recmaintainer
recmaintainer in recmaint-defs.php
The record maintainer class.
Method recmaintainer
recmaintainer::recmaintainer() in recmaint-defs.php
Define a record maintainer object.
Method register_button
Register a button.
Method register_field
recmaintainer::register_field() in recmaint-defs.php
Register a form field in the maintainer.
s
top
Variable $start_disabled
recmaintainer::$start_disabled in recmaint-defs.php
If true, maintainer will be displayed with fields disabled
a d f g h i k p r s