protected prepareForWidget ( array $arrData, string $strName, mixed $varValue = null, string $strField = '', string $strTable = '' ) : array | ||
$arrData | array | The field configuration array |
$strName | string | The field name in the form |
$varValue | mixed | The field value |
$strField | string | The field name in the database |
$strTable | string | The table name |
return | array | An array that can be passed to a widget |