PHP Class Devise\Pages\Fields\FieldsResponseHandler

Show file Open project: devisephp/cms Class Usage Examples

Public Methods

Method Description
__construct ( FieldManager $Manager ) Construct new response handler
requestReset ( integer $fieldId, $scope ) : json Resets a fields values
requestUpdate ( integer $fieldId, array $input ) : json Update field, creates a new version of the field this returns json

Method Details

__construct() public method

Construct new response handler
public __construct ( FieldManager $Manager )
$Manager FieldManager

requestReset() public method

Resets a fields values
public requestReset ( integer $fieldId, $scope ) : json
$fieldId integer
return json

requestUpdate() public method

Update field, creates a new version of the field this returns json
public requestUpdate ( integer $fieldId, array $input ) : json
$fieldId integer
$input array
return json