From 0bafaa691989eef96a9305135711a11cc7a19730 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 10 Apr 2013 22:21:09 +0800 Subject: [PATCH] =?UTF-8?q?Validate=E7=B1=BB=E5=A2=9E=E5=8A=A0getError?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Think/Validate.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Think/Validate.php b/Think/Validate.php index 53bbe655..23d8ba0c 100644 --- a/Think/Validate.php +++ b/Think/Validate.php @@ -22,6 +22,10 @@ class Validate { return $this; } + public function getError(){ + return $this->error; + } + /** * 自动表单验证 * @access protected