SurveyResponseService
in package
Question Aggregate Delete Service
Table of Contents
Properties
- $permission : Permission
- $yiiDb : CDbConnection
Methods
- __construct() : mixed
- delete() : void
- deleteAttachments() : void
- deleteResponse() : void
- update() : void
- updateResponse() : void
Properties
$permission
protected
Permission
$permission
$yiiDb
protected
CDbConnection
$yiiDb
Methods
__construct()
public
__construct(CDbConnection $yiiDb, Permission $permission) : mixed
Parameters
- $yiiDb : CDbConnection
- $permission : Permission
delete()
public
delete( $surveyId, $questionIds) : void
Parameters
Tags
deleteAttachments()
public
deleteAttachments( $surveyId, $rid) : void
Parameters
Tags
deleteResponse()
public
deleteResponse( $surveyId, $rid) : void
Parameters
Tags
update()
public
update(mixed $surveyId, mixed $responseId, mixed $responseData) : void
Parameters
- $surveyId : mixed
- $responseId : mixed
- $responseData : mixed
Tags
updateResponse()
public
updateResponse(int $surveyId, $responseId, $responseData) : void