Bootstrapper\Form::warning PHP 메소드

warning() 공개 메소드

Creates a warning validation block
또한 보기: Bootstrapper\\Form::validation()
public warning ( string $label, string $input, array $attributes = [] ) : string
$label string The label
$input string The input
$attributes array The attributes of the validation block
리턴 string
    public function warning($label, $input, $attributes = [])
    {
        return $this->validation(Form::FORM_WARNING, $label, $input, $attributes);
    }

Usage Example

예제 #1
0
 /**
  * Creates a warning 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 warning($label, $input, $attributes = array())
 {
     return \Bootstrapper\Form::warning($label, $input, $attributes);
 }