public function buildSubmitButton($title, $name = '', $id = '', $class = '', $attributes = [])
    {
        // Create the form submit button
        $id = $id ?: 'fsb' . mt_rand();

        return $this->buildButton($type = 'submit', $title, $name, $id, $class, $attributes);
    }
public function buildSubmitButton($title, $name = '', $id = '', $class = '', $attributes = [])
    {
        // Create the form submit button
        $id = $id ?: 'fsb' . mt_rand();

        return $this->buildButton($type = 'submit', $title, $name, $id, $class, $attributes);
    }
public function buildSubmitButton ( $ title , $ name = '' , $ id = '' , $ class = '' , $ attributes = [ ] ) { // Create the form submit button $ id = $ id ? : 'fsb' . mt_rand ( ) ; return $ this -> buildButton ( $ type = 'submit' , $ title , $ name , $ id , $ class , $ attributes ) ; }
Built an html form submit button.

@param string $title      The button's title
@param string $name       The button's name attribute
@param string $id         The button's id attribute
@param string $class      The extra class of the button
@param array  $attributes A set of extra attributes

@return FormElement
@throws Exception
Built an html form submit button .