Validate类增加getError方法

This commit is contained in:
thinkphp
2013-04-10 22:21:09 +08:00
parent 1a2a58a8ad
commit 0bafaa6919

View File

@@ -22,6 +22,10 @@ class Validate {
return $this;
}
public function getError(){
return $this->error;
}
/**
* 自动表单验证
* @access protected