success() public method

Creates a success validation block
See also: Bootstrapper\\Form::validation()
public success ( string $label, string $input, array $attributes = [] ) : string
$label string The label
$input string The input
$attributes array The attributes of the validation block
return string
示例#1
0
 /**
  * Creates a success validation block
  *
  * @param string $label The label
  * @param string $input The input
  * @param array $attributes The attributes of the validation block
  * @return string 
  * @see Bootstrapper\\Form::validation()
  * @static 
  */
 public static function success($label, $input, $attributes = array())
 {
     return \Bootstrapper\Form::success($label, $input, $attributes);
 }