public function imageButton(ImageButton $button)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', 'image');
        $tag->setAttribute('src', $button->getSrc());
        $tag->setAttribute('alt', $button->getAlt());

        return $this->parseTag($tag, $button);
    }
public function imageButton(ImageButton $button)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', 'image');
        $tag->setAttribute('src', $button->getSrc());
        $tag->setAttribute('alt', $button->getAlt());

        return $this->parseTag($tag, $button);
    }
public function imageButton ( ImageButton $ button ) { $ tag = new Tag ( 'input' ) ; $ tag -> setAttribute ( 'type' , 'image' ) ; $ tag -> setAttribute ( 'src' , $ button -> getSrc ( ) ) ; $ tag -> setAttribute ( 'alt' , $ button -> getAlt ( ) ) ; return $ this -> parseTag ( $ tag , $ button ) ; }
Render an ImageButton

@param ImageButton $button
@return string
Render an ImageButton