Extract the Widget attributes from a Data Container array
public static getAttributesFromDca ( array $arrData, string $strName, mixed $varValue = null, string $strField = '', string $strTable = '', |
||
$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 in the database |
$objDca | An optional DataContainer object | |
return | array | An attributes array that can be passed to a widget |