You are here

class og_views_handler_argument_og_uid_nid in Organic groups 6

Same name and namespace in other branches
  1. 6.2 modules/og_views/includes/og_views_handler_argument_og_uid_nid.inc \og_views_handler_argument_og_uid_nid

Allow Group ID(s) as argument

Hierarchy

Expanded class hierarchy of og_views_handler_argument_og_uid_nid

1 string reference to 'og_views_handler_argument_og_uid_nid'
og_views_data_og_uid in modules/og_views/og_views.views.inc

File

modules/og_views/includes/og_views_handler_argument_og_uid_nid.inc, line 7

View source
class og_views_handler_argument_og_uid_nid extends views_handler_argument_numeric {

  // TODOL: set context?

  /**
   * Give an argument the opportunity to modify the breadcrumb, if it wants.
   * This only gets called on displays where a breadcrumb is actually used.
   *
   * The breadcrumb will be in the form of an array, with the keys being
   * the path and the value being the already sanitized title of the path.
   */
  function set_breadcrumb(&$breadcrumb) {
    $nid = $this->value[0];

    // TODOL: not working.
    // $breadcrumb = og_views_set_breadcrumb($nid);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
og_views_handler_argument_og_uid_nid::set_breadcrumb function Give an argument the opportunity to modify the breadcrumb, if it wants. This only gets called on displays where a breadcrumb is actually used.