Select-derived widget for choosing an image in a javascripty way. More...
Public Member Functions | |
host_logo_selection ($sel_tmp, $value, $obj, $token) | |
Create area for host logo selection with correct HTML IDs and classes to make javascript function to work. | |
render ($obj, $token, $value) | |
Print widget. | |
Static Public Attributes | |
static | $already_rendered_icons = false |
Control that widget elements are only rendered in HTML once - we move those elements around. |
Select-derived widget for choosing an image in a javascripty way.
image_widget::host_logo_selection | ( | $ | sel_tmp, | |
$ | value, | |||
$ | obj, | |||
$ | token | |||
) |
Create area for host logo selection with correct HTML IDs and classes to make javascript function to work.
NOTE: All IDs and classes are there for more than just presentation purpose. If anyone of the following IDs and classes are altered, the corresponding changes MUST be made in js/common.js or it will stop working.
$sel_tmp | id => image style array | |
$value | Pre-selected image | |
$obj | Nagios-specific php object class | |
$token | ?? |