additional_fields['thread'] = 'thread'; } /** * Work out the depth of this comment */ function render($values) { return count(explode('.', $values->{$this->aliases['thread']})) - 1; } }