class hosting_platform_handler_field_sites

A handler for the Platform sites field.

Hierarchy

Expanded class hierarchy of hosting_platform_handler_field_sites

Members

Contains filters are case sensitive

File

platform/includes/views/handlers/hosting_platform_handler_field_sites.inc, line 8

View source
class hosting_platform_handler_field_sites extends views_handler_field {
  function render($values) {
    $value = $values->{$this->field_alias};
    return hosting_site_count($value, array(HOSTING_SITE_ENABLED, HOSTING_SITE_DISABLED, HOSTING_SITE_QUEUED));
  }
}