public function addAttr($name, $value)
    {
        if (!in_array($name, $this->attributes)) {
            $this->attributes[$name] = $value;
        }
        return $this;
    }
public function addAttr($name, $value)
    {
        if (!in_array($name, $this->attributes)) {
            $this->attributes[$name] = $value;
        }
        return $this;
    }
public function addAttr ( $ name , $ value ) { if ( ! in_array ( $ name , $ this -> attributes ) ) { $ this -> attributes [ $ name ] = $ value ; } return $ this ; }
Add new attribute to table, header, column or rowset

@param string $name
@param string $value
@return mixed
Add new attribute to table header column or rowset