public function saveCallbackMultiEdit($value, $dc)
	{
		if (
			$GLOBALS['TL_DCA'][$dc->table]['fields'][$dc->field]['inputType'] === 'fileTree'
			|| $GLOBALS['TL_DCA'][$dc->table]['fields'][$dc->field]['inputType'] === 'fineUploader'
		) {
			$value = $this->uuidBinToText($value);
		}

		$field = substr($dc->field, strlen($dc->activeRecord->type . '_field_'));

		$data = \Database::getInstance()
			->prepare("SELECT rsce_data FROM {$dc->table} WHERE id=?")
			->execute($dc->id)
			->rsce_data;
		$data = $data ? json_decode($data, true) : [];

		$data[$field] = $value;

		$data = json_encode($data);

		\Database::getInstance()
			->prepare("UPDATE {$dc->table} SET rsce_data = ? WHERE id = ?")
			->execute($data, $dc->id);
	}
public function saveCallbackMultiEdit($value, $dc)
	{
		if (
			$GLOBALS['TL_DCA'][$dc->table]['fields'][$dc->field]['inputType'] === 'fileTree'
			|| $GLOBALS['TL_DCA'][$dc->table]['fields'][$dc->field]['inputType'] === 'fineUploader'
		) {
			$value = $this->uuidBinToText($value);
		}

		$field = substr($dc->field, strlen($dc->activeRecord->type . '_field_'));

		$data = \Database::getInstance()
			->prepare("SELECT rsce_data FROM {$dc->table} WHERE id=?")
			->execute($dc->id)
			->rsce_data;
		$data = $data ? json_decode($data, true) : [];

		$data[$field] = $value;

		$data = json_encode($data);

		\Database::getInstance()
			->prepare("UPDATE {$dc->table} SET rsce_data = ? WHERE id = ?")
			->execute($data, $dc->id);
	}
public function saveCallbackMultiEdit ( $ value , $ dc ) { if ( $ GLOBALS [ 'TL_DCA' ] [ $ dc -> table ] [ 'fields' ] [ $ dc -> field ] [ 'inputType' ] === 'fileTree' || $ GLOBALS [ 'TL_DCA' ] [ $ dc -> table ] [ 'fields' ] [ $ dc -> field ] [ 'inputType' ] === 'fineUploader' ) { $ value = $ this -> uuidBinToText ( $ value ) ; } $ field = substr ( $ dc -> field , strlen ( $ dc -> activeRecord -> type . '_field_' ) ) ; $ data = \ Database :: getInstance ( ) -> prepare ( "SELECT rsce_data FROM {$dc->table} WHERE id=?" ) -> execute ( $ dc -> id ) -> rsce_data ; $ data = $ data ? json_decode ( $ data , true ) : [ ] ; $ data [ $ field ] = $ value ; $ data = json_encode ( $ data ) ; \ Database :: getInstance ( ) -> prepare ( "UPDATE {$dc->table} SET rsce_data = ? WHERE id = ?" ) -> execute ( $ data , $ dc -> id ) ; }
Field save callback multi edit

Saves the field data directly into the database field rsce_data

@param  string         $value Field value
@param  \DataContainer $dc    Data container
@return void
Field save callback multi edit