form::reset PHP 메소드

reset() 공개 정적인 메소드

public static reset ( $value = null, $attributes = [] )
    public static function reset($value = null, $attributes = array())
    {
        return static::input('reset', null, $value, $attributes);
    }

Usage Example

예제 #1
0
파일: form.php 프로젝트: salomay/refreshin
 function init()
 {
     $formx = new form();
     global $error;
     $formx->set_error(0);
     if (!$error) {
         $formx->reset();
     }
 }
All Usage Examples Of form::reset