Class X2FormModel
CFormModel represents a data model that collects HTML form inputs.
Unlike CActiveRecord, the data collected by CFormModel are stored in memory only, instead of database.
To collect user inputs, you may extend CFormModel and define the attributes
whose values are to be collected from user inputs. You may override CModel::rules() to declare validation rules that should be applied to the
attributes.
- CComponent
 - 
			
CModel
			 implements 
IteratorAggregate, 
			
ArrayAccess
			
			
		 - 
			
CFormModel
			
			
		 - 
			
X2FormModel			
			
			
		 
Direct known subclasses
ActionFormModelBase, CreatePageFormModel, EditMobileFormsFormModel, GlobalCSSFormModel, GlobalImportFormModel, LoginForm, UploadLogoFormModelIndirect known subclasses
ActionFormModel, CalendarEventFormModel, CallFormModel, EventFormModel, NoteFormModel, TimeFormModel
		
		
		
		Package: system\web
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/protected/components/X2FormModel.php
	
	Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/protected/components/X2FormModel.php
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
__construct(), 
attributeNames(), 
init()
		 | 
	
addError(), 
addErrors(), 
afterConstruct(), 
afterValidate(), 
attributeLabels(), 
beforeValidate(), 
behaviors(), 
clearErrors(), 
createValidators(), 
generateAttributeLabel(), 
getAttributeLabel(), 
getAttributes(), 
getError(), 
getErrors(), 
getIterator(), 
getSafeAttributeNames(), 
getScenario(), 
getValidatorList(), 
getValidators(), 
hasErrors(), 
isAttributeRequired(), 
isAttributeSafe(), 
offsetExists(), 
offsetGet(), 
offsetSet(), 
offsetUnset(), 
onAfterConstruct(), 
onAfterValidate(), 
onBeforeValidate(), 
onUnsafeAttribute(), 
rules(), 
setAttributes(), 
setScenario(), 
unsetAttributes()
		 | 
	
__call(), 
__get(), 
__isset(), 
__set(), 
__unset(), 
asa(), 
attachBehavior(), 
attachBehaviors(), 
attachEventHandler(), 
canGetProperty(), 
canSetProperty(), 
detachBehavior(), 
detachBehaviors(), 
detachEventHandler(), 
disableBehavior(), 
disableBehaviors(), 
enableBehavior(), 
enableBehaviors(), 
evaluateExpression(), 
getEventHandlers(), 
hasEvent(), 
hasEventHandler(), 
hasProperty(), 
raiseEvent()
		 | 
	
			public  
			boolean
		 | 
		$throwExceptions | false | 
		
			#
			 if true, instead of adding error messages to the model, exceptions will be
thrown  | 
	
			public  
			CException
		 | 
		$exceptionClass | 'CHttpException' | 
		
			#
			 type of exception that will get thrown if $throwExceptions is true  | 
	
$attributes, 
$errors, 
$iterator, 
$safeAttributeNames, 
$scenario, 
$validatorList, 
$validators
		 |