function views_handler_argument_string::summary_argument

Same name in other branches
  1. 6.x-3.x handlers/views_handler_argument_string.inc \views_handler_argument_string::summary_argument()

Overrides views_handler_argument::summary_argument

File

handlers/views_handler_argument_string.inc, line 246

Class

views_handler_argument_string
Argument handler to implement string arguments that may have length limits.

Code

public function summary_argument($data) {
    $value = $this->case_transform($data->{$this->base_alias}, $this->options['path_case']);
    if (!empty($this->options['transform_dash'])) {
        $value = strtr($value, ' ', '-');
    }
    return $value;
}