You are here

function _spaces_views_arg_og_handler in Spaces 5

Provides og arg handling -- use in views arg with <?php ?> tags

File

./spaces_views.inc, line 9

Code

function _spaces_views_arg_og_handler($args) {
  $gid = spaces_gid() ? array(
    spaces_gid(),
  ) : array(
    0,
  );
  $args = is_array($args) ? array_merge($gid, $args) : $gid;
  return $args;
}