image_widget Class Reference

Select-derived widget for choosing an image in a javascripty way. More...

Inheritance diagram for image_widget:
select_widget base_widget

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.

Detailed Description

Select-derived widget for choosing an image in a javascripty way.


Member Function Documentation

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.

Parameters:
$sel_tmp id => image style array
$value Pre-selected image
$obj Nagios-specific php object class
$token ??

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

Generated on 17 Dec 2012 for nacoma by  doxygen 1.6.1