Class NForm
Creates, validates and renders HTML forms.
- NObject
 - 
			
			NComponent
			
			 implements 
				IComponent
			
			
		 - 
			
			NComponentContainer
			
			 implements 
				IComponentContainer
			
			
		 - 
			
			NFormContainer
			
			 implements 
				ArrayAccess
			
			
		 - 
			
NForm			
			
			
		 
Direct known subclasses
NAppForm
			 public 
			
			
			
		 | 
		|
			 protected 
			
			
			
		 | 
		
		#
		 attached( 
		This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.  | 
	
			 public 
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			string
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 addProtection( string $message = NULL, integer $timeout = NULL )
		Cross-Site Request Forgery (CSRF) form protection.  | 
	
			 public 
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			array
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 protected 
			array|null
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			array
			
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			can
			
			
		 | 
		|
			 protected 
			
		 | 
		|
			 protected 
			
		 | 
		
			createComponent(), 
			getComponent(), 
			getComponents(), 
			removeComponent(), 
			validateChildComponent()
		 | 
	
			__sleep(), 
			__wakeup(), 
			detached(), 
			getName(), 
			getParent(), 
			lookup(), 
			lookupPath(), 
			monitor(), 
			unmonitor(), 
			validateParent()
		 | 
	
			__call(), 
			__callStatic(), 
			__get(), 
			__isset(), 
			__set(), 
			__unset(), 
			extensionMethod(), 
			getReflection()
		 | 
	
			setParent()
		 | 
	
string | 
		
				EQUAL
		 | 
		':equal' | 
		
			#
			 validator  | 
	
string | 
		
				IS_IN
		 | 
		':equal' | 
		
			#
			 validator  | 
	
string | 
		
				NOT_EQUAL
		 | 
		':notEqual' | 
		
			#
			 validator  | 
	
string | 
		
				FILLED
		 | 
		':filled' | 
		
			#
			 validator  | 
	
string | 
		
				BLANK
		 | 
		':blank' | 
		
			#
			 validator  | 
	
string | 
		
				REQUIRED
		 | 
		 | 
		
			#
			 validator  | 
	
string | 
		
				VALID
		 | 
		':valid' | 
		
			#
			 validator  | 
	
string | 
		
				PROTECTION
		 | 
		'NHiddenField::validateEqual' | 
		|
string | 
		
				SUBMITTED
		 | 
		':submitted' | 
		|
string | 
		
				MIN_LENGTH
		 | 
		':minLength' | 
		|
string | 
		
				MAX_LENGTH
		 | 
		':maxLength' | 
		|
string | 
		
				LENGTH
		 | 
		':length' | 
		|
string | 
		
				EMAIL
		 | 
		':email' | 
		|
string | 
		
				URL
		 | 
		':url' | 
		|
string | 
		
				REGEXP
		 | 
		':regexp' | 
		|
string | 
		
				PATTERN
		 | 
		':pattern' | 
		|
string | 
		
				INTEGER
		 | 
		':integer' | 
		|
string | 
		
				NUMERIC
		 | 
		':integer' | 
		|
string | 
		
				FLOAT
		 | 
		':float' | 
		|
string | 
		
				RANGE
		 | 
		':range' | 
		|
string | 
		
				COUNT
		 | 
		':length' | 
		|
string | 
		
				MAX_FILE_SIZE
		 | 
		':fileSize' | 
		|
string | 
		
				MIME_TYPE
		 | 
		':mimeType' | 
		|
string | 
		
				IMAGE
		 | 
		':image' | 
		|
string | 
		
				GET
		 | 
		'get' | 
		
			#
			 method  | 
	
string | 
		
				POST
		 | 
		'post' | 
		
			#
			 method  | 
	
string | 
		
				TRACKER_ID
		 | 
		'_form_' | 
		|
string | 
		
				PROTECTOR_ID
		 | 
		'_token_' | 
		
			NAME_SEPARATOR
		 | 
	
			public  
			array
		 | 
		$onSuccess |  | 
		
			#
			 of function(Form $sender); Occurs when the form is submitted and successfully validated  | 
	
			public  
			array
		 | 
		$onError |  | 
		
			#
			 of function(Form $sender); Occurs when the form is submitted and is not valid  | 
	
			public  
			array
		 | 
		$onSubmit |  | 
		
			#
			 of function(Form $sender); Occurs when the form is submitted  | 
	
			public  
			
		 | 
		$onInvalidSubmit |  | 
		|
			public  
			 | 
		$httpRequest |  | 
		
			#
			 used only by standalone form  | 
	
			$currentGroup, 
			$onValidate, 
			$valid
		 | 
	
			public  
			mixed
		 | 
		$action | |
			public  
			string
		 | 
		$method | |
			public  
			 | 
		$translator | |
			public  
			 | 
		$renderer | |
			public  read-only
			array
		 | 
		$groups | |
			public  read-only
			boolean
		 | 
		$anchored | |
			public  read-only
			 | 
		$submitted | |
			public  read-only
			boolean
		 | 
		$success | |
			public  read-only
			array
		 | 
		$httpData | |
			public  read-only
			array
		 | 
		$errors | |
			public  read-only
			 | 
		$elementPrototype | 
			$controls, 
			$currentGroup, 
			$defaults, 
			$form, 
			$valid, 
			$values
		 | 
	
			$components
		 | 
	
			$name, 
			$parent
		 | 
	
			$reflection
		 |