Functions

populateDatabase

« More »

scanFile

« More »

setSeed

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

« More »

shuffle

Shuffle an array using MersenneTwister Argument NOT called by reference!

« More »

SureRemoveDir

« More »

SureRemoveDir

« More »

pluginExtractFilter

PCLZip callback for plugin ZIP install.

« More »

clean

« More »

loadanswers

« More »

getLanguageChangerDatas

This function creates the language selector for a particular survey

« More »

getLanguageChangerDatasPublicList

This function creates the language selector for the public survey index page

« More »

makeFlashMessage

Construct flash message container Used in templatereplace to replace {FLASHMESSAGE} in startpage.tstpl

« More »

checkUploadedFileValidity

checkUploadedFileValidity used in SurveyRuntimeHelper

« More »

addtoarray_single

Takes two single element arrays and adds second to end of first if value exists Why not use array_merge($array1,array_filter($array2);

« More »

submittokens

Marks a tokens as completed and sends a confirmation email to the participiant.

If $quotaexit is set to true then the user exited the survey due to a quota restriction and the according token is only marked as 'Q'
« More »

sendSubmitNotifications

Send a submit notification to the email address specified in the notifications tab in the survey settings

« More »

submitfailed

submitfailed : used in em_manager_helper.php

"Unexpected error" Will send e-mail to adminemail if defined.
« More »

buildsurveysession

This function builds all the required session variables when a survey is first started and it loads any answer defaults from command line or from the table defaultvalues It is called from the related format script (group.php, question.php, survey.php) if the survey has just started.

« More »

checkPassthruLabel

Check if a passthru label and value have been included in the query url

« More »

prefillFromCommandLine

Prefill startvalues from command line param

« More »

initFieldArray

« More »

randomizationGroupsAndQuestions

Apply randomizationGroup and randomizationQuestion to session fieldmap

« More »

randomizationGroup

Randomization group for groups

« More »

randomizationQuestion

Randomization group for questions

« More »

finalizeRandomization

Stuff?

« More »

testIfTokenIsValid

Test if token is valid

« More »

getRenderWay

Returns which way should be rendered

« More »

renderRenderWayForm

Render token, captcha or register form

« More »

resetAllSessionVariables

Resets all session variables for this survey

« More »

setTotalSteps

The number of "pages" that will be presented in this survey The number of pages to be presented will differ depending on the survey format Set totalsteps in session

« More »

breakOutAndCrash

« More »

renderError

« More »

getNavigatorDatas

TODO: call this function from surveyRuntimeHelper TODO: remove surveymover()

« More »

doAssessment

Caculate assessement scores

« More »

UpdateGroupList

Update SESSION VARIABLE: grouplist A list of groups in this survey, ordered by group name.

« More »

updateFieldArray

FieldArray contains all necessary information regarding the questions This function is needed to update it in case the survey is switched to another language

« More »

checkCompletedQuota

checkCompletedQuota() returns matched quotas information for the current response

« More »

encodeEmail

encodeEmail : encode admin email in public part

« More »

getReferringUrl

GetReferringUrl() returns the referring URL

« More »

display_first_page

Shows the welcome page, used in group by group and question by question mode

« More »

killSurveySession

killSurveySession : reset $_SESSION part for the survey

« More »

resetTimers

Resets all question timers by expiring the related cookie - this needs to be called before any output is done

« More »

resetQuestionTimers

Removes all question timers for this survey from local storage

« More »

SetSurveyLanguage

Set the public survey language Control if language exist in this survey, else set to survey default language if $surveyid <= 0 : set the language to default site language

« More »

getMove

getMove get move button clicked

« More »

getSideBodyClass

Get the margin class for side-body div depending on side-menu behaviour config and page (edit or not etc).

« More »

cookieConsentLocalization

For later use, don't remove.

« More »

App

Helper function to replace calls to Yii::app() and enable correct code completion.

« More »

traceVar

If debug = 2 in application/config.php this will produce output in the console / firebug similar to var_dump. It will also include the filename and line that called this method.

« More »

cmpQuestionSeq

Used by usort() to order $this->questionSeq2relevance in proper order

« More »

cmpErrorTokens

Used by usort() to order Error tokens by their position within the string This must be outside of the class in order to work in PHP 5.2

« More »

cmpWarningTokens

« More »

exprmgr_count

Count the number of answered questions (non-empty)

« More »

exprmgr_countif

Count the number of answered questions (non-empty) which match the first argument

« More »

exprmgr_countifop

Count the number of answered questions (non-empty) which meet the criteria (arg op value)

« More »

exprmgr_stripos

Find position of first occurrence of unicode string in a unicode string, case insensitive

« More »

exprmgr_stristr

Finds first occurrence of a unicode string within another, case-insensitive

« More »

exprmgr_strlen

Get unicode string length

« More »

exprmgr_strpos

Find position of first occurrence of unicode string in a unicode string

« More »

exprmgr_strstr

Finds first occurrence of a unicode string within another

« More »

exprmgr_strtolower

Make an unicode string lowercase

« More »

exprmgr_strtoupper

Make an unicode string uppercase

« More »

exprmgr_substr

Get part of unicode string

« More »

exprmgr_sumifop

Sum of values of answered questions which meet the criteria (arg op value)

« More »

exprmgr_convert_value

Find the closest matching numerical input values in a list an replace it by the corresponding value within another list

« More »

exprmgr_date

Return format a local time/date Need to test if timestamp is numeric (else E_WARNING with debug>0)

« More »

exprmgr_if

If $test is true, return $iftrue, else return $iffalse

« More »

exprmgr_int

Return true if the variable is an integer for LimeSurvey Can not really use is_int due to SQL DECIMAL system. This function can surely be improved

« More »

exprmgr_list

Join together $args[0-N] with ', '

« More »

exprmgr_listifop

Implementation of listifop( $cmpAttr, $op, $value, $retAttr, $glue, $sgqa1, .

.., sgqaN ) Return a list of retAttr from sgqa1...sgqaN which pass the critiera (cmpAttr op value)
« More »

exprmgr_log

return log($arg[0],$arg[1]=e)

« More »

exprmgr_mktime

Get Unix timestamp for a date : false if parameters is invalid.

Get default value for unset (or null) value E_NOTICE if arguments are not numeric (debug>0), then test it before
« More »

exprmgr_join

Join together $args[N]

« More »

exprmgr_implode

Join together $args[1-N] with $arg[0]

« More »

exprmgr_empty

Return true if the variable is NULL or blank.

« More »

exprmgr_stddev

Compute the Sample Standard Deviation of a set of numbers ($args[0-N])

« More »

expr_mgr_htmlspecialchars

Javascript equivalent does not cope well with ENT_QUOTES and related PHP constants, so set default to ENT_QUOTES

« More »

expr_mgr_htmlspecialchars_decode

Javascript equivalent does not cope well with ENT_QUOTES and related PHP constants, so set default to ENT_QUOTES

« More »

exprmgr_regexMatch

Return true if $input matches the regular expression $pattern

« More »

geterrors_exprmgr_regexMatch

Return error information from pattern of regular expression $pattern

« More »

exprmgr_fixnum

Display number with comma as radix separator, if needed

« More »

exprmgr_unique

Returns true if all non-empty values are unique

« More »

getGlobalSetting

Returns a global setting

« More »

templatereplace

This function replaces keywords in a text and is mainly intended for templates If you use this functions put your replacement strings into the $replacements variable instead of using global variables NOTE - Don't do any embedded replacements in this function. Create the array of replacement values and they will be done in batch at the end

« More »

getStandardsReplacementFields

« More »

ReplaceFields

« More »

PassthruReplace

passthruReplace() takes a string and looks for {PASSTHRU:myarg} variables which it then substitutes for parameter data sent in the initial URL and stored in the session array containing responses

« More »

gT

Translation helper function

« More »

eT

Translation helper function which outputs right away.

« More »

ngT

Translation helper function for plural forms

« More »

neT

Translation helper function for plural forms which outputs right away

« More »

quoteText

Quotes a translation according to purpose if sEscapeMode is null, we use HTML method because probably we had to specify null as sEscapeMode upstream

« More »

getSurveyList

getSurveyList() Queries the database (survey table) for a list of existing surveys

« More »

getGidPrevious

getGidPrevious() returns the Gid of the group prior to the current active group

« More »

getGidNext

getGidNext() returns the Gid of the group next to the current active group

« More »

convertGETtoPOST

convertGETtoPOST a function to create a post Request from get parameters !!! This functions result has to be wrappen in singlequotes!

« More »

calculateTotalFileUploadUsage

This function calculates how much space is actually used by all files uploaded using the File Upload question type

« More »

getDirectorySize

« More »

getMaxGroupOrder

Queries the database for the maximum sortorder of a group and returns the next higher one.

« More »

getGroupOrder

Queries the database for the sortorder of a group.

« More »

getMaxQuestionOrder

Queries the database for the maximum sort order of questions inside question group.

« More »

setupColumns

setupColumns() defines all the html tags to be wrapped around various list type answers.

« More »

alternation

« More »

longestString

longestString() returns the length of the longest string past to it.

« More »

getGroupList3

« More »

getGroupListLang

put your comment there.

..
« More »

getUserList

« More »

getSurveyInfo

Gets all survey infos in one big array including the language specific settings

« More »

templateDefaultTexts

Returns the default email template texts as array

« More »

groupOrderThenQuestionOrder

Compares two elements from an array (passed by the usort function) and returns -1, 0 or 1 depending on the result of the comparison of the sort order of the group_order and question_order field

« More »

fixMovedQuestionConditions

« More »

returnGlobal

This function returns POST/REQUEST vars, for some vars like SID and others they are also sanitized TODO: extends Yii:getParam

« More »

sendCacheHeaders

« More »

getExtendedAnswer

« More »

validateEmailAddress

Validate an email address - also supports IDN email addresses

« More »

validateEmailAddresses

Validate an list of email addresses - either as array or as semicolon-limited text

« More »

createCompleteSGQA

This functions generates a a summary containing the SGQA for questions of a survey, enriched with options per question It can be used for the generation of statistics. Derived from Statistics_userController

« More »

createFieldMap

This function generates an array containing the fieldcode, and matching data in the same order as the activate script

« More »

hasFileUploadQuestion

Returns true if the given survey has a File Upload Question Type

« More »

createTimingsFieldMap

This function generates an array containing the fieldcode, and matching data in the same order as the activate script

« More »

arraySearchByKey

« More »

buildLabelSetCheckSumArray

« More »

getQuestionAttributeValue

Returns the questionAttribtue value set or '' if not set

« More »

categorySort

« More »

questionTitleSort

« More »

HTMLEscape

make a string safe to include in an HTML 'value' attribute.

« More »

stripCtrlChars

This function strips UTF-8 control characters from strings, except tabs, CR and LF - it is intended to be used before any response data is saved to the response table

« More »

javascriptEscape

« More »

jsonEscape

« More »

SendEmailMessage

This function mails a text $body to the recipient $to.

You can use more than one recipient when using a semicolon separated string with recipients.
« More »

flattenText

This functions removes all HTML tags, Javascript, CRs, linefeeds and other strange chars from a given text

« More »

getArrayFilterExcludesCascadesForGroup

getArrayFilterExcludesCascadesForGroup() queries the database and produces a list of array_filter_exclude questions and targets with in the same group

« More »

createPassword

« More »

languageDropdown

« More »

languageDropdownClean

Creates a <select> HTML element for language selection for this survey

« More »

rmdirr

This function removes a directory recursively

« More »

CSVUnquote

This function removes surrounding and masking quotes from the CSV field

« More »

incompleteAnsFilterState

This function return actual completion state

« More »

isCaptchaEnabled

isCaptchaEnabled($screen, $usecaptchamode)

« More »

tableExists

Check if a table does exist in the database

« More »

isTokenCompletedDatestamped

« More »

dateShift

example usage $date = "2006-12-31 21:00"; $shift "+6 hours"; // could be days, weeks.

.. see function strtotime() for usage echo sql_date_shift($date, "Y-m-d H:i:s", $shift); will output: 2007-01-01 03:00:00
« More »

getBounceEmail

« More »

getEmailFormat

« More »

hasTemplateManageRights

« More »

reverseTranslateFieldNames

This function creates the old fieldnames for survey import

« More »

hasResources

put your comment there.

..
« More »

randomChars

Creates a random sequence of characters

« More »

conditionalNewlineToBreak

used to translate simple text to html (replacing \n with <br />

« More »

breakToNewline

« More »

safeDie

Provides a safe way to end the application

« More »

fixCKeditorText

« More »

filterForAttributes

This is a helper function for getAttributeFieldNames

« More »

getAttributeFieldNames

Retrieves the attribute field names from the related survey participants table

« More »

getParticipantAttributes

Returns the full list of attribute token fields including the properties for each field Use this instead of plain Survey::model()->findByPk($iSurveyID)->tokenAttributes calls because Survey::model()->findByPk($iSurveyID)->tokenAttributes may contain old descriptions where the fields does not physically exist

« More »

getTokenFieldsAndNames

Retrieves the attribute names from the related survey participants table

« More »

stripJavaScript

This function strips any content between and including <javascript> tags

« More »

showJavaScript

This function converts emebedded Javascript to Text

« More »

cleanTempDirectory

This function cleans files from the temporary directory being older than 1 day

« More »

useFirebug

« More »

convertDateTimeFormat

This is a convenience function for the coversion of datetime values

« More »

convertToGlobalSettingFormat

This is a convenience function to convert any date, in any date format, to the global setting date format Check if the time shoul be rendered also

« More »

removeBOM

This function removes the UTF-8 Byte Order Mark from a string

« More »

getTemplatePath

This function returns the complete directory path to a given template name

« More »

getTemplateURL

This function returns the complete URL path to a given template name

« More »

getSubQuestions

Return an array of subquestions for a given sid/qid

« More »

getXMLWriter

Wrapper function to retrieve an xmlwriter object and do error handling if it is not compiled into PHP

« More »

SSLRedirect

SSLRedirect() generates a redirect URL for the appropriate SSL mode then applies it.

(Was redirect() before CodeIgniter port.)
« More »

enforceSSLMode

enforceSSLMode() $force_ssl is on or off, it checks if the current request is to HTTPS (or not). If $force_ssl is on, and the request is not to HTTPS, it redirects the request to the HTTPS version of the URL, if the request is to HTTPS, it rewrites all the URL variables so they also point to HTTPS.

« More »

getFullResponseTable

Creates an array with details on a particular response for display purposes Used in Print answers, Detailed response view and Detailed admin notification email

« More »

isNumericInt

Check if $str is an integer, or string representation of an integer

« More »

short_implode

Implode and sort content array for very long arrays

« More »

includeKeypad

Include Keypad headers

« More »

translateInsertansTags

This function replaces the old insertans tags with new ones across a survey

« More »

replaceExpressionCodes

Replaces EM variable codes in a current survey with a new one

« More »

cleanLanguagesFromSurvey

cleanLanguagesFromSurvey() removes any languages from survey tables that are not in the passed list

« More »

fixLanguageConsistency

fixLanguageConsistency() fixes missing groups, questions, answers, quotas & assessments for languages on a survey

« More »

getLastInsertID

Retrieves the last Insert ID realiable for cross-DB applications

« More »

getGroupDepsForConditions

getGroupDepsForConditions() get Dependencies between groups caused by conditions

« More »

getQuestDepsForConditions

getQuestDepsForConditions() get Dependencies between groups caused by conditions

« More »

checkMoveQuestionConstraintsForConditions

checkMoveQuestionConstraintsForConditions()

« More »

getUserGroupList

Get a list of all user groups

« More »

modifyDatabase

Run an arbitrary sequence of semicolon-delimited SQL commands

Assumes that the input text (file or string) consists of a number of SQL statements ENDING WITH SEMICOLONS. The semicolons MUST be the last character in a line. Lines that are blank or that start with "#" or "--" (postgres) are ignored. Only tested with mysql dump files (mysqldump -p -d limesurvey) Function kindly borrowed by Moodle
« More »

getLabelSets

Returns labelsets for given language(s), or for all if null

« More »

getHeader

get the header

« More »

doHeader

« More »

getPrintableHeader

This function returns the header for the printable survey

« More »

getFooter

This function returns the Footer as result string If you want to echo the Footer use doFooter()!

« More »

doFooter

« More »

getSurveyUserList

Retrieve a HTML <OPTION> list of survey admin users

« More »

getSurveyUserGroupList

Return HTML <option> list of user groups

« More »

fixSubquestions

This function fixes the group ID and type on all subquestions, or removes the subquestions if the parent question's type doesn't allow them.

Optimized for minimum memory usage even on huge databases
« More »

ls_json_encode

Must use ls_json_encode to json_encode content, otherwise LimeExpressionManager will think that the associative arrays are expressions and try to parse them.

« More »

json_decode_ls

Decode a json string, sometimes needs stripslashes

« More »

aEncodingsArray

Return accepted codingsArray for importing files

Used in vvimport TODO : use in token and
« More »

ellipsize

Ellipsize String

This public static function will strip tags from a string, split it at its max_length and ellipsize
« More »

getIPAddress

This function tries to returns the 'real' IP address under all configurations Do not rely security-wise on the detected IP address as except for REMOTE_ADDR all fields could be manipulated by the web client

« More »

getBrowserLanguage

This function tries to find out a valid language code for the language of the browser used If it cannot find it it will return the default language from global settings

« More »

array_diff_assoc_recursive

« More »

folderSize

Calculate folder size NB: If this function is changed, please notify LimeSurvey GmbH.

An exact copy of this function is used to calculate storage limit on LimeSurvey Pro hosting.
« More »

humanFilesize

Format size in human readable format.

« More »

convertPHPSizeToBytes

This function transforms the php.ini notation for numbers (like '2M') to an integer (2*1024*1024 in this case)

« More »

getMaximumFileUploadSize

« More »

decodeTokenAttributes

Decodes token attribute data because due to bugs in the past it can be written in JSON or be serialized - future format should be JSON as serialized data can be exploited

« More »

getSerialClass

« More »

regenerateCSRFToken

Force Yii to create a new CSRF token by removing the old one

« More »

get_absolute_path

A function to remove .

./ or ./ from paths to prevent directory traversal
« More »

isJson

Check if string is JSON array

« More »

isAssociativeArray

Check if array is associative

« More »

createRandomTempDir

Create a directory in tmp dir using a random string

« More »

getRandomString

Generate a random string, using openssl if available, else using md5

« More »

crypto_rand_secure

Get a random number between two values using openssl_random_pseudo_bytes

« More »

isZipBomb

Test if a given zip file is Zip Bomb see comment here : http://php.net/manual/en/function.zip-entry-filesize.php

« More »

get_zip_originalsize

Get the original size of a zip archive to prevent Zip Bombing see comment here : http://php.net/manual/en/function.zip-entry-filesize.php

« More »

safecount

PHP7 has created a little nasty bomb with count throwing erroros on uncountables This is to "fix" this problem

« More »

switchMSSQLIdentityInsert

This function switches identity insert on/off for the MSSQL database

« More »

resourceExtractFilter

Helper to filter the contents of a .zip file uploaded into the file manager

« More »

CheckForDBUpgrades

This functions checks if the databaseversion in the settings table is the same one as required If not then the necessary upgrade procedures are run

« More »

ShowDBUpgradeNotice

« More »

getDBConnectionStringProperty

« More »

db_upgrade_all

« More »

extendDatafields429

« More »

upgradeSurveyTables402

« More »

upgradeTokenTables402

« More »

extendDatafields364

« More »

upgradeSurveyTimings350

« More »

resetTutorials337

« More »

upgrade333

« More »

upgrade331

« More »

upgrade330

« More »

upgrade328

« More »

upgrade327

« More »

transferPasswordFieldToText

« More »

createSurveyMenuTable

« More »

createSurveysGroupSettingsTable

« More »

createSurveyGroupTables306

« More »

upgradeTemplateTables304

« More »

upgradeTemplateTables298

« More »

upgradeTokenTables256

« More »

upgradeSurveyTables255

« More »

upgradeSurveyTables254

« More »

upgradeSurveyTables253

« More »

upgradeBoxesTable251

« More »

createBoxes250

Create boxes table

« More »

fixKCFinder184

« More »

upgradeSurveyTables183

« More »

upgradeSurveyTables181

« More »

upgradeTokenTables181

« More »

upgradeTokenTables179

« More »

upgradeSurveys177

« More »

upgradeTokens176

This function removes the old CPDB fields in token tables replaces them with standard attribute fields and records the mapping information in the attributedescription field in the survey table instead

« More »

upgradeCPDBAttributeDefaultNames173

« More »

upgradePermissions166

Converts global permissions from users table to the new permission system, and converts template permissions from template_rights to new permission table

« More »

upgradeSurveyTables164

Make sure all active tables have the right sized token field

During a small period in the 2.0 cycle some survey tables got no token field or a token field that was too small. This patch makes sure all surveys that are not anonymous have a token field with the right size
« More »

upgradeSurveys156

« More »

upgradeTokens148

« More »

upgradeQuestionAttributes148

« More »

upgradeSurveyTimings146

« More »

upgradeTokens145

« More »

upgradeSurveys145

« More »

upgradeSurveyPermissions145

« More »

upgradeTables143

« More »

upgradeQuestionAttributes142

« More »

upgradeSurveyTables139

« More »

upgradeTokenTables134

« More »

alterColumn

« More »

addColumn

« More »

setTransactionBookmark

Set a transaction bookmark - this is critical for Postgres because a transaction in Postgres cannot be continued unless you roll back to the transaction bookmark first

« More »

rollBackToTransactionBookmark

Roll back to a transaction bookmark

« More »

dropDefaultValueMSSQL

Drop a default value in MSSQL

« More »

dropUniqueKeyMSSQL

This function drops a unique Key of an MSSQL database field by using the field name and the table name

« More »

dropSecondaryKeyMSSQL

This function drops a secondary key of an MSSQL database field by using the field name and the table name

« More »

dropPrimaryKey

Drops the primary key of a table

« More »

addPrimaryKey

« More »

modifyPrimaryKey

Modifies a primary key in one command - this is only tested on MySQL

« More »

fixMySQLCollations

« More »

dropColumn

Drops a column, automatically removes blocking default value on MSSQL

« More »

alterLanguageCode

Renames a language code in the whole LimeSurvey database

« More »

fixLanguageConsistencyAllSurveys

« More »

runAddPrimaryKeyonAnswersTable400

« More »

setNoAnswerMode

setNoAnswerMode

« More »

retrieveAnswers

This function returns an array containing the "question/answer" html display and a list of the question/answer fieldnames associated. It is called from question.php, group.php, survey.php or preview.php

« More »

mandatory_message

« More »

validation_message

« More »

file_validation_message

« More »

mandatory_popup

« More »

validation_popup

« More »

file_validation_popup

« More »

return_timer_script

« More »

currentRelevecanceClass

Return class of a specific row (hidden by relevance)

« More »

return_display_style

« More »

return_array_filter_strings

« More »

testKeypad

« More »

do_language

« More »

do_list_dropdown

« More »

do_list_radio

« More »

do_listwithcomment

« More »

do_ranking

« More »

do_multiplechoice

« More »

do_multiplechoice_withcomments

« More »

do_file_upload

« More »

do_multipleshorttext

« More »

do_multiplenumeric

« More »

do_numerical

« More »

do_shortfreetext

« More »

getLatLongFromIp

« More »

do_longfreetext

« More »

do_hugefreetext

« More »

do_yesno

Renders Yes/No Question Type.

« More »

do_gender

Renders Gender Question Types.

« More »

do_array_5point

Construct answer part array_5point

« More »

do_array_10point

« More »

do_array_yesnouncertain

« More »

do_array_increasesamedecrease

« More »

do_array

« More »

do_array_texts

« More »

do_array_multiflexi

« More »

do_arraycolumns

Renders array by column question type.

« More »

do_array_dual

« More »

getLabelInputWidth

Find the label / input width

« More »

fillDate

Take a date string and fill out missing parts, like day, hour, minutes (not seconds).

If string is NOT in standard date format (Y-m-d H:i), this methods makes no sense. Used when fetching answer for do_date, where answer can come from a default answer expression like date('Y'). Will also truncate date('c') to format Y-m-d H:i.
« More »

doRender

Render the question view.

By default, it just renders the required core view from application/views/survey/... If user added a question template in the upload dirctory, add applied it to the question in its display settings, then the function will check if the required view exist in this directory and then will use this one to render the question. Rem: all the logic has been moved to LSETwigViewRenderer::renderQuestion() We keep the function doRender here for convenience (it will probably be removed in further cycles of dev). *
« More »

stripTagsFull

Strips html tags and replaces new lines

« More »

isNumericExtended

Returns true if passed $value is numeric

« More »

strSplitUnicode

Returns splitted unicode string correctly source: http://www.php.net/manual/en/function.str-split.php#107658

« More »

quoteSPSS

Quotes a string with surrounding quotes and masking inside quotes by doubling them

« More »

SPSSExportData

Exports CSV response data for SPSS and R

« More »

SPSSGetValues

Check it the gives field has a labelset and return it as an array if true

« More »

SPSSFieldMap

Creates a fieldmap with all information necessary to output the fields

« More »

SPSSGetQuery

Creates a query string with all fields for the export

« More »

buildXMLFromQuery

buildXMLFromQuery() creates a datadump of a table in XML using XMLWriter

« More »

surveyGetXMLStructure

from export_structure_xml.php

« More »

surveyGetXMLData

from export_structure_xml.php

« More »

getXMLDataSingleTable

Exports a single table to XML

« More »

QueXMLCleanup

from export_structure_quexml.php

« More »

QueXMLCreateFree

from export_structure_quexml.php

« More »

QueXMLFixedArray

from export_structure_quexml.php

« More »

QueXMLSkipTo

Calculate if this item should have a QueXMLSkipTo element attached to it

from export_structure_quexml.php
« More »

QueXMLCreateFixed

from export_structure_quexml.php

« More »

quexml_get_lengthth

from export_structure_quexml.php

« More »

quexml_create_multi

from export_structure_quexml.php

« More »

quexml_create_subQuestions

from export_structure_quexml.php

« More »

quexml_set_default_value

Set defaultValue attribute of provided element from response table

« More »

quexml_reformat_date

Format defaultValue of Date/Time questions according to question date format

« More »

quexml_create_question

Create a queXML question element

« More »

quexml_export

Export quexml survey.

« More »

group_export

« More »

groupGetXMLStructure

« More »

questionExport

« More »

questionGetXMLStructure

« More »

tokensExport

« More »

CPDBExport

« More »

stringSize

Find the string size according DB size for existing question Column name must be SGQA currently

« More »

numericSize

Find the numeric size according DB size for existing question for SPSS export Column name must be SGQA currently

« More »

tsvSurveyExport

Export survey to TSV format It is using existing XML function to get the same source data as lss format

« More »

sortArrayByColumn

Sort array by column name

« More »

writeXmlFromArray

Write XML from Associative Array, recursive function

« More »

surveyGetThemeConfiguration

Write XML structure for themes

« More »

MaskFormula

« More »

nice_addslashes

« More »

sanitize_filename

Function: sanitize_filename Returns a sanitized string, typically for URLs.

Parameters: $string - The string to sanitize. $force_lowercase - Force the string to lowercase? $alphanumeric - If set to *true*, will remove all non-alphanumeric characters.
« More »

beautify_filename

« More »

sanitize_dirname

Function: sanitize_dirname sanitizes a string that will be used as a directory name

Parameters: $string - The string to sanitize. $force_lowercase - Force the string to lowercase? $alphanumeric - If set to *true*, will remove all non-alphanumeric characters.
« More »

sanitize_paranoid_string

« More »

sanitize_cquestions

« More »

sanitize_system_string

« More »

sanitize_xss_string

« More »

sanitize_sql_db_tablename

« More »

sanitize_ldap_string

« More »

sanitize_html_string

« More »

sanitize_int

« More »

sanitize_user

« More »

sanitize_userfullname

« More »

sanitize_labelname

« More »

sanitize_float

« More »

sanitize

« More »

check_paranoid_string

« More »

check_int

« More »

check_float

« More »

check_html_string

« More »

check_ldap_string

« More »

check_system_string

« More »

check

« More »

sanitize_languagecode

« More »

sanitize_languagecodeS

« More »

sanitize_signedint

« More »

createChart

Generate a chart for a question

@param int $iQuestionID ID of the question
« More »

getQuestionMapData

Return data to populate a Google Map

« More »

buildSelects

Builds the list of addon SQL select statements that builds the query result set

@param array $allfields An array containing the names of the fields/answers we want to display in the statistics summary
« More »

square

Simple function to square a value

« More »

getDateFormatData

Returns all available dateformats in a structured aray If $iDateFormat is given only the particual dateformat will be returned

« More »

getLanguageData

« More »

getRadixPointData

Returns avaliable formats for Radix Points (Decimal Separators) or returns radix point info about a specific format.

@param int $format Format ID/Number [optional]
« More »

getPHPDateFromDateFormat

Convert a 'dateformat' format string to a 'phpdate' format.

« More »

getJSDateFromDateFormat

Convert a 'dateformat' format string to a 'jsdate' format.

For Bootstrap, that means using capital letters, e.g. MM/DD/YYYY instead of mm/dd/yyyy and mm instead of MM for minutes.
« More »

getDateFormatDataForQID

Get the date format details for a specific question.

« More »

getDateFormatForSID

Get the date format for a specified survey

« More »

canShowDatePicker

Check whether we can show the JS date picker with the current format

« More »

getLanguageCodefromLanguage

« More »

getLanguageNameFromCode

Returns a language name from the code

« More »

getLanguageRTL

« More »

getLanguageDetails

Returns the locale settings for a certain language code

« More »

convertLStoDateTimePickerLocale

This functions translates LimeSurvey specific locale code to a matching datetimepicker locale

« More »

getLanguageDataRestricted

« More »

userSort

« More »

userSortNative

« More »

UTF8Strrev

This function support the ability NOT to reverse numbers (for example when you output a phrase as a parameter for a SWF file that can't handle RTL languages itself, but obviously any numbers should remain the same as in the original phrase).

Note that it can be used just as well for UTF-8 usages if you want the numbers to remain intact
« More »

ldap_getCnx

« More »

ldap_bindCnx

« More »

ldap_readattr

« More »

ldap_search_withScope

« More »

ldap_doTokenSearch

« More »

prepareLDAPQuery

« More »

dbRandom

Return the database-specific random function to use in ORDER BY sql statements

« More »

dbSelectTablesLike

Return a sql statement for finding LIKE named tables Be aware that you have to escape underscore chars by using a backslash otherwise you might get table names returned you don't want

« More »

dbGetTablesLike

Gets the table names. Do not prefix.

« More »

getSurveyDefaultSettings

« More »

updateset

« More »

insertlabelset

« More »

modlabelsetanswers

« More »

fixorder

Function rewrites the sortorder for a label set

« More »

doreplacement

« More »

getListOfFiles

« More »

mkdir_p

« More »

themeoptions

« More »

recursive_in_array

« More »

is_template_editable

This function checks if a certain template may be by modified, copied, deleted according to the settings in config.php

« More »

templateExtractFilter

This is a PCLZip callback function that ensures only files are extracted that have a valid extension

« More »

XMLImportGroup

This function imports a LimeSurvey .lsg question group XML file

« More »

XMLImportQuestion

This function imports a LimeSurvey .lsq question XML file

« More »

XMLImportLabelsets

XMLImportLabelsets() Function resp[onsible to import a labelset from XML format.

« More »

importSurveyFile

« More »

XMLImportSurvey

This function imports a LimeSurvey .lss survey XML file

« More »

XMLImportTokens

« More »

XMLImportResponses

« More »

CSVImportResponses

This function imports a CSV file into the response table

« More »

XMLImportTimings

« More »

TSVImportSurvey

Import survey from an TSV file template that does not require assigning of GID or QID values.

If ID's are presented, they would be respected and used Multilanguage imports are supported Original function is changed to allow generating of XML instead of creating database objects directly Generated XML code is send to existing lss import function
« More »

createXMLfromData

« More »

emailTokens

Sends email to tokens - invitations, reminders, registers, and confirmations Seems used only in remote_control : maybe move it to ?

« More »

initKcfinder

« More »

sTranslateLangCode2CK

« More »

PrepareEditorScript

« More »

getEditor

« More »

getPopupEditor

« More »

getInlineEditor

« More »

permissionsAsArray

Checks Permission for the current user and returns an array with Permissions

« More »

outputDatabase

Outputs a full dump of the current LimeSurvey database

« More »

_outputDBDescription

« More »

_outputDBData

« More »

_outputTableDescription

Outputs the table structure in sql format

« More »

_outputTableData

Outputs the table data in sql format

« More »

_outputRecords

« More »

_countNumberOfEntries

« More »

_getMaxNbRecords

« More »

_getDbName

Get the database name

« More »

createChart

Generate a chart for a question

@param int $iQuestionID ID of the question
« More »

getQuestionMapData

Return data to populate a Google Map

« More »

buildSelects

Builds the list of addon SQL select statements that builds the query result set

@param array $allfields An array containing the names of the fields/answers we want to display in the statistics summary
« More »

square

Simple function to square a value

« More »

fixNumbering

fixes the numbering of questions This can happen if question 1 have subquestion code 1 and have question 11 in same survey and group (then same SGQA)

« More »

checkHasGroup

checks if any group exists

« More »

checkGroup

checks consistency of groups

« More »

checkQuestions

checks questions in a survey for consistency

« More »

mssql_drop_constraint

« More »

mssql_drop_primary_index

« More »

mssql_drop_coulmn_with_constraints

Deletes a column and removes all constraints from it

« More »

Constants

BASEPATH

« More »

K_TCPDF_EXTERNAL_CONFIG

« More »

PDF_PAGE_FORMAT

« More »

PDF_PAGE_ORIENTATION

« More »

PDF_CREATOR

« More »

PDF_AUTHOR

« More »

PDF_HEADER_TITLE

« More »

PDF_HEADER_STRING

« More »

PDF_HEADER_LOGO_WIDTH

« More »

PDF_UNIT

« More »

PDF_MARGIN_HEADER

« More »

PDF_MARGIN_TOP

« More »

PDF_MARGIN_BOTTOM

« More »

PDF_MARGIN_LEFT

« More »

PDF_MARGIN_RIGHT

« More »

PDF_FONT_NAME_MAIN

« More »

PDF_FONT_SIZE_MAIN

« More »

PDF_FONT_NAME_DATA

« More »

PDF_FONT_SIZE_DATA

« More »

PDF_FONT_MONOSPACED

« More »

PDF_IMAGE_SCALE_RATIO

« More »

HEAD_MAGNIFICATION

« More »

K_CELL_HEIGHT_RATIO

« More »

K_TITLE_MAGNIFICATION

« More »

K_SMALL_RATIO

« More »

K_THAI_TOPCHARS

« More »

K_TCPDF_CALLS_IN_HTML

« More »

$const

« More »

BASEPATH

« More »

BASEPATH

« More »

STDIN

« More »

YII_DEBUG

« More »

APPPATH

« More »

K_PATH_IMAGES

« More »

LDAP_OPT_DIAGNOSTIC_MESSAGE

« More »

LOGO_URL

« More »

LOGO_ICON_URL

« More »

PRESENTATION

« More »

FIREBUG

« More »

LEM_DEBUG_TIMING

« More »

LEM_DEBUG_VALIDATION_SUMMARY

« More »

LEM_DEBUG_VALIDATION_DETAIL

« More »

LEM_PRETTY_PRINT_ALL_SYNTAX

« More »

LEM_DEFAULT_PRECISION

« More »

CHECKED

« More »

SELECTED

« More »

SHOW_NO_ANSWER

« More »

QUESTION_START

« More »

PARANOID

« More »

SYSTEM

« More »

FLOAT

« More »

MAGIC_QUOTES

« More »

BASEPATH

« More »

FCPATH

« More »

SYSDIR

« More »

APPPATH

« More »

YII_DEBUG

« More »

Classes, interfaces and traits

EMWarningInterface

LimeSurvey Copyright (C) 2007-2013 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

iPlugin

« More »

iPluginStorage

« More »

iQuestion

« More »

IWriter

« More »

AdminController

« More »

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 »

Answer

Class Answer

« More »

AnswerL10n

Class SurveyLanguageSetting

« More »

Assessment

Class Assessment

« More »

AssetVersion

Class AssetVersion

« More »

AuditLog

Base class for plugins.

« More »

Authdb

Base class for plugins.

« More »

AuthLDAP

Base class for plugins.

« More »

AuthPluginBase

Base class for plugins.

« More »

AuthPluginBase

Base class for plugins.

« More »

Authwebserver

Base class for plugins.

« More »

BigData

Class containing helper functions for dealing with "big data".

« More »

BigFile

« More »

Box

This is the model class for table "{{boxes}}".

The followings are the available columns in table '{{boxes}}':
« More »

ClassFactory

« More »

ComfortUpdateChecker

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

« More »

CompileAssetsCommand

« More »

Condition

Class Condition

« More »

ConsoleApplication

« More »

ConsoleHttpSession

« More »

countFunctions

« More »

CPDBException

Specific exception for our purpose Used to spit out error messages if mapping attributes doesn't work.

« More »

CsvWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

CUCMenuClass

« More »

customToken

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

« More »

DataSetArray10ChoiceQuestion

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArray5ChoiceQuestion

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayFlexibleColumn

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayFlexibleRow

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayMultiFlexNumbers

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayMultiFlexText

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayMultiscale

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayOfIncSameDecQuestions

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetArrayYesUncertainNo

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetBoilerplate

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetDate

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetDummyQuestion

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetEquation

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetFileUpload

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetFivePointChoice

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetGenderDropdown

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetHugeFreeText

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetLanguage

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetListDropdown

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetListRadio

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetListRadioFlexible

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetListWithComment

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetLongFreeText

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetMultipleChoice

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetMultipleChoiceWithComments

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetMultipleNumerical

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetMultipleShortText

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetNumerical

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetRanking

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetShortFreeText

This is a base class to enable all question tpyes to extend the general settings.

« More »

DataSetYesNoRadio

This is a base class to enable all question tpyes to extend the general settings.

« More »

Date_Time_Converter

Date and Time Converter by Elac v0.9.3 elacdude@gmail.com www.elacdude.com

You are free to use this code free of charge, modify it, and distrubute it, just leave this comment block at the top of this file. Changes/Modifications 6/24/08 - Version 0.9.2 released. Minor additions - Added "S" support. (th, rd, st, nd. example: 5th) - Added a few more abbreviations for units of time in calculate() (s. sec. secs. min. mins. m. and more) - Added example.php (php examples and usage) and date_time_formats.html (list of supported date/time formats) to the package. 6/25/08 - Version 0.9.3 released. Bug fixes - Fixed month subtraction (wrap to previous year) bug - Fixed month and year "$only_return_the_value=true" bug. If you calculated by months or years, and set $only_return_the_value=true, it would overwrite the values instead of just returning them. - Fixed the "D" (Sun, Mon, Tue) bug. If you supplied "D" and "d" in the same mask, it would not return the correct output. - Changed the names of public variables "day", "month", and "year" added "s" at the end for consistency purposes 11/14/08 - Version 0.9.4 released. Bug fix - Got rid of the _one_dig_num function and used ltrim($num "0") instead
« More »

DbConnection

« More »

DbHttpSession

« More »

DbStorage

« More »

DefaultValue

Class DefaultValue

« More »

DefaultValueL10n

Class DefaultValue

« More »

demoAddEmFunction

Example plugin that add a simple function

« More »

DemomodeCommand

« More »

DocWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

DummyQuestionEditContainer

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

DummyStorage

« More »

Dynamic

This class implements the basis for dynamic models.

In this implementation class definitions are generated dynamically. This class and its descendants should be declared abstract!
« More »

EmCacheException

Exception used by EmCacheHelper.

« More »

EmCacheHelper

Discussion here: https://bugs.limesurvey.org/view.php?id=14859 PR: https://github.com/LimeSurvey/LimeSurvey/pull/1273

« More »

EMWarningAssignment

LimeSurvey Copyright (C) 2007-2013 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

EMWarningBase

LimeSurvey Copyright (C) 2007-2013 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

EMWarningHTMLBaker

Small helper class to compose HTML from $warnings.

« More »

EMWarningInvalidComparison

LimeSurvey Copyright (C) 2007-2013 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

EMWarningPlusOperator

LimeSurvey Copyright (C) 2007-2013 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

Example

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

« More »

exampleFunctions

« More »

ExcelWriter

Exports results in Microsoft Excel format. By default the Writer sends HTTP headers and the file contents via HTTP. For testing purposes a file name can be to the constructor which will cause the ExcelWriter to output to a file.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

ExportR

Base class for plugins.

« More »

ExportSTATAxml

Base class for plugins.

« More »

ExportSurveyResultsService

« More »

ExpressionError

Class ExpressionError

« More »

expressionFixedDbVar

expressionFixedDbVar : add some fixed DB var : SEED, STARTDATE …

« More »

ExpressionManager

Description of ExpressionManager (1) Does safe evaluation of PHP expressions. Only registered Functions, and known Variables are allowed.

(a) Functions include any math, string processing, conditional, formatting, etc. functions (2) This class replaces LimeSurvey's <= 1.91+ process of resolving strings that contain LimeReplacementFields (a) String is split by expressions (by curly braces, but safely supporting strings and escaped curly braces) (b) Expressions (things surrounded by curly braces) are evaluated - thereby doing LimeReplacementField substitution and/or more complex calculations (c) Non-expressions are left intact (d) The array of stringParts are re-joined to create the desired final string. (3) The core of ExpressionScript Engine is a Recursive Descent Parser (RDP), based off of one build via JavaCC by TMSWhite in 1999. (a) Functions that start with RDP_ should not be touched unless you really understand compiler design.
« More »

expressionQuestionForAll

expressionQuestionForAll : Add QCODE.question for question with subquestion for expression Manager.

This don't manage subquestion Scale Y or Scale X
« More »

expressionQuestionHelp

expressionQuestionHelp : add QCODE.help for expression Manager

« More »

Expressions

Survey Common Action

This controller contains common functions for survey related views.
« More »

ExpressionValidate

Survey Common Action

This controller contains common functions for survey related views.
« More »

ExtensionConfig

Thin wrapper class around extension config.xml file.

« More »

ExtensionInstaller

Base class for different extension installers.

All extension have this in common: - Upload ZIP file or grab files from web (e.g. git repo) - Read config.xml - If config.xml is valid and the extension compatible with current version of LimeSurvey, then -- Copy files to correct folder (depends on extension type) -- Insert database row (depends on extension type)
« More »

ExtensionUpdateInfo

Thin wrapper around extension update info.

Used by VersionFetcher to push around update info.
« More »

ExtensionUpdater

« More »

ExtensionUpdaterServiceLocator

« More »

FailedLoginAttempt

Class FailedLoginAttempt

« More »

Field

Class Field describes a column in responses data table

« More »

FileFetcher

Fetch files for the ExtensionInstaller to install.

Fetching files can happen in different ways: - Upload ZIP - wget ZIP from a URL - Enter git repo - Etc. Each method is its own subclass of this class. Each extension type can support a number of different file fetch methods.
« More »

FileFetcherUploadZip

Extension file fetcher for upload ZIP file.

Must work for all extension types: plugins, theme, question theme, etc.
« More »

FileManagerError

« More »

FlushAssetsCommand

« More »

FormattingOptions

« More »

GitVersionFetcher

« More »

GlobalSettings

GlobalSettings Controller

This controller contains common functions for survey related views.
« More »

HelloWorld

Survey Common Action

This controller contains common functions for survey related views.
« More »

HelloWorldController

« More »

HelloWorldModule

HelloWorldModule class file.

« More »

HomepageSettingsController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController
« More »

htmleditor_pop

Survey Common Action

This controller contains common functions for survey related views.
« More »

HtmlWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

httpRequestIt

« More »

index

« More »

Index

Survey Common Action

This controller contains common functions for survey related views.
« More »

InstallCommand

« More »

InstallerConfigForm

Class InstallerConfigForm

« More »

InstallFromConfigCommand

« 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 »

jsonRPCClient

The object of this class are generic jsonRPC 1.0 clients http://json-rpc.org/wiki/specification

« More »

jsonRPCServer

This class build a json-RPC Server 1.0 http://json-rpc.org/wiki/specification

« More »

JsonWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

Label

Class Label

« More »

LabelL10n

Class Label

« More »

LabelSet

Class LabelSet

« More »

LayoutHelper

« More »

LimeExpressionManager

« More »

LimeMailer

WIP A SubClass of phpMailer adapted for LimeSurvey

« More »

limereplacementfields

Survey Common Action

This controller contains common functions for survey related views.
« More »

LimesurveyApi

Class exposing a Limesurvey API to plugins.

This class is instantiated by the plugin manager, plugins can obtain it by calling getAPI() on the plugin manager.
« More »

LoadQuestionTypes

« More »

LS_Twig_Extension

This extension is needed to add complex functions to twig, needing specific process (like accessing config datas).

Most of the calls to internal functions don't need to be set here, but can be directly added to the internal config file. For example, the calls to encode, gT and eT don't need any extra parameters or process, so they are added as filters in the congif/internal.php: 'filters' => array( 'jencode' => 'CJSON::encode', 't' => 'eT', 'gT' => 'gT', ), So you only add functions here when they need a specific process while called via Twig. To add an advanced function to twig: 1. Add it here as a static public function eg: static public function foo($bar) { return procces($bar); } 2. Add it in config/internal.php as a function, and as an allowed function in the sandbox eg: twigRenderer' => array( ... 'functions' => array( ... 'foo' => 'LS_Twig_Extension::foo', ...), ... 'sandboxConfig' => array( ... 'functions' => array('include', ..., 'foo') ), Now you access this function in any twig file via: {{ foo($bar) }}, it will show the result of process($bar). If LS_Twig_Extension::foo() returns some HTML, by default the HTML will be escaped and shows as text. To get the pure HTML, just do: {{ foo($bar) | raw }}
« More »

LSActiveRecord

« More »

LSAuthResult

« More »

LSBaseController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController
« More »

LSBootstrap

For updating from 2.06 to 2.5.

2.06 logout action still looks for this file at the end of the update process, causing an internal server error.
« More »

LSCActiveDataProvider

« More »

LSCaptcha

CCaptcha class file.

« More »

LSCGettextMessageSource

Extension of CGettextMessageSource to allow plugins to have their own localization files

« More »

LSDbCriteria

« More »

LsDefaultDataSets

A collection of default data sets, like surveymenus, surveymenuentries, and tutorials

« More »

LSETwigViewRenderer

Twig view renderer, LimeSurvey overload

Allow to run sandbox Configuration Provide different render methods for different context: - render() : for general use - renderQuestion() : to render a question. It checks if a question template view should be use, else core's view (used from qanda helper). - convertTwigToHtml() : to render a string without any file (used from replacement helper) The only tricky point here is the path problematic (where should be searched the views to render?)
« More »

LSFileHelper

« More »

LSHttpRequest

Description of HttpRequest

Used in LSYii_Application.php <pre> 'request'=>array( 'class'=>'HttpRequest', 'noCsrfValidationRoutes'=>array( '^services/wsdl.*$' ), 'enableCsrfValidation'=>true, 'enableCookieValidation'=>true, ), </pre> Every route will be interpreted as a regex pattern.
« More »

LSJsonException

« More »

LSjsonRPCServer

This class build a json-RPC Server 1.0 http://json-rpc.org/wiki/specification

« More »

LSSodium

« More »

LSUserIdentity

For 2.06 most of the functionality in this class will be moved to the LSWebUser class.

To not delay release of 2.05 this class was kept the way it is now. @@TODO Move to LSWebUser and change documentation / workflow for authentication plugins
« More »

LSWebUser

« More »

LSYii_Application

Implements global config

« More »

LSYii_AssetManager

LimeSurvey Copyright (C) 2007-2018 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v3 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

LSYii_CaseValidator

« More »

LSYii_ClientScript

« More »

LSYii_CompareInsensitiveValidator

« More »

LSYii_Controller

« More »

LSYii_EmailIDNAValidator

« More »

LSYii_HtmlPurifier

« More »

LSYii_ImageValidator

« More »

LSYii_Locale

« More »

LSYii_NoUpdateValidator

« More »

LSYii_SecurityManager

LimeSurvey Copyright (C) 2007-2018 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v3 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

LSYii_Validators

« More »

LSZend_XmlRpc_Response_Http

« More »

mailSenderToFrom

mailSenderToFrom : Set the smtp user to sender and from Needed for some smtp server, see mantis issue #10529 <https://bugs.limesurvey.org/view.php?id=10529>

« More »

MapTutorialUsers

This is the model class for table "{{map_tutorial_users}}".

The followings are the available columns in table '{{map_tutorial_users}}':
« More »

mdlAuditlog

This is the model class for table "{{plugins}}".

« More »

MersenneTwister

Custom random algorithm to get consistent behaviour between PHP versions.

Copied from: http://www.dr-chuck.com/csev-blog/2015/09/a-mersenne_twister-implementation-in-php/
« More »

MinimalReporter

Minimal only displays on error

« More »

MssqlSchema

« More »

MysqlSchema

« More »

noMailToExample

noMailToExample : just don't send email to example.org or example.com http://example.org/ is a great tool for demonstration and test, but sending an email to user@example.org: you receive 4 hour after a notification This plugin just disable sending email to this website, then you can use it when testing syste.

« More »

Notification

This is the model class for table "{{notifications}}".

The followings are the available columns in table '{{notifications}}':
« More »

NotificationController

Mostly for Ajax actions

This controller contains common functions for survey related views.
« More »

oldUrlCompat

Plugin to redirect old url system (index.php?sid=surveyid) to the new url

« More »

Participant

This is the model class for table "{{participants}}".

The followings are the available columns in table '{{participants}}':
« More »

ParticipantAttribute

Class ParticipantAttribute

« More »

ParticipantAttributeName

This is the model class for table "{{{{participant_attribute_names}}}}".

The followings are the available columns in table '{{{{participant_attribute_names}}}}':
« More »

ParticipantAttributeNameLang

This is the model class for table "{{{{participant_attribute_names_lang}}}}".

The followings are the available columns in table '{{{{participant_attribute_names_lang}}}}':
« More »

ParticipantShare

This is the model class for table "{{participant_shares}}".

The followings are the available columns in table '{{participant_shares}}':
« More »

PasswordRequirement

Base class for plugins.

« More »

pdfHelper

General helper class for generating pdf.

« More »

PdfWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

Permission

Class Permission

« More »

Permissiontemplates

This is the model class for table "{{permissiontemplates}}".

The followings are the available columns in table '{{permissiontemplates}}':
« More »

PermissiontemplatesController

Survey Common Action

This controller contains common functions for survey related views.
« More »

PgsqlSchema

« More »

Plugin

This is the model class for table "{{plugins}}".

« More »

PluginBase

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

« More »

PluginBase

Base class for plugins.

« More »

PluginCommand

« More »

PluginDynamic

Dynamic model used by plugins to access their table(s).

« More »

PluginEvent

« More »

PluginEvent

« More »

PluginEventBehavior

« More »

PluginEventContent

« More »

PluginHelper

Survey Common Action

This controller contains common functions for survey related views.
« More »

PluginInstaller

Base class for different extension installers.

All extension have this in common: - Upload ZIP file or grab files from web (e.g. git repo) - Read config.xml - If config.xml is valid and the extension compatible with current version of LimeSurvey, then -- Copy files to correct folder (depends on extension type) -- Insert database row (depends on extension type)
« More »

PluginManager

Class PluginManagerD Dummy class for 2.05 plugins.

« More »

PluginManager

Factory for limesurvey plugin objects.

« More »

PluginManagerController

Survey Common Action

This controller contains common functions for survey related views.
« More »

PluginManagerShutdownFunction

Used as shutdown function during plugin loading, to turn off plugins that causes troubles.

« More »

PluginsController

« More »

PluginSetting

Class PluginSetting

« More »

PluginUpdater

« More »

ProgressBar

« More »

Question

Class Question

« More »

QuestionAttribute

Class QuestionAttribute

« More »

QuestionBase

« More »

QuestionBaseDataSet

This is a base class to enable all question tpyes to extend the general settings.

« More »

QuestionBaseRenderer

abstract Class QuestionTypeRoot The aFieldArray Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

questionCodeHelper

« More »

QuestionCreate

Class Question

« More »

QuestionEditorController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController
« More »

QuestionGroup

Class QuestionGroup

« More »

QuestionGroupL10n

Class SurveyLanguageSetting

« More »

questionHelper

General helper class for question + question setting system

« More »

questionIndexHelper

« More »

QuestionL10n

Class QuestionL10n

« More »

QuestionPluginAbstract

Base class for plugins.

« More »

QuestionPluginBase

Base class for plugins.

« More »

QuestionTemplate

« More »

QuestionTheme

This is the model class for table "{{question_themes}}".

The followings are the available columns in table '{{question_themes}}':
« More »

questionthemes

Survey Common Action

This controller contains common functions for survey related views.
« More »

QuestionType

Class QuestionType

« More »

quexmlpdf

A TCPDF based class to produce queXF compatible questionnaire PDF files and banding description XML from queXML

« More »

Quota

Class Quota

« More »

QuotaLanguageSetting

« More »

QuotaMember

Class QuotaMember

« More »

RDataWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

remotecontrol

Survey Common Action

This controller contains common functions for survey related views.
« More »

remotecontrol_handle

« More »

RenderArray10ChoiceQuestion

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArray5ChoiceQuestion

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArrayFlexibleRow

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArrayMultiFlexNumbers

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArrayMultiFlexText

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArrayMultiscale

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArrayOfIncSameDecQuestions

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderArrayYesUncertainNo

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderBoilerplate

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderDate

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderEquation

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RendererArrayFlexibleColumn

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderFileUpload

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderFivePointChoice

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderGenderDropdown

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderHugeFreeText

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderLanguageSelector

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderListComment

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderListDropdown

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderListRadio

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderListRadioFlexible

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderLongFreeText

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderNumerical

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderRanking

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderShortFreeText

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

RenderYesNoRadio

RenderClass for Boilerplate Question * The ia Array contains the following 0 => string qid 1 => string sgqa 2 => string questioncode 3 => string question 4 => string type 5 => string gid 6 => string mandatory, 7 => string conditionsexist, 8 => string usedinconditions 0 => string used in group.php for question count 10 => string new group id for question in randomization group (GroupbyGroup Mode)

« More »

ResetPasswordCommand

« More »

Response

Relations

In this implementation class definitions are generated dynamically. This class and its descendants should be declared abstract!
« More »

RESTVersionFetcher

« More »

RSyntaxWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

SavedControl

Class SavedControl

« More »

Session

Class Session Extend CActiveRecord and not LSActiveRecord to disable plugin event (session can be used a lot)

« More »

SettingGlobal

Class SettingGlobal

« More »

SettingsStorage

« More »

SettingsUser

This is the model class for table "{{settings_user}}".

The followings are the available columns in table '{{settings_user}}':
« More »

ShowPasses

Display passes

« More »

ShowResponse

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

« More »

SimpleTester

« More »

SmallReporter

Displays a tiny div in upper right corner when ok

« More »

STATAxmlWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

statFunctions

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

« More »

StaticModel

Class StaticModel A general class to use in case of non-db models

« More »

statistics_helper

« More »

Statistics_userController

« More »

Survey

Class Survey

« More »

SurveyActivator

Service class to activate survey.

« More »

SurveyController

« More »

SurveyDao

« More »

SurveyDynamic

« More »

SurveyLanguageSetting

Class SurveyLanguageSetting

« More »

Surveymenu

This is the model class for table "{{surveymenu}}".

The followings are the available columns in table '{{surveymenu}}':
« More »

SurveymenuController

Survey Common Action

This controller contains common functions for survey related views.
« More »

SurveymenuEntries

This is the model class for table "{{surveymenu_entries}}".

The followings are the available columns in table '{{surveymenu_entries}}':
« More »

SurveymenuEntryController

Survey Common Action

This controller contains common functions for survey related views.
« More »

SurveymenuEntryData

« More »

SurveyObj

« More »

SurveyRuntimeHelper

LimeSurvey Copyright (C) 2007-2011 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.
« More »

SurveysController

This class will handle survey creation and manipulation.

« More »

SurveysGroups

This is the model class for table "{{surveys_groups}}".

The followings are the available columns in table '{{surveys_groups}}':
« More »

SurveysGroupsController

Survey Common Action

This controller contains common functions for survey related views.
« More »

SurveysGroupsettings

This is the model class for table "{{surveys_groupsettings}}".

The followings are the available columns in table '{{surveys_groupsettings}}':
« More »

SurveyTimingDynamic

Class SurveyTimingDynamic

« More »

SurveyURLParameter

Class SurveyURLParameter

« More »

Template

Class Template

« More »

TemplateConfig

Class TemplateConfig Common methods for TemplateConfiguration and TemplateManifest

« More »

TemplateConfiguration

Class TemplateConfig Common methods for TemplateConfiguration and TemplateManifest

« More »

themeoptions

Survey Common Action

This controller contains common functions for survey related views.
« More »

ThemeUpdater

« More »

Timing

Dynamic response timing model.

« More »

Token

Class Token

In this implementation class definitions are generated dynamically. This class and its descendants should be declared abstract!
« More »

TokenDynamic

Class TokenDynamic

« More »

Translator

« More »

Tutorial

This is the model class for table "{{tutorials}}".

The followings are the available columns in table '{{tutorials}}':
« More »

TutorialEntry

This is the model class for table "{{tutorial_entry}}".

The followings are the available columns in table '{{tutorial_entry}}':
« More »

TutorialEntryController

Survey Common Action

This controller contains common functions for survey related views.
« More »

TutorialEntryRelation

This is the model class for table "{{tutorial_entry_groups}}".

The followings are the available columns in table '{{tutorial_entry_groups}}':
« More »

TutorialsController

This tutorial controller is the first step to have user generated tutorials.

Current project stance is only to serve pregenerated tutorials bay LimeSurvey Company.
« More »

TwigCommand

This class will generate all the twig cache file from command line, even if LimeSurvey is not installed.

The current use case is to generate the translation files using Glot Press. In the future, it could be use to boost performance of first survey rendering (can be useful after a tmp cleanup, an update, etc). To execute this command : php application/commands/console.php Twig generateTwigTmpFiles It will execute all the functions
« More »

UnActivatable

Example plugin that can not be activated.

« More »

UniqueNotification

Subclass of Notification, but with unique constraint.

If a new message is created exactly like another one, it will be marked as unread.
« More »

UpdateCheck

Plugin to check for extension updates after a super admin logs in.

Uses the ExtensionInstaller library.
« More »

UpdateDBCommand

« More »

UploaderController

« More »

User

Class User

« More »

UserGroup

Class UserGroup

« More »

UserGroupController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController
« More »

UserInGroup

Class UserInGroup

« More »

UserInPermissionrole

This is the model class for table "{{user_in_permissionrole}}".

The followings are the available columns in table '{{user_in_permissionrole}}':
« More »

UserManagementController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController
« More »

UserParser

Importing class to get users from a CSV file

« More »

userstatistics_helper

« More »

VersionFetcher

« More »

VersionFetcherServiceLocator

Central Yii component to add and retrieve version fetcher strategies.

« More »

viewHelper

General helper class for generating views.

« More »

WipeCommand

« More »

Writer

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below: TODO Write more docs here
« More »

WrongTemplateVersionException

Thrown when template/theme can't be loaded and there's a mismatch between template version in db and in config.xml

« More »