LimeSurvey API - Master branch

ImportSurveyCommand extends CConsoleCommand
in package

Table of Contents

Methods

run()  : void
Sample command: php application/commands/console.php importsurvey tmp/upload/youfile.lss
importFile()  : array<string|int, mixed>|null

Methods

run()

Sample command: php application/commands/console.php importsurvey tmp/upload/youfile.lss

public run(array<string|int, mixed> $args) : void
Parameters
$args : array<string|int, mixed>

importFile()

protected importFile(string $filename, string|null $baselang) : array<string|int, mixed>|null
Parameters
$filename : string

the name of the file

$baselang : string|null

the base language either chosen or defaulted to null in the run method

Return values
array<string|int, mixed>|null

Import result


        
On this page

Search results