Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/db/db_tag_processor.php
Show First 20 Lines • Show All 2151 Lines • ▼ Show 20 Line(s) | |||||
} | } | ||||
$formatter_class = $object->GetFieldOption($field, 'formatter'); | $formatter_class = $object->GetFieldOption($field, 'formatter'); | ||||
switch ($element_type) { | switch ($element_type) { | ||||
case 'select': | case 'select': | ||||
case 'multiselect': | case 'multiselect': | ||||
case 'radio': | case 'radio': | ||||
case 'checkboxes': | |||||
if ($object->GetDBField('DirectOptions')) { | if ($object->GetDBField('DirectOptions')) { | ||||
Lint: CodingStandard.WhiteSpace.ControlStructureSpacing.SpaceBeforeCloseBrace: Expected 1 spaces before "if" closing bracket; 0 found | |||||
Expected 1 spaces after "if" opening bracket; 0 found Lint: CodingStandard.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace: Expected 1 spaces after "if" opening bracket; 0 found | |||||
// used for custom fields | // used for custom fields | ||||
$options = $object->GetDBField('DirectOptions'); | $options = $object->GetDBField('DirectOptions'); | ||||
} | } | ||||
else { | else { | ||||
// used for configuration | // used for configuration | ||||
$options = $helper->GetValuesHash( $object->GetDBField($params['value_list_field']) ); | $options = $helper->GetValuesHash( $object->GetDBField($params['value_list_field']) ); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1019 Lines • Show Last 20 Lines |
Expected 1 spaces before "if" closing bracket; 0 found