MetaModels\Attribute\IAttribute::widgetToValue PHP Method

widgetToValue() public method

This is used for transferring a value that has been retrieved from a widget into native attribute value.
public widgetToValue ( mixed $varValue, string $itemId ) : mixed
$varValue mixed The value to be transformed.
$itemId string The id of the item the value belongs to.
return mixed The resulting native value
    public function widgetToValue($varValue, $itemId);