Index: branches/5.1.x/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r13451 -r13470 --- branches/5.1.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 13451) +++ branches/5.1.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 13470) @@ -1,6 +1,6 @@ getList($params); // maybe we should use $this->GetList($params) instead @@ -738,6 +745,13 @@ return $this->Application->HREF($t, '', $params); } + /** + * Depricated + * + * @param array $params + * @return int + * @deprecated Parameter "column_width" of "PrintList" tag does that + */ function ColumnWidth($params) { $columns = $this->Application->Parser->GetParam('columns'); @@ -985,6 +999,13 @@ $object->SetDBField($dst_field, $src_object->GetDBField($src_field)); } + /** + * Depricated + * + * @param Array $params + * @return string + * @deprecated parameter "as_label" of "Field" tag does the same + */ function PhraseField($params) { $field_label = $this->Field($params); @@ -1906,7 +1927,7 @@ } else { // used for configuration - $field_options['options'] = $helper->GetValuesHash($object->GetDBField($params['value_list_field']), ','); + $field_options['options'] = $helper->GetValuesHash( $object->GetDBField($params['value_list_field']) ); } $object->SetFieldOptions($field, $field_options);