error() public method

Creates an error validation block
See also: Bootstrapper\\Form::validation()
public error ( 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
Esempio n. 1
0
 /**
  * Creates an error 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 error($label, $input, $attributes = array())
 {
     return \Bootstrapper\Form::error($label, $input, $attributes);
 }