submit() 공개 메소드

public submit ( string | null $value = null, array $options = [] ) : string
$value string | null The value of the submit button
$options array The options
리턴 string
예제 #1
0
 /**
  * Create a submit button element.
  *
  * @param string|null $value The value of the submit button
  * @param array $options The options
  * @return string 
  * @param string $value
  * @param array $options
  * @return string 
  * @static 
  */
 public static function submit($value = null, $options = array())
 {
     return \Bootstrapper\Form::submit($value, $options);
 }
예제 #2
0
 public function testSubmitButton()
 {
     $html = Form::submit('foo', $this->testAttributes);
     $matcher = $this->createButtonMatcher('submit');
     $this->assertTag($matcher, $html);
 }