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
boolean
False 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
mixed
Row 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
mixed
Row array or false when errors occurred
Properties
$_organization
$_organization : \Gems_User_Organization
$db
$db : \Zend_Db_Adapter_Abstract
$loader
$loader : \Gems_Loader
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