Changeset 14891
- Timestamp:
- 02/12/08 11:17:45 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.datamanager2/documentation/CHANGES
r13997 r14891 8 8 which might even break existing functionality. 9 9 - All items marked with "+" represent completely new features. 10 11 2008-02-12 adrenalin 12 - Added configuration option for choosing the separating character for multiple storage 10 13 11 14 2007-12-19 adrenalin trunk/midcom/midcom.helper.datamanager2/type/select.php
r14335 r14891 196 196 */ 197 197 var $multiple_storagemode = 'serialized'; 198 199 /** 200 * Glue that will be used for separating the keys 201 * 202 * @var string 203 * @access public 204 */ 205 var $multiple_separator = '|'; 198 206 199 207 /** … … 476 484 function _convert_multiple_from_storage($source) 477 485 { 478 $glue = '|';486 $glue = $this->multiple_separator; 479 487 480 488 switch ($this->multiple_storagemode) … … 537 545 538 546 case 'imploded_wrapped': 539 $glue = '|';547 $glue = $this->multiple_separator; 540 548 $options = $this->_get_imploded_options(); 541 549 return "{$glue}{$options}{$glue}"; … … 556 564 function _get_imploded_options() 557 565 { 558 $glue = '|';566 $glue = $this->multiple_separator; 559 567 560 568 if ($this->others) … … 580 588 { 581 589 debug_push_class(__CLASS__, __FUNCTION__); 582 debug_add("The option key '{$key}' contained a pipe (|) char, which is not allowed for imploded storage targets. ignoring silently.",590 debug_add("The option key '{$key}' contained the multiple separator ({$this->multiple_separator}) char, which is not allowed for imploded storage targets. ignoring silently.", 583 591 MIDCOM_LOG_WARN); 584 592 debug_pop();
