Habari\Comment::css_class PHP Method

css_class() public method

Returns a list of CSS classes for the comment
public css_class ( string | array $append = [] ) : string
$append string | array Additional classes that should be added to the ones generated
return string The resultant classes
    public function css_class($append = array())
    {
        $classes = $append;
        $classes[] = 'comment';
        $classes[] = 'comment-' . $this->id;
        $classes[] = 'type-' . $this->typename;
        $classes[] = 'status-' . $this->statusname;
        $classes[] = 'comment-post-' . $this->post->id;
        return implode(' ', $classes);
    }