code: protected function prepareForWidget($arrData, $strName, $varValue=null, $strField='', $strTable='')
  	{
  		@trigger_error('Using Controller::prepareForWidget() has been deprecated and will no longer work in Contao 5.0. Use Widget::getAttributesFromDca() instead.', E_USER_DEPRECATED);
  
  		return Widget::getAttributesFromDca($arrData, $strName, $varValue, $strField, $strTable);
  	}
docs: Convert a DCA file configuration to be used with widgets
  
  @param array  $arrData  The field configuration array
  @param string $strName  The field name in the form
  @param mixed  $varValue The field value
  @param string $strField The field name in the database
  @param string $strTable The table name
  
  @return array An array that can be passed to a widget
  
  @deprecated Deprecated since Contao 4.0, to be removed in Contao 5.0.
  Use Widget::getAttributesFromDca() instead.