LimeSurvey API - Master branch

SurveyModelTrait

Table of Contents

Properties

$survey  : mixed

Methods

getSurveyModel()  : Survey
Get Survey
setSurveyModel()  : void
Set Survey

Properties

Methods

getSurveyModel()

Get Survey

public getSurveyModel(int $id) : Survey

Used as a proxy for providing a mock record during testing.

Parameters
$id : int
Return values
Survey

setSurveyModel()

Set Survey

public setSurveyModel(Survey $survey) : void

Used to set mock record during testing.

Parameters
$survey : Survey

        
On this page

Search results