public function setColspan($colspan)
    {
        if (is_int($colspan) === true) {
            $this->colspan = $colspan;
        } else {
            $msg = "The 'colspan' argument must be an integer, '" . gettype($colspan) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setColspan($colspan)
    {
        if (is_int($colspan) === true) {
            $this->colspan = $colspan;
        } else {
            $msg = "The 'colspan' argument must be an integer, '" . gettype($colspan) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setColspan ( $ colspan ) { if ( is_int ( $ colspan ) === true ) { $ this -> colspan = $ colspan ; } else { $ msg = "The 'colspan' argument must be an integer, '" . gettype ( $ colspan ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the colspan attribute. Give a negative integer to indicate that
no colspan is set.

@param integer $colspan An integer.
@throws \InvalidArgumentException If $colspan is not an integer.
Set the colspan attribute . Give a negative integer to indicate that no colspan is set .