QuestionGroupModelWithL10nsByIdTrait
Table of Contents
Properties
- $questionGroupWithL10nsById : mixed
Methods
- getQuestionGroupModelWithL10nsById() : QuestionGroup
- Get question group with L10ns by id
- setQuestionGroupModelWithL10nsById() : void
- Set Question Group
Properties
$questionGroupWithL10nsById
private
mixed
$questionGroupWithL10nsById
= null
Methods
getQuestionGroupModelWithL10nsById()
Get question group with L10ns by id
public
getQuestionGroupModelWithL10nsById(int $id) : QuestionGroup
Used as a proxy for providing a mock record during testing.
Parameters
- $id : int
Return values
QuestionGroupsetQuestionGroupModelWithL10nsById()
Set Question Group
public
setQuestionGroupModelWithL10nsById(QuestionGroup $questionGroup) : void
Used to set mock record during testing.
Parameters
- $questionGroup : QuestionGroup