public function button($value, $name = null, $attributes = array())
    {
        $name = pick($name, $value);

        return $this->tag('button', $value)
                    ->set(array('id' => $name, 'name' => $name))
                    ->set($attributes);
    }
public function button($value, $name = null, $attributes = array())
    {
        $name = pick($name, $value);

        return $this->tag('button', $value)
                    ->set(array('id' => $name, 'name' => $name))
                    ->set($attributes);
    }
public function button ( $ value , $ name = null , $ attributes = array ( ) ) { $ name = pick ( $ name , $ value ) ; return $ this -> tag ( 'button' , $ value ) -> set ( array ( 'id' => $ name , 'name' => $ name ) ) -> set ( $ attributes ) ; }
Create a button tag.

@param string $name
@param string $value
@param array  $attributes

@return LibBaseTemplateHelperHtmlElement
Create a button tag .