public function addClass($value)
    {
        if (!isset($this->attributeList['class']) || is_null($this->attributeList['class'])) {
            $this->attributeList['class'] = array();
        }
        $this->attributeList['class'][] = $value;
        return $this;
    }
public function addClass($value)
    {
        if (!isset($this->attributeList['class']) || is_null($this->attributeList['class'])) {
            $this->attributeList['class'] = array();
        }
        $this->attributeList['class'][] = $value;
        return $this;
    }
public function addClass ( $ value ) { if ( ! isset ( $ this -> attributeList [ 'class' ] ) || is_null ( $ this -> attributeList [ 'class' ] ) ) { $ this -> attributeList [ 'class' ] = array ( ) ; } $ this -> attributeList [ 'class' ] [ ] = $ value ; return $ this ; }
Add a class to classList
@param string $value
@return HtmlTag instance
Add a class to classList