Make sure a \Gems_Form is used for validation

package Gems
subpackage Model_Translator
copyright Copyright (c) 2015 Erasmus MC
license New BSD License
since Class available since version 1.7.2
inherited_from \Gems_Model_Translator_StraightTranslator

 Methods

Called after the check that all required registry values have been set correctly has run.

afterRegistry() 
inherited_from \Gems_Model_Translator_StraightTranslator::afterRegistry()

Called after the check that all required registry values have been set correctly has run.

afterRegistry() : void
Inherited

Should be called after answering the request to allow the Target to check if all required registry values have been set correctly.

checkRegistryRequestsAnswers() : boolean
Inherited

Returns

booleanFalse if required values are missing.

Add organization id and gul_user_class when needed

translateRowValues(mixed $row, scalar $key) : mixed
inherited_from \Gems_Model_Translator_StraightTranslator::translateRowValues()

Parameters

$row

mixed

array or \Traversable row

$key

scalar

Returns

mixedRow array or false when errors occurred

Perform any translations necessary for the code to work

translateRowValues(mixed $row, scalar $key) : mixed
Inherited

Parameters

$row

mixed

array or \Traversable row

$key

scalar

Returns

mixedRow array or false when errors occurred

Create an empty form for filtering and validation

_createTargetForm() : \MUtil_Form
Inherited

Returns

\MUtil_Form

 Properties

 

$_organization

$_organization : \Gems_User_Organization

Default

 

$db

$db : \Zend_Db_Adapter_Abstract

Default

 

$loader

$loader : \Gems_Loader

Default

 

The name of the field to store the organization id in

$orgIdField : string

Default

'gsf_id_organization'
inherited_from \Gems_Model_Translator_StraightTranslator::orgIdField
 

The name of the field to store the organization id in

$orgIdField : string

Default

'gr2o_id_organization'
 

Extra values the origanization id field accepts

$orgTranslations : array

Default