class hosting_platform_handler_field_release

A handler for the Platform release field.

Hierarchy

Expanded class hierarchy of hosting_platform_handler_field_release

Members

Contains filters are case sensitive

File

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

View source
class hosting_platform_handler_field_release extends views_handler_field {
  function render($values) {
    $node = node_load($values->nid);
    if (empty($node->release)) {
      return "";
    }
    return l("{$node->release->title} {$node->release->version}", "node/{$node->release->nid}");
  }
}