public function getClasses()
    {
        $classes = $this->getAttribute("class");
        return (strlen($classes) > 0) ? trim($this->removeMultipleSpaces($classes)) : "";
    }
public function getClasses()
    {
        $classes = $this->getAttribute("class");
        return (strlen($classes) > 0) ? trim($this->removeMultipleSpaces($classes)) : "";
    }
public function getClasses ( ) { $ classes = $ this -> getAttribute ( "class" ) ; return ( strlen ( $ classes ) > 0 ) ? trim ( $ this -> removeMultipleSpaces ( $ classes ) ) : "" ; }
Returns a space separated string of classes belonging to the tag.
@return  string
@throws  HTMLTagException
Returns a space separated string of classes belonging to the tag .