public function setHeight($height, $default = 100)
    {
        if (!is_numeric($height)) {
            $height = empty($this->thumbConf['default_thumbnail'][1])
                ? $default
                : $this->thumbConf['default_thumbnail'][1];
        }
        $this->height = $height;

        return $this;
    }
public function setHeight($height, $default = 100)
    {
        if (!is_numeric($height)) {
            $height = empty($this->thumbConf['default_thumbnail'][1])
                ? $default
                : $this->thumbConf['default_thumbnail'][1];
        }
        $this->height = $height;

        return $this;
    }
public function setHeight ( $ height , $ default = 100 ) { if ( ! is_numeric ( $ height ) ) { $ height = empty ( $ this -> thumbConf [ 'default_thumbnail' ] [ 1 ] ) ? $ default : $ this -> thumbConf [ 'default_thumbnail' ] [ 1 ] ; } $ this -> height = $ height ; return $ this ; }
Set the thumbnail height.

@param int $height
@param int $default

@return Thumbnail
Set the thumbnail height .