Bootstrapper\Form::success PHP Метод

success() публичный Метод

Creates a success validation block
См. также: 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
Результат string
    public function success($label, $input, $attributes = [])
    {
        return $this->validation(self::FORM_SUCCESS, $label, $input, $attributes);
    }

Usage Example

Пример #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);
 }