示例#1
0
 public static function reset($field = 'reset', $value = 'Reset', array $attributes = array())
 {
     if (isset($attributes['class'])) {
         $attributes['class'] = 'btn ' . $attributes['class'];
     } else {
         $attributes['class'] = 'btn';
     }
     return parent::reset($field, $value, $attributes);
 }