Form_Field_Perfdata_Model Class Reference
Let the user pick one of the performance data source for a specific host- or service model.
More...
Detailed Description
Let the user pick one of the performance data source for a specific host- or service model.
Usage:
$form_model = new Form_Model('action', array( new Form_Field_ORMObject_Model('host', 'A host', array('hosts')), new Form_Field_Perfdata_Model('perfdata_src', 'Pick a performance data source', 'host') ));
Constructor & Destructor Documentation
Form_Field_Perfdata_Model::__construct |
( |
$ |
name, |
|
|
$ |
pretty_name, |
|
|
$ |
target_model, |
|
|
array $ |
options = array() | |
|
) |
| | |
- Parameters:
-
| $name | string |
| $pretty_name | string |
| $target_model | string |
| $options | array |
Member Function Documentation
Form_Field_Perfdata_Model::get_options |
( |
|
) |
|
Since we depend on the value (ORM object) of $target_model, we only know which the specific options are after.
- See also:
- Form_Model::set_values() has been called, or when the form has been dynamically rendered by JS. It's perfectly OK that this is empty, and handled by JS.
- Returns:
- array
Form_Field_Perfdata_Model::get_target_model |
( |
|
) |
|
Form_Field_Perfdata_Model::get_type |
( |
|
) |
|
Form_Field_Perfdata_Model::process_data |
( |
array $ |
raw_data, |
|
|
Form_Result_Model $ |
result | |
|
) |
| | |
The documentation for this class was generated from the following file: