|
|
File: ../phpdbedittk/gadmenumerationcommand.php
PHPDBEditTk -
gadm_enumeration_command
gadm_command | +-- gadm_enumeration_command
Handles fields that contain enumeration values
|
private class gadm_enumeration_command extends gadm_command
Handles fields that contain enumeration values
Enumerations are at the moment defined in the global array $enumerations.The array contains key/value lists for form-display and for table/detaildisplay.
|
|
|
|
|
|
Private Method Details |
execute |
private void execute( string $func_usage, string $value )
|
|
Return the display for an enumerated field.
Returns onlysomething if called from - form display (func_usage: db2fopfuncs) - detail display (func_usage: db2dopfuncs) - table display (func_usage: db2topfuncs)
execute returns for table and detail mode the value of thekey/value pair in the global $enumerations array. If thereis a set of values for displaycontent, it uses these, elseit uses the ones defined for formcontent In the form mode,it returns an html selector of the key value pairs with thecurrent value selected. NULL values must be modelled in thekey value list
Warning: documentation is missing.
|
Parameter |
|
string |
$func_usage |
|
|
the function usage type, which is
directly dependent on the genericadmin display mode |
|
|
string |
$value |
|
|
the value of the enumerated field |
|
Returns |
void |
|
|
|
|
PHPDoc 1.0beta |