Alive Fields  1.01
Public Member Functions | Data Fields
AcList Class Reference
Inheritance diagram for AcList:
AcField AcListCombo AcListJoin AcListSelect

Public Member Functions

 __construct ($field, $table, $id, $loadable, $savable)
 differentiate_options ($field, $table, $id, $populatability)
 bind ($html_element_id, $autoload=true)
 do_js_includes_for_this_control ()
 get_js_field_type ()
 request_handler ($request)

Data Fields

 $options_field
 $options_table
 $options_pkey
 $options_loadability

Detailed Description

AcList represents the backend controller for fields which have multiple simultaneous values (i.e. lists), including dropdown comboboxes and SELECT boxes.


Constructor & Destructor Documentation

__construct ( field,
table,
id,
loadable,
savable 
)

Constructor follows much the same format as AcField more comments to come...

Reimplemented from AcField.


Member Function Documentation

differentiate_options ( field,
table,
id,
populatability 
)
Parameters:
type$field
type$table
type$id
type$populatability

This function includes all the necessary javascript files for the javascript widget in the view that that connects with this controller.

Reimplemented from AcField.

Reimplemented in AcListJoin, and AcListCombo.

Return the name of the (default) javascript widget (in the view) that sends request to this object

request_handler ( request)

This is where the controller actually handles an ajax request.

The method is so complicated that it has been moved to another file (ajax_list.php)

Reimplemented from AcField.

Reimplemented in AcListJoin.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables