"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tine20/Tinebase/ModelConfiguration.php" between
tine20-2020.08.3.tar.gz and tine20-2020.08.4.tar.gz

About: Tine 2.0 is a platform independent business software system which combines groupware and customer relationship management (CRM). Commercial support is available. Source code.

ModelConfiguration.php  (tine20-2020.08.3):ModelConfiguration.php  (tine20-2020.08.4)
skipping to change at line 1631 skipping to change at line 1631
} }
if (!isset($fieldDef[self::CONFIG][self::RECORD_CLASS_NAME])) { if (!isset($fieldDef[self::CONFIG][self::RECORD_CLASS_NAME])) {
$fieldDef[self::CONFIG][self::RECORD_CLASS_NAME] = $this->_g etPhpClassName($fieldDef[self::CONFIG]); $fieldDef[self::CONFIG][self::RECORD_CLASS_NAME] = $this->_g etPhpClassName($fieldDef[self::CONFIG]);
} }
$fieldDef['config']['controllerClassName'] = isset($fieldDef['co nfig']['controllerClassName']) ? $fieldDef['config']['controllerClassName'] : $t his->_getPhpClassName($fieldDef['config'], 'Controller'); $fieldDef['config']['controllerClassName'] = isset($fieldDef['co nfig']['controllerClassName']) ? $fieldDef['config']['controllerClassName'] : $t his->_getPhpClassName($fieldDef['config'], 'Controller');
$fieldDef['config']['filterClassName'] = isset($fieldDef['co nfig']['filterClassName']) ? $fieldDef['config']['filterClassName'] : $t his->_getPhpClassName($fieldDef['config']) . 'Filter'; $fieldDef['config']['filterClassName'] = isset($fieldDef['co nfig']['filterClassName']) ? $fieldDef['config']['filterClassName'] : $t his->_getPhpClassName($fieldDef['config']) . 'Filter';
$fieldDef['config']['dependentRecords'] = isset($fieldDef['confi g']['dependentRecords']) ? $fieldDef['config']['dependentRecords'] : false; $fieldDef['config']['dependentRecords'] = isset($fieldDef['confi g']['dependentRecords']) ? $fieldDef['config']['dependentRecords'] : false;
if ($fieldDef[self::TYPE] == 'record') { if ($fieldDef[self::TYPE] == 'record') {
$fieldDef['config']['length'] = 40; $fieldDef['config']['length'] = 40;
$this->_recordFields[$fieldKey] = $fieldDef; $this->_recordFields[$fieldKey] = $fieldDef;
if (!isset($fieldDef[self::DOCTRINE_IGNORE]) || !$fieldDef[s
elf::DOCTRINE_IGNORE]) {
$this->_converters[$fieldKey] = [new Tinebase_Model_Conv
erter_Record()];
}
} else { } else {
$this->_recordsFields[$fieldKey] = $fieldDef; $this->_recordsFields[$fieldKey] = $fieldDef;
if (isset($fieldDef[self::CONFIG][self::STORAGE]) && self::T YPE_JSON === $fieldDef[self::CONFIG][self::STORAGE] && if (isset($fieldDef[self::CONFIG][self::STORAGE]) && self::T YPE_JSON === $fieldDef[self::CONFIG][self::STORAGE] &&
!isset($this->_converters[$fieldKey])) { !isset($this->_converters[$fieldKey])) {
$this->_converters[$fieldKey] = [new Tinebase_Model_Conv erter_JsonRecordSet()]; $this->_converters[$fieldKey] = [new Tinebase_Model_Conv erter_JsonRecordSet()];
} }
} }
break; break;
case self::TYPE_DYNAMIC_RECORD: case self::TYPE_DYNAMIC_RECORD:
if (isset($fieldDef[self::CONFIG][self::REF_MODEL_FIELD]) && !is set($this->_converters[$fieldKey])) { if (isset($fieldDef[self::CONFIG][self::REF_MODEL_FIELD]) && !is set($this->_converters[$fieldKey])) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)