Swat/SwatToolbar.php
protected function getCSSClassNames()
    {
        $classes = array('swat-toolbar');

        if ($this->parent instanceof SwatContainer) {
            $children = $this->parent->getChildren();
            if (end($children) === $this) {
                $classes[] = 'swat-toolbar-end';
            }
        }

        $classes = array_merge($classes, parent::getCSSClassNames());
        return $classes;
    }
protected function getCSSClassNames()
    {
        $classes = array('swat-toolbar');

        if ($this->parent instanceof SwatContainer) {
            $children = $this->parent->getChildren();
            if (end($children) === $this) {
                $classes[] = 'swat-toolbar-end';
            }
        }

        $classes = array_merge($classes, parent::getCSSClassNames());
        return $classes;
    }
protected function getCSSClassNames ( ) { $ classes = array ( 'swat-toolbar' ) ; if ( $ this -> parent instanceof SwatContainer ) { $ children = $ this -> parent -> getChildren ( ) ; if ( end ( $ children ) === $ this ) { $ classes [ ] = 'swat-toolbar-end' ; } } $ classes = array_merge ( $ classes , parent :: getCSSClassNames ( ) ) ; return $ classes ; }
Gets the array of CSS classes that are applied to this tool bar

@return array the array of CSS classes that are applied to this tool bar.
Gets the array of CSS classes that are applied to this tool bar