public function saveOrderValue ($value, $dc)
	{
		$orderField = $GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['eval']['orderField'];

		$orderData = \Input::post($orderField);
	
		if ($orderData)
		{
			// Convert UUID to binary data for file sources
			if ($GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['inputType'] == 'fileTree')
			{
				$this->arrModifiedData[$orderField] = array_map('\StringUtil::uuidToBin', explode(',', $orderData));
			}
			else
			{
				$this->arrModifiedData[$orderField] = explode(',', $orderData);
			}
		}
		else
		{
			$this->arrModifiedData[$orderField] = NULL;
		}

		return $value;
	}
public function saveOrderValue ($value, $dc)
	{
		$orderField = $GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['eval']['orderField'];

		$orderData = \Input::post($orderField);
	
		if ($orderData)
		{
			// Convert UUID to binary data for file sources
			if ($GLOBALS['TL_DCA']['tl_content']['fields'][$dc->field]['inputType'] == 'fileTree')
			{
				$this->arrModifiedData[$orderField] = array_map('\StringUtil::uuidToBin', explode(',', $orderData));
			}
			else
			{
				$this->arrModifiedData[$orderField] = explode(',', $orderData);
			}
		}
		else
		{
			$this->arrModifiedData[$orderField] = NULL;
		}

		return $value;
	}
public function saveOrderValue ( $ value , $ dc ) { $ orderField = $ GLOBALS [ 'TL_DCA' ] [ 'tl_content' ] [ 'fields' ] [ $ dc -> field ] [ 'eval' ] [ 'orderField' ] ; $ orderData = \ Input :: post ( $ orderField ) ; if ( $ orderData ) { // Convert UUID to binary data for file sources if ( $ GLOBALS [ 'TL_DCA' ] [ 'tl_content' ] [ 'fields' ] [ $ dc -> field ] [ 'inputType' ] == 'fileTree' ) { $ this -> arrModifiedData [ $ orderField ] = array_map ( '\StringUtil::uuidToBin' , explode ( ',' , $ orderData ) ) ; } else { $ this -> arrModifiedData [ $ orderField ] = explode ( ',' , $ orderData ) ; } } else { $ this -> arrModifiedData [ $ orderField ] = NULL ; } return $ value ; }
Save the virtual order field

@param mixed         $value
@param DataContainer $dc

@return mixed
Save the virtual order field