Functions

setSeed

Set seed for this response If there is no seed, create a new one Also inits the twister.

package

Default

Arguments

$surveyid

integer

« More »

shuffle

Shuffle an array using MersenneTwister Argument NOT called by reference!

package

Default

Arguments

$arr

array

Response

array

« More »

Classes, interfaces and traits

MersenneTwister

Custom random algorithm to get consistent behaviour between PHP versions.

« More »

Classes, interfaces and traits

AjaxHelper

Ajax helper This class will help to standardize the Ajax communication between server and client.

See the manual page for more info: https://manual.limesurvey.org/Backend_Ajax_protocol

« More »

JsonOutput

Base class for json output

« More »

JsonOutputError

Set error in constructor, which will be shown as a pop-up on client.

« More »

JsonOutputHtml

Echo HTML and put it in a <div> with id $target.

« More »

JsonOutputModal

Base class for json output

« More »

JsonOutputNoPermission

Permission set to false

« More »

JsonOutputNotLoggedIn

Echo html for log in form modal body This is a special case of JsonOutputModal, but with fixed html Only used through JsonOutputNotLoggedIn in AdminController::run.

« More »

JsonOutputSuccess

Set success message in constructor, which will be shown as a pop-up on client.

« More »