Class GlobalImportFormModel
Used to validate global import form
- CComponent
- CModel implements IteratorAggregate, ArrayAccess
- CFormModel
- X2FormModel
- GlobalImportFormModel
public
array
|
getAllErrorMessages(),
validate()
|
__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(),
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
string
|
$data |
|
#
the file being imported |
public
string
|
$delimeter | ',' |
#
CSV delimeter character |
public
string
|
$enclosure | '"' |
#
CSV enclosure character |
public
boolean
|
$overwrite | true |
#
whether or not to overwrite old data |
$exceptionClass,
$throwExceptions
|
$attributes,
$errors,
$iterator,
$safeAttributeNames,
$scenario,
$validatorList,
$validators
|