public function button(
            $label    = null,
            $url      = null,
            $status   = null,
            $icon     = null,
            $block    = false,
            $disabled = false,
            $flat     = false,
            $size     = Button::SIZE_NORMAL)
    {
        $button = new Button($label, $url, $status, $icon, $block, $disabled, $flat, $size);
        return $this->addButton($button);
    }
public function button(
            $label    = null,
            $url      = null,
            $status   = null,
            $icon     = null,
            $block    = false,
            $disabled = false,
            $flat     = false,
            $size     = Button::SIZE_NORMAL)
    {
        $button = new Button($label, $url, $status, $icon, $block, $disabled, $flat, $size);
        return $this->addButton($button);
    }
public function button ( $ label = null , $ url = null , $ status = null , $ icon = null , $ block = false , $ disabled = false , $ flat = false , $ size = Button :: SIZE_NORMAL ) { $ button = new Button ( $ label , $ url , $ status , $ icon , $ block , $ disabled , $ flat , $ size ) ; return $ this -> addButton ( $ button ) ; }
Create a new button
@param string $label
@param string $url
@param string $status
@param string $icon
@param bool $block
@param bool $disabled
@param bool $flat
@param string $size
@return $this
Create a new button