Class CInlineValidator
CInlineValidator represents a validator which is defined as a method in the object being validated.
- CComponent
 - 
			
			CValidator
			
			
			
		 - 
			
CInlineValidator			
			
			
		 
		
		
		
		Package: system\validators
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/validators/CInlineValidator.php
	
	Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/validators/CInlineValidator.php
			 protected 
			
			
			
		 | 
		
		#
		 validateAttribute( 
		Validates the attribute of the object. If there is any error, the error message is added to the object.  | 
	
			 public 
			string
			
			
		 | 
		
		#
		 clientValidateAttribute( 
		
			Returns the JavaScript code needed to perform client-side validation by calling
the  
		
		CInlineValidator::$clientValidate method. In the client validation code, these
variables are predefined:
  | 
	
			addError(), 
			applyTo(), 
			createValidator(), 
			isEmpty(), 
			validate()
		 | 
	
			public  
			string
		 | 
		$method |  | 
		
			#
			 the name of the validation method defined in the active record class  | 
	
			public  
			array
		 | 
		$params |  | 
		
			#
			 additional parameters that are passed to the validation method  | 
	
			public  
			string
		 | 
		$clientValidate |  | 
		
			#
			 the name of the method that returns the client validation code (See   | 
	
			$attributes, 
			$builtInValidators, 
			$enableClientValidation, 
			$except, 
			$message, 
			$on, 
			$safe, 
			$skipOnError
		 |