class views_handler_field_hosting_platform_status in Hosting 6.2
A handler for the Platform status field.
Hierarchy
- class \views_handler_field_hosting_site_status extends \views_handler_field
Expanded class hierarchy of views_handler_field_hosting_platform_status
1 string reference to 'views_handler_field_hosting_platform_status'
- hosting_platform_views_data in platform/
hosting_platform.views.inc - Implements hook_views_data().
File
- platform/
views_handler_field_hosting_platform_status.inc, line 8
View source
class views_handler_field_hosting_platform_status extends views_handler_field_hosting_site_status {
function render($values) {
$value = $values->{$this->field_alias};
$output = _hosting_platform_status($value);
switch ($this->options['status_mode']) {
case 'image':
return "<span class='hosting-status hosting-status-icon'></span>";
case 'text_image':
return "<span class='hosting-status'>{$output}</span>";
case 'class':
return _hosting_platform_list_class($value);
}
return $output;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
views_handler_field_hosting_platform_status:: |
function |
Overrides views_handler_field_hosting_site_status:: |
||
views_handler_field_hosting_site_status:: |
function | Constructor; calls to base object constructor. | 1 | |
views_handler_field_hosting_site_status:: |
function | |||
views_handler_field_hosting_site_status:: |
function |