You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							680 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							680 B
						
					
					
				| <?php | |
| /** | |
|  * ValidationEvent class file. | |
|  * | |
|  * @link http://www.yiiframework.com/ | |
|  * @copyright Copyright © 2008-2012 Yii Software LLC | |
|  * @license http://www.yiiframework.com/license/ | |
|  */ | |
|  | |
| namespace yii\base; | |
|  | |
| /** | |
|  * ValidationEvent class. | |
|  * | |
|  * ValidationEvent represents the parameter needed by model validation events. | |
|  * | |
|  * @author Qiang Xue <qiang.xue@gmail.com> | |
|  * @since 2.0 | |
|  */ | |
| class ValidationEvent extends Event | |
| { | |
| 	/** | |
| 	 * @var boolean whether the model passes the validation by the event handler. | |
| 	 * Defaults to true. If it is set false, the [[Model::validate|model validation]] will be cancelled. | |
| 	 * @see Model::onBeforeValidate | |
| 	 */ | |
| 	public $isValid = true; | |
| }
 | |
| 
 |