Functions
twig_random¶
Returns a random value depending on the supplied parameter type:
- a random item from a \Traversable or array
- a random character from a string
- a random integer between 0 and the integer parameter.
« More »
twig_date_modify_filter¶
Returns a new date object modified.
{{ post.published_at|date_modify("-1day")|date("m/d/Y") }}
« More »
twig_date_converter¶
Converts an input to a \DateTime instance.
{% if date(user.created_at) < date('+2days') %}
{# do something #}
{% endif %}
« More »
twig_replace_filter¶
Replaces strings within a string.
« More »
twig_urlencode_filter¶
URL encodes (RFC 3986) a string as a path segment or an array as a query string.
« More »
twig_jsonencode_filter¶
JSON encodes a variable.
« More »
twig_array_merge¶
Merges an array with another one.
{% set items = { 'apple': 'fruit', 'orange': 'fruit' } %}
{% set items = items|merge({ 'peugeot': 'car' }) %}
{# items now contains { 'apple': 'fruit', 'orange': 'fruit', 'peugeot': 'car' } #}
« More »
twig_first¶
Returns the first element of the item.
« More »
twig_last¶
Returns the last element of the item.
« More »
twig_join_filter¶
Joins the values to a string.
The separators between elements are empty strings per default, you can define them with the optional parameters.
{{ [1, 2, 3]|join(', ', ' and ') }}
{# returns 1, 2 and 3 #}
{{ [1, 2, 3]|join('|') }}
{# returns 1|2|3 #}
{{ [1, 2, 3]|join }}
{# returns 123 #}
« More »
twig_split_filter¶
Splits the string into an array.
{{ "one,two,three"|split(',') }}
{# returns [one, two, three] #}
{{ "one,two,three,four,five"|split(',', 3) }}
{# returns [one, two, "three,four,five"] #}
{{ "123"|split('') }}
{# returns [1, 2, 3] #}
{{ "aabbcc"|split('', 2) }}
{# returns [aa, bb, cc] #}
« More »
twig_get_array_keys_filter¶
Returns the keys for the given array.
It is useful when you want to iterate over the keys of an array:
{% for key in array|keys %}
{# ... #}
{% endfor %}
« More »
twig_reverse_filter¶
Reverses a variable.
« More »
twig_trim_filter¶
Returns a trimmed string.
« More »
twig_spaceless¶
Removes whitespaces between HTML tags.
« More »
twig_escape_filter¶
Escapes a string.
« More »
_twig_escape_html_attr_callback¶
This function is adapted from code coming from Zend Framework.
« More »
twig_length_filter¶
Returns the length of a variable.
« More »
twig_upper_filter¶
Converts a string to uppercase.
« More »
twig_lower_filter¶
Converts a string to lowercase.
« More »
twig_title_string_filter¶
Returns a titlecased string.
« More »
twig_capitalize_string_filter¶
Returns a capitalized string.
« More »
twig_test_empty¶
Checks if a variable is empty.
{# evaluates to true if the foo variable is null, false, or the empty string #}
{% if foo is empty %}
{# ... #}
{% endif %}
« More »
twig_test_iterable¶
Checks if a variable is traversable.
{# evaluates to true if the foo variable is an array or a traversable object #}
{% if foo is iterable %}
{# ... #}
{% endif %}
« More »
twig_source¶
Returns a template content without rendering it.
« More »
twig_constant¶
Provides the ability to get constants from instances as well as class/global constants.
« More »
twig_constant_is_defined¶
Checks if a constant exists.
« More »
twig_template_from_string¶
Loads a template from a string.
{{ include(template_from_string("Hello {{ name }}")) }}
« More »
twig_raw_filter¶
Marks a variable as being safe.
« More »
ETwigViewRendererVoidFunction¶
Function for adding global 'void' function in Twig
Needed to make possible to call functions and methods which return non-string result (object, resources and etc.)
For example: {{ void(App.clientScript.registerScriptFile(.
..)) }}
« More »
composerRequireddb1a145e450f862353420acc5153e40¶
« More »
includeFile¶
Scope isolated include.
Prevents access to $this/self from included files.
« More »
bcadd¶
Add two arbitrary precision numbers
« More »
bccomp¶
Compare two arbitrary precision numbers
« More »
bcdiv¶
Divide two arbitrary precision numbers
« More »
bcmod¶
Get modulus of an arbitrary precision number
« More »
bcmul¶
Multiply two arbitrary precision numbers
« More »
bcpow¶
Raise an arbitrary precision number to another
« More »
bcpowmod¶
Raise an arbitrary precision number to another, reduced by a specified modulus
« More »
bcscale¶
Set or get default scale parameter for all bc math functions
« More »
bcsqrt¶
Get the square root of an arbitrary precision number
« More »
bcsub¶
Subtract one arbitrary precision number from another
« More »
sodium_crypto_aead_aes256gcm_decrypt¶
« More »
sodium_crypto_aead_aes256gcm_encrypt¶
« More »
sodium_crypto_aead_aes256gcm_is_available¶
« More »
sodium_crypto_aead_chacha20poly1305_decrypt¶
« More »
sodium_crypto_aead_chacha20poly1305_encrypt¶
« More »
sodium_crypto_aead_chacha20poly1305_keygen¶
« More »
sodium_crypto_aead_chacha20poly1305_ietf_decrypt¶
« More »
sodium_crypto_aead_chacha20poly1305_ietf_encrypt¶
« More »
sodium_crypto_aead_chacha20poly1305_ietf_keygen¶
« More »
sodium_crypto_aead_xchacha20poly1305_ietf_decrypt¶
« More »
sodium_crypto_aead_xchacha20poly1305_ietf_encrypt¶
« More »
sodium_crypto_aead_xchacha20poly1305_ietf_keygen¶
« More »
sodium_crypto_box_keypair_from_secretkey_and_publickey¶
« More »
sodium_crypto_box_publickey_from_secretkey¶
« More »
sodium_crypto_kx_client_session_keys¶
« More »
sodium_crypto_kx_server_session_keys¶
« More »
sodium_crypto_pwhash_str_needs_rehash¶
« More »
sodium_crypto_pwhash_scryptsalsa208sha256¶
« More »
sodium_crypto_pwhash_scryptsalsa208sha256_str¶
« More »
sodium_crypto_pwhash_scryptsalsa208sha256_str_verify¶
« More »
sodium_crypto_secretstream_xchacha20poly1305_init_push¶
« More »
sodium_crypto_secretstream_xchacha20poly1305_push¶
« More »
sodium_crypto_secretstream_xchacha20poly1305_init_pull¶
« More »
sodium_crypto_secretstream_xchacha20poly1305_pull¶
« More »
sodium_crypto_secretstream_xchacha20poly1305_rekey¶
« More »
sodium_crypto_secretstream_xchacha20poly1305_keygen¶
« More »
sodium_crypto_sign_keypair_from_secretkey_and_publickey¶
« More »
sodium_crypto_sign_publickey_from_secretkey¶
« More »
sodium_crypto_sign_ed25519_pk_to_curve25519¶
« More »
sodium_crypto_sign_ed25519_sk_to_curve25519¶
« More »
crypto_aead_chacha20poly1305_decrypt¶
« More »
crypto_aead_chacha20poly1305_encrypt¶
« More »
crypto_aead_chacha20poly1305_ietf_decrypt¶
« More »
crypto_aead_chacha20poly1305_ietf_encrypt¶
« More »
crypto_box_keypair_from_secretkey_and_publickey¶
« More »
crypto_box_publickey_from_secretkey¶
« More »
crypto_pwhash_scryptsalsa208sha256_str¶
« More »
crypto_pwhash_scryptsalsa208sha256_str_verify¶
« More »
crypto_sign_publickey_from_secretkey¶
« More »
crypto_sign_ed25519_pk_to_curve25519¶
« More »
crypto_sign_ed25519_sk_to_curve25519¶
« More »
sodium_crypto_stream_xchacha20_keygen¶
« More »
sodium_crypto_stream_xchacha20_xor_ic¶
« More »
sodium_crypto_core_ristretto255_add¶
« More »
sodium_crypto_core_ristretto255_from_hash¶
« More »
sodium_crypto_core_ristretto255_is_valid_point¶
« More »
sodium_crypto_core_ristretto255_random¶
« More »
sodium_crypto_core_ristretto255_scalar_add¶
« More »
sodium_crypto_core_ristretto255_scalar_complement¶
« More »
sodium_crypto_core_ristretto255_scalar_invert¶
« More »
sodium_crypto_core_ristretto255_scalar_mul¶
« More »
sodium_crypto_core_ristretto255_scalar_negate¶
« More »
sodium_crypto_core_ristretto255_scalar_random¶
« More »
sodium_crypto_core_ristretto255_scalar_reduce¶
« More »
sodium_crypto_core_ristretto255_scalar_sub¶
« More »
sodium_crypto_core_ristretto255_sub¶
« More »
sodium_crypto_scalarmult_ristretto255¶
« More »
sodium_crypto_scalarmult_ristretto255_base¶
« More »
sodiumCompatAutoloader¶
Sodium_Compat autoloader.
« 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 »
includeFile¶
Scope isolated include.
Prevents access to $this/self from included files.
« More »
dummy_twig_translation_helper¶
Dummy helper intended to facilitate "twig only" strings to be picked by Translations Bot.
Since twig files are not scanned by the bot, translatable strings that only appear in twig
files can be placed here in order to be scanned.
« 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 »
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
Allow usage of numeric answercode as int
Can not use is_int due to SQL DECIMAL system.
« 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 »
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 »
Returns $sToTranslate translated to $sLanguage (defaults to lang set in session) escaped with $sEscapeMode
« 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 »
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 »
longestString¶
longestString() returns the length of the longest string past to it.
« More »
getGroupListLang¶
put your comment there.
..
« More »
getUserList¶
Returns a user list. If 'usercontrolSameGroupPolicy' is set and set to true, only users which are in the same
group as me (--> logged in user) will be returned. Superadmin always gets the full list of users.
« 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
Used by :
- remotecontrol_handle->export_statistics with merging group and question attributes (all in same array)
- checkQuestions() in activate_helper function with ?
« More »
returnGlobal¶
This function returns POST/REQUEST vars, for some vars like SID and others they are also sanitized
TODO: extends Yii:getParam
« 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 StatisticsUserController
« 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 »
getQuestionAttributeValue¶
Returns the questionAttribtue value set or '' if not set
« 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 »
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 »
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 »
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 »
translateLinks¶
Translate links which are in any answer/question/survey/email template/label set to their new counterpart
« 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 »
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 »
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 »
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 »
dbQuoteAll¶
Escapes a text value for db
« More »
checkMoveQuestionConstraintsForConditions¶
checkMoveQuestionConstraintsForConditions()
« More »
shouldFilterUserGroupList¶
Determines whether the list of user groups will need filtering before viewing.
« More »
getUserGroupList¶
Get a list of all user groups
All user group or filtered according to usercontrolSameGroupPolicy
« 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 »
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 »
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 »
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 »
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 »
recursive_preg_replace¶
Applies preg_replace recursively until $recursion_limit is exceeded or no more replacements are done.
« More »
standardDeviation¶
Returns the standard deviation of supplied $numbers
« 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 »
updateEncryptedValues450¶
Update previous encrpted values to new encryption
« More »
decryptCPDBTable450¶
Update encryption for CPDB participants
« More »
decryptParticipantTables450¶
Update encryption for survey participants
« More »
decryptResponseTables450¶
Update encryption for survey responses
« More »
decryptArchivedTables450¶
Update Encryption for archived tables
« More »
createFieldMap450¶
Returns the fieldmap for responses
« More »
upgradeArchivedTableSettings446¶
Import previously archived tables to ArchivedTableSettings
« More »
transferPasswordFieldToText¶
« 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 »
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 »
modifyPrimaryKey¶
Modifies a primary key in one command - this is only tested on MySQL
« More »
dropColumn¶
Drops a column, automatically removes blocking default value on MSSQL
« More »
alterLanguageCode¶
Renames a language code in the whole LimeSurvey database
« More »
fixPostgresSequence¶
This function fixes Postgres sequences for one/all tables in a database
This is necessary if a table is renamed. If tablename is given then only that table is fixed
« More »
regenerateLabelCodes400¶
Regenerate codes for problematic label sets
Helper function (TODO: Put in separate class)
Fails silently
« More »
removeMysqlZeroDate¶
Remove all zero-dates in $tableName by checking datetime columns from $tableSchema
Zero-dates are replaced with null where possible; otherwise 1970-01-01
« More »
getRelevantUpdates¶
Returns a sorted array of update objects with version higher than $iOldDBVersion
« 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 »
currentRelevecanceClass¶
Return class of a specific row (hidden by relevance)
« More »
do_multipleshorttext¶
« More »
do_shortfreetext¶
« 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_arraycolumns¶
Renders array by column question type.
« 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 »
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_rank¶
Set defaultValue attribute of provided element from response table
« More »
quexml_set_default_value¶
Set defaultValue attribute of provided element from response table
« More »
quexml_create_question¶
Create a queXML question element
« More »
quexml_export¶
Export quexml survey.
« 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 »
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 »
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 »
check_ip_address¶
Checks the validity of IP address $ip
« More »
sanitize_alphanumeric¶
Remove all chars from $value that are not alphanumeric or dash or underscore
« 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 »
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 »
canShowDatePicker¶
Check whether we can show the JS date picker with the current format
« More »
getLanguageCodefromLanguage¶
Returns a language code from the name
« More »
getLanguageNameFromCode¶
Returns a language name from the code
« 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 »
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 »
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 »
fixorder¶
Function rewrites the sortorder for a label set
« 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 »
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 »
XMLImportSurvey¶
This function imports a LimeSurvey .lss survey XML file
« More »
checkWrongQuestionAttributes¶
This function checks if there are set wrong values ('Y' or 'N') into table
question_attributes. These are set to 1 and 0 if needed.
« More »
CSVImportResponses¶
This function imports a CSV file into the response table
CSV file is deleted during process
« 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 »
importDefaultValues¶
Import default values inside $xml, record process in $results
Also imports defaultvalue_l10ns.
« More »
fileCsvToUtf8¶
Read a csv file and return a tmp resources to same file in utf8
CSV file is deleted during process
« More »
emailTokens¶
Sends email to tokens - invitations, reminders, registers, and confirmations
Seems used only in remote_control : maybe move it to ?
« 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 »
_outputTableDescription¶
Outputs the table structure in sql format
« More »
_outputTableData¶
Outputs the table data in sql format
« 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_coulmn_with_constraints¶
Deletes a column and removes all constraints from it
« More »
Classes, interfaces and traits
Common¶
Generic EC Key Parsing Helper functions
« More »
Fingerprint¶
Fingerprint Trait for Private Keys
« More »
PasswordProtected¶
Password Protected Trait for Private Keys
« More »
CacheInterface¶
Interface implemented by cache classes.
It is highly recommended to always store templates on the filesystem to
benefit from the PHP opcode cache. This interface is mostly useful if you
need to implement a custom strategy for storing templates on the filesystem.
« More »
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 »
ExistsLoaderInterface¶
Adds an exists() method for loaders.
« More »
ExtensionInterface¶
Interface implemented by extension classes.
« More »
GlobalsInterface¶
Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.
Explicitly implement this interface if you really need to implement the
deprecated getGlobals() method in your extensions.
« More »
InitRuntimeInterface¶
Enables usage of the deprecated Twig\Extension\AbstractExtension::initRuntime() method.
Explicitly implement this interface if you really need to implement the
deprecated initRuntime() method in your extensions.
« More »
LoaderInterface¶
Interface all loaders must implement.
« More »
NodeCaptureInterface¶
Represents a node that captures any nested displayable nodes.
« More »
NodeOutputInterface¶
Represents a displayable node in the AST.
« More »
NodeVisitorInterface¶
Interface for node visitor classes.
« More »
OAuthTokenProvider¶
OAuthTokenProvider - OAuth2 token provider interface.
Provides base64 encoded OAuth2 auth strings for SMTP authentication.
« More »
RuntimeLoaderInterface¶
Creates runtime implementations for Twig elements (filters/functions/tests).
« More »
SecurityPolicyInterface¶
Interface that all security policy classes must implements.
« More »
SourceContextLoaderInterface¶
Adds a getSourceContext() method for loaders.
« More »
TokenParserInterface¶
Interface implemented by token parsers.
« More »
Twig_CompilerInterface¶
Interface implemented by compiler classes.
« More »
Twig_FilterCallableInterface¶
Represents a callable template filter.
Use \Twig\TwigFilter instead.
« More »
Twig_FilterInterface¶
Represents a template filter.
Use \Twig\TwigFilter instead.
« More »
Twig_FunctionCallableInterface¶
Represents a callable template function.
Use \Twig\TwigFunction instead.
« More »
Twig_FunctionInterface¶
Represents a template function.
Use \Twig\TwigFunction instead.
« More »
Twig_LexerInterface¶
Interface implemented by lexer classes.
« More »
Twig_NodeInterface¶
Represents a node in the AST.
« More »
Twig_ParserInterface¶
Interface implemented by parser classes.
« More »
Twig_TestCallableInterface¶
Represents a callable template test.
« More »
Twig_TestInterface¶
Represents a template test.
« More »
Twig_TokenParserBrokerInterface¶
Interface implemented by token parser brokers.
Token parser brokers allows to implement custom logic in the process of resolving a token parser for a given tag name.
« More »
AbstractBinary¶
Abstract class for all nodes that represents an expression.
« More »
AbstractExpression¶
Abstract class for all nodes that represents an expression.
« More »
AbstractExtension¶
« More »
AbstractNodeVisitor¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
AbstractTokenParser¶
Base class for all token parsers.
« More »
AbstractUnary¶
Abstract class for all nodes that represents an expression.
« More »
AccessDescription¶
AccessDescription
« More »
AddBinary¶
Abstract class for all nodes that represents an expression.
« More »
AdministrationDomainName¶
AdministrationDomainName
« More »
AES¶
Pure-PHP implementation of AES.
« More »
Agent¶
Pure-PHP ssh-agent client identity factory
requestIdentities() method pumps out \phpseclib3\System\SSH\Agent\Identity objects
« 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 »
AlgorithmIdentifier¶
AlgorithmIdentifier
« More »
AndBinary¶
Abstract class for all nodes that represents an expression.
« More »
AnswerL10n¶
Class SurveyLanguageSetting
« More »
ApplyTokenParser¶
Applies filters on a section of a template.
{% apply upper %}
This text becomes uppercase
{% endapply %}
« More »
ArchivedTableSettings¶
This is the model class for table "{{archived_table_settings}}".
The following are the available columns in table '{{archived_table_settings}}':
« More »
ArrayExpression¶
Abstract class for all nodes that represents an expression.
« More »
ArrayLoader¶
Loads a template from an array.
When using this loader with a cache mechanism, you should know that a new cache
key is generated each time a template content "changes" (the cache key being the
source code of the template). If you don't want to see your cache grows out of
control, you need to take care of clearing the old cache file by yourself.
This loader should only be used for unit testing.
« More »
ArrowFunctionExpression¶
Represents an arrow function.
« More »
AssessmentController¶
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
« More »
AssignNameExpression¶
Abstract class for all nodes that represents an expression.
« More »
AsymmetricKey¶
Base Class for all asymmetric cipher classes
« More »
AttributeTypeAndValue¶
AttributeTypeAndValue
« More »
AuthorityInfoAccessSyntax¶
AuthorityInfoAccessSyntax
« More »
AuthorityKeyIdentifier¶
AuthorityKeyIdentifier
« More »
AuthPluginBase¶
Base class for plugins.
« More »
AuthPluginBase¶
Base class for plugins.
« More »
Authwebserver¶
Base class for plugins.
« More »
AutoEscapeNode¶
Represents an autoescape node.
The value is the escaping strategy (can be html, js, ...)
The true value is equivalent to html.
If autoescaping is disabled, then the value is false.
« More »
AutoEscapeTokenParser¶
Marks a section of a template to be escaped or not.
{% autoescape true %}
Everything will be automatically escaped in this block
{% endautoescape %}
{% autoescape false %}
Everything will be outputed as is in this block
{% endautoescape %}
{% autoescape true js %}
Everything will be automatically escaped in this block
using the js escaping strategy
{% endautoescape %}
« More »
BadConfigurationException¶
BadConfigurationException
« More »
BadDecryptionException¶
BadDecryptionException
« More »
Barrett¶
PHP Barrett Modular Exponentiation Engine
« More »
Barrett¶
PHP Barrett Modular Exponentiation Engine
« More »
Base¶
PHP Modular Exponentiation Engine
« More »
Base¶
Sliding Window Exponentiation Engine
« More »
BigData¶
Class containing helper functions for dealing with "big data".
« More »
BigInteger¶
Pure-PHP arbitrary precision integer arithmetic library. Supports base-2, base-10, base-16, and base-256
numbers.
« More »
Binary¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
BitwiseAndBinary¶
Abstract class for all nodes that represents an expression.
« More »
BitwiseOrBinary¶
Abstract class for all nodes that represents an expression.
« More »
BitwiseXorBinary¶
Abstract class for all nodes that represents an expression.
« More »
BLAKE2b¶
Class ParagonIE_Sodium_Core_BLAKE2b
Based on the work of Devi Mandiri in devi/salt.
« More »
BlockCipher¶
Base Class for all block cipher classes
« More »
BlockReferenceExpression¶
Represents a block call node.
« More »
BlockReferenceNode¶
Represents a block call node.
« More »
BlockTokenParser¶
Marks a section of a template as being reusable.
{% block head %}
<link rel="stylesheet" href="style.css" />
<title>{% block title %}{% endblock %} - My Webpage</title>
{% endblock %}
« More »
Blowfish¶
Pure-PHP implementation of Blowfish.
« More »
BodyNode¶
Represents a body node.
« More »
Box¶
This is the model class for table "{{boxes}}".
The following are the available columns in table '{{boxes}}':
« More »
brainpoolP160r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP160t1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP192r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP192t1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP224r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP224t1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP256r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP256t1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP320r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP320t1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP384r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP384t1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP512r1¶
Curves over y^2 = x^3 + a*x + b
« More »
brainpoolP512t1¶
Curves over y^2 = x^3 + a*x + b
« More »
BuiltIn¶
Built-In BCMath Modular Exponentiation Engine
« More »
BuiltInDomainDefinedAttribute¶
BuiltInDomainDefinedAttribute
« More »
BuiltInDomainDefinedAttributes¶
BuiltInDomainDefinedAttributes
« More »
BuiltInStandardAttributes¶
BuiltInStandardAttributes
« More »
Cached¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_Cached
« More »
CallExpression¶
Abstract class for all nodes that represents an expression.
« More »
CertificateIssuer¶
CertificateIssuer
« More »
CertificatePolicies¶
CertificatePolicies
« More »
CertificateSerialNumber¶
CertificateSerialNumber
« More »
CertificationRequest¶
CertificationRequest
« More »
CertificationRequestInfo¶
CertificationRequestInfo
« More »
ChaCha20¶
Class ParagonIE_Sodium_Core_ChaCha20
« More »
ChaCha20¶
Pure-PHP implementation of ChaCha20.
« More »
ChainLoader¶
Loads templates from other loaders.
« More »
Characteristic_two¶
Characteristic_two
« More »
CheckSecurityCallNode¶
Represents a node in the AST.
« More »
CheckSecurityNode¶
Represents a node in the AST.
« More »
CheckToStringNode¶
Checks if casting an expression to __toString() is allowed by the sandbox.
For instance, when there is a simple Print statement, like {{ article }},
and if the sandbox is enabled, we need to check that the __toString()
method is allowed if 'article' is an object. The same goes for {{ article|upper }}
or {{ random(article) }}
« More »
Classic¶
PHP Classic Modular Exponentiation Engine
« More »
ClassLoader¶
ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
$loader = new \Composer\Autoload\ClassLoader();
// register classes with namespaces
$loader->add('Symfony\Component', __DIR__.'/component');
$loader->add('Symfony', __DIR__.'/framework');
// activate the autoloader
$loader->register();
// to enable searching the include path (eg. for PEAR packages)
$loader->setUseIncludePath(true);
In this example, if you try to use a class in the Symfony\Component
namespace or one of its children (Symfony\Component\Console for instance),
the autoloader will first look for the class under the component/
directory, and it will then fallback to the framework/ directory if not
found before giving up.
This class is loosely based on the Symfony UniversalClassLoader.
« More »
ClassLoader¶
ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
$loader = new \Composer\Autoload\ClassLoader();
// register classes with namespaces
$loader->add('Symfony\Component', __DIR__.'/component');
$loader->add('Symfony', __DIR__.'/framework');
// activate the autoloader
$loader->register();
// to enable searching the include path (eg. for PEAR packages)
$loader->setUseIncludePath(true);
In this example, if you try to use a class in the Symfony\Component
namespace or one of its children (Symfony\Component\Console for instance),
the autoloader will first look for the class under the component/
directory, and it will then fallback to the framework/ directory if not
found before giving up.
This class is loosely based on the Symfony UniversalClassLoader.
« 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 »
Compiler¶
Compiles a node to PHP code.
« More »
ComposerAutoloaderInit2659d7f00f449de3862d7a6e5ccde300¶
« More »
ComposerAutoloaderInitddb1a145e450f862353420acc5153e40¶
« More »
ComposerStaticInit2659d7f00f449de3862d7a6e5ccde300¶
« More »
ComposerStaticInitddb1a145e450f862353420acc5153e40¶
« More »
ConcatBinary¶
Abstract class for all nodes that represents an expression.
« More »
ConditionalExpression¶
Abstract class for all nodes that represents an expression.
« More »
ConnectionClosedException¶
ConnectionClosedException
« More »
ConstantExpression¶
Abstract class for all nodes that represents an expression.
« More »
ConstantTest¶
Checks if a variable is the exact same value as a constant.
{% if post.status is constant('Post::PUBLISHED') %}
the status attribute is exactly the same as Post::PUBLISHED
{% endif %}
« More »
ContainerRuntimeLoader¶
Lazily loads Twig runtime implementations from a PSR-11 container.
Note that the runtime services MUST use their class names as identifiers.
« More »
Controller¶
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
« More »
CoreQuestionAttributeProvider¶
Provides question attribute definitions from question types
« More »
CPDBException¶
Used to spit out error messages if mapping attributes doesn't work.
« More »
CRLDistributionPoints¶
CRLDistributionPoints
« More »
Crypto¶
Class ParagonIE_Sodium_Crypto
ATTENTION!
If you are using this library, you should be using
ParagonIE_Sodium_Compat in your code, not this class.
« 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 »
Ctx¶
Class ParagonIE_Sodium_Core_ChaCha20_Ctx
« More »
Ctype¶
Ctype implementation through regex.
« More »
Curve25519¶
Curves over y^2 = x^3 + a*x + x
« More »
Curve25519¶
Class ParagonIE_Sodium_Core_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
Curve448¶
Curves over y^2 = x^3 + a*x + x
« 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 »
DatabaseUpdateBase¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« 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 »
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 »
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 »
dateFunctions¶
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 »
DefaultEngine¶
PHP Default Modular Exponentiation Engine
« More »
DefaultEngine¶
PHP Default Modular Exponentiation Engine
« More »
DefaultEngine¶
GMP Modular Exponentiation Engine
« More »
DefaultFilter¶
Returns the value or the default value when it is undefined or empty.
{{ var.foo|default('foo item on var is not defined') }}
« More »
DefaultValueL10n¶
Class DefaultValue
« More »
demoAddEmFunction¶
Example plugin that add a simple function
« More »
DeprecatedNode¶
Represents a deprecated node.
« More »
DeprecatedTokenParser¶
Deprecates a section of a template.
{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %}
{% extends 'layout.html.twig' %}
« More »
DES¶
Pure-PHP implementation of DES.
« More »
DigestInfo¶
DigestInfo
from https://tools.ietf.org/html/rfc2898#appendix-A.3
« More »
DisplayText¶
DisplayText
« More »
DistributionPoint¶
DistributionPoint
« More »
DistributionPointName¶
DistributionPointName
« More »
DivBinary¶
Abstract class for all nodes that represents an expression.
« More »
DivisiblebyTest¶
Checks if a variable is divisible by a number.
{% if loop.index is divisible by(3) %}
« 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 »
DoTokenParser¶
Evaluates an expression, discarding the returned value.
« More »
DSA¶
Pure-PHP FIPS 186-4 compliant implementation of DSA.
« 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 »
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 »
ECParameters¶
ECParameters
ECParameters ::= CHOICE {
namedCurve OBJECT IDENTIFIER
-- implicitCurve NULL
-- specifiedCurve SpecifiedECDomain
}
-- implicitCurve and specifiedCurve MUST NOT be used in PKIX.
-- Details for SpecifiedECDomain can be found in [X9.62].
-- Any future additions to this CHOICE should be coordinated
-- with ANSI X9.
« More »
Ed25519¶
Class ParagonIE_Sodium_Core_Ed25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
Ed25519¶
Curves over a*x^2 + y^2 = 1 + d*x^2*y^2
« More »
Ed448¶
Curves over a*x^2 + y^2 = 1 + d*x^2*y^2
« More »
Element¶
ASN.1 Raw Element
An ASN.1 ANY mapping will return an ASN1\Element object. Use of this object
will also bypass the normal encoding rules in ASN1::encodeDER()
« More »
EmbedTokenParser¶
Embeds a template.
{% include 'header.html' %}
Body
{% include 'footer.html' %}
« 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 »
EncryptedPrivateKeyInfo¶
EncryptedPrivateKeyInfo
« More »
EndsWithBinary¶
Abstract class for all nodes that represents an expression.
« More »
EnterProfileNode¶
Represents a profile enter node.
« More »
EqualBinary¶
Abstract class for all nodes that represents an expression.
« More »
Error¶
Twig base exception.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
EscaperNodeVisitor¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
ETwigViewRenderer¶
Twig view renderer
« More »
ETwigViewRendererStaticClassProxy¶
Class-proxy for static classes
Needed because you can't pass static class to Twig other way
« More »
ETwigViewRendererYiiCoreStaticClassesProxy¶
Class-proxy for Yii core static classes
« More »
EvalBarrett¶
PHP Dynamic Barrett Modular Exponentiation Engine
« More »
EvalBarrett¶
PHP Barrett Modular Exponentiation Engine
« More »
EvenTest¶
Checks if a number is even.
{{ var is even }}
« 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 »
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 »
Exception¶
PHPMailer exception handler.
« More »
ExportSPSSsav¶
Base class for plugins.
« More »
ExportSTATAxml¶
Base class for plugins.
« More »
ExpressionAnswerOptions¶
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 »
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¶
Class Expressions
This controller contains common functions for survey related views.
« More »
ExpressionValidate¶
Survey Common Action
This controller contains common functions for survey related views.
« More »
ExtendsTokenParser¶
Extends a template by another one.
{% extends "base.html" %}
« More »
Extension¶
Extension
A certificate using system MUST reject the certificate if it encounters
a critical extension it does not recognize; however, a non-critical
extension may be ignored if it is not recognized.
http://tools.ietf.org/html/rfc5280#section-4.2
« More »
ExtensionAttribute¶
ExtensionAttribute
« More »
ExtensionAttributes¶
ExtensionAttributes
« 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 »
ExtKeyUsageSyntax¶
ExtKeyUsageSyntax
« More »
FactoryRuntimeLoader¶
Lazy loads the runtime implementations for a Twig element.
« More »
FailedEmailController¶
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
« More »
fastImage¶
FastImage - Because sometimes you just want the size!
Based on the Ruby Implementation by Steven Sykes (https://github.com/sdsykes/fastimage)
Copyright (c) 2012 Tom Moor
Tom Moor, http://tommoor.com
MIT Licensed
« More »
Class ParagonIE_Sodium_Core_Curve25519_Fe
This represents a Field Element
« More »
FileExtensionEscapingStrategy¶
Default autoescaping strategy based on file names.
This strategy sets the HTML as the default autoescaping strategy,
but changes it based on the template name.
Note that there is no runtime performance impact as the
default autoescaping strategy is set at compilation time.
« 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 »
FileNotFoundException¶
FileNotFoundException
« More »
FilterExpression¶
Abstract class for all nodes that represents an expression.
« More »
FilterTokenParser¶
Filters a section of a template by applying filters.
{% filter upper %}
This text becomes uppercase
{% endfilter %}
« More »
FloorDivBinary¶
Abstract class for all nodes that represents an expression.
« More »
FlushTokenParser¶
Flushes the output to the client.
« More »
ForLoopNode¶
Internal node used by the for node.
« More »
ForTokenParser¶
Loops over each item of a sequence.
<ul>
{% for user in users %}
<li>{{ user.username|e }}</li>
{% endfor %}
</ul>
« More »
FromTokenParser¶
Imports macros.
{% from 'forms.html' import forms %}
« More »
FunctionExpression¶
Abstract class for all nodes that represents an expression.
« More »
FunctionStatic¶
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 »
GeneralOption¶
Wrapper class for question general option.
« More »
GlobalSettings¶
GlobalSettings Controller
This controller contains common functions for survey related views.
« More »
GreaterBinary¶
Abstract class for all nodes that represents an expression.
« More »
GreaterEqualBinary¶
Abstract class for all nodes that represents an expression.
« More »
GTranslateException¶
Exception class for GTranslated Exceptions
« More »
Class ParagonIE_Sodium_Core_Curve25519_H
This just contains the constants in the ref10/base.h file
« More »
HChaCha20¶
Class ParagonIE_Sodium_Core_HChaCha20
« More »
HelloWorld¶
Survey Common Action
This controller contains common functions for survey related views.
« More »
HelloWorldModule¶
HelloWorldModule class file.
« More »
HoldInstructionCode¶
HoldInstructionCode
« More »
HomepageSettingsController¶
Class HomepageSettingsController
this controller will have all the necessary methods from the old AdminController
« More »
HSalsa20¶
Class ParagonIE_Sodium_Core_HSalsa20
« More »
HtmlEditorPop¶
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 »
HttpTimeProvider¶
Takes the time from any webserver by doing a HEAD request on the specified URL and extracting the 'Date:' header
« More »
Identity¶
Pure-PHP ssh-agent client identity object
Instantiation should only be performed by \phpseclib3\System\SSH\Agent class.
This could be thought of as implementing an interface that phpseclib3\Crypt\RSA
implements. ie. maybe a Net_SSH_Auth_PublicKey interface or something.
The methods in this interface would be getPublicKey and sign since those are the
methods phpseclib looks for to perform public key authentication.
« More »
IetfCtx¶
Class ParagonIE_Sodium_Core_ChaCha20_IetfCtx
« More »
IfTokenParser¶
Tests a condition.
{% if users %}
<ul>
{% for user in users %}
<li>{{ user.username|e }}</li>
{% endfor %}
</ul>
{% endif %}
« More »
ImportNode¶
Represents an import node.
« More »
ImportTokenParser¶
Imports macros.
{% import 'forms.html' as forms %}
« More »
InBinary¶
Abstract class for all nodes that represents an expression.
« More »
IncludeTokenParser¶
Includes a template.
{% include 'header.html' %}
Body
{% include 'footer.html' %}
« More »
InconsistentSetupException¶
InconsistentSetupException
« More »
Index¶
Survey Common Action
This controller contains common functions for survey related views.
« More »
InlinePrint¶
Abstract class for all nodes that represents an expression.
« More »
InsufficientSetupException¶
InsufficientSetupException
« More »
IntegrationTestCase¶
Integration test helper.
« More »
IssuingDistributionPoint¶
IssuingDistributionPoint
« 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 »
JWK¶
JSON Web Key Formatted Key Handler
« More »
KoblitzPrime¶
Curves over y^2 = x^3 + b
« More »
LeaveProfileNode¶
Represents a profile leave node.
« More »
LessBinary¶
Abstract class for all nodes that represents an expression.
« More »
LessEqualBinary¶
Abstract class for all nodes that represents an expression.
« More »
LimeMailer¶
WIP
A SubClass of phpMailer adapted for LimeSurvey
« More »
LimeReplacementFieldsController¶
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
« 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 »
LoaderError¶
Exception thrown when an error occurs during template loading.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Lookup¶
The followings are the available columns in table 'tbl_lookup':
« 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 »
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 »
LsDefaultDataSets¶
A collection of default data sets, like surveymenus, surveymenuentries, and tutorials
This class is important for installation (all datasets will be inserted to database tables and
to reset to a default setting (if user want to...)
« 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 »
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 »
LSjsonRPCServer¶
This class build a json-RPC Server 1.0
http://json-rpc.org/wiki/specification
« 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 »
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_ShortUrlValidator¶
Validator class for Short URLs (Survey Aliases).
Compares the alias against basic route rules and existing controllers, trying
to avoid collisions.
« More »
MacroTokenParser¶
Defines a macro.
{% macro input(name, value, type, size) %}
<input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
{% endmacro %}
« 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 following are the available columns in table '{{map_tutorial_users}}':
« More »
MatchesBinary¶
Abstract class for all nodes that represents an expression.
« 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 »
MethodCallExpression¶
Abstract class for all nodes that represents an expression.
« More »
MinimalReporter¶
Minimal only displays on error
« More »
ModBinary¶
Abstract class for all nodes that represents an expression.
« More »
Montgomery¶
Curves over y^2 = x^3 + a*x + x
« More »
Montgomery¶
PHP Montgomery Modular Exponentiation Engine
« More »
Montgomery¶
PHP Montgomery Modular Exponentiation Engine
« More »
MontgomeryMult¶
PHP Montgomery Modular Exponentiation Engine with interleaved multiplication
« More »
MontgomeryPrivate¶
Montgomery Curve Private Key Handler
« More »
MontgomeryPublic¶
Montgomery Public Key Handler
« More »
MSBLOB¶
Microsoft BLOB Formatted RSA Key Handler
« More »
MulBinary¶
Abstract class for all nodes that represents an expression.
« More »
NameExpression¶
Abstract class for all nodes that represents an expression.
« More »
NegUnary¶
Abstract class for all nodes that represents an expression.
« More »
netscape_ca_policy_url¶
netscape_ca_policy_url
« More »
netscape_cert_type¶
netscape_cert_type
mapping is from <http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn3.html>
« More »
nistb233¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
nistb409¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
nistk163¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
nistk233¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
nistk283¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
nistk409¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
nistp192¶
Curves over y^2 = x^3 + a*x + b
« More »
nistp224¶
Curves over y^2 = x^3 + a*x + b
« More »
nistp256¶
Curves over y^2 = x^3 + a*x + b
« More »
nistp384¶
Curves over y^2 = x^3 + a*x + b
« More »
nistp521¶
Curves over y^2 = x^3 + a*x + b
« More »
nistt571¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
NodeTraverser¶
A node traverser.
It visits all nodes and their children and calls the given visitor for each.
« More »
NoKeyLoadedException¶
NoKeyLoadedException
« 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 »
NoSupportedAlgorithmsException¶
NoSupportedAlgorithmsException
« More »
NotEqualBinary¶
Abstract class for all nodes that represents an expression.
« More »
Notification¶
This is the model class for table "{{notifications}}".
The following are the available columns in table '{{notifications}}':
« More »
NotificationController¶
Mostly for Ajax actions
This controller contains common functions for survey related views.
« More »
NotInBinary¶
Abstract class for all nodes that represents an expression.
« More »
NotUnary¶
Abstract class for all nodes that represents an expression.
« More »
NTPTimeProvider¶
Takes the time from any NTP server
« More »
NullCache¶
Implements a no-cache strategy.
« More »
NullCoalesceExpression¶
Abstract class for all nodes that represents an expression.
« More »
NullTest¶
Checks that a variable is null.
{{ var is none }}
« More »
NumericUserIdentifier¶
NumericUserIdentifier
« More »
OAuth¶
OAuth - OAuth2 authentication wrapper class.
Uses the oauth2-client package from the League of Extraordinary Packages.
« More »
OddTest¶
Checks if a number is odd.
{{ var is odd }}
« More »
oldUrlCompat¶
Plugin to redirect old url system (index.php?sid=surveyid) to the new url
« More »
OpenSSH¶
OpenSSH Formatted DSA Key Handler
« More »
OpenSSH¶
OpenSSH Formatted RSA Key Handler
« More »
OpenSSH¶
OpenSSH Formatted EC Key Handler
« More »
OpenSSH¶
OpenSSH Formatted RSA Key Handler
« More »
OpenSSL¶
OpenSSL Modular Exponentiation Engine
« More »
OpenSSL¶
OpenSSL Modular Exponentiation Engine
« More »
OpenSSL¶
OpenSSL Modular Exponentiation Engine
« More »
OrBinary¶
Abstract class for all nodes that represents an expression.
« More »
OrganizationalUnitNames¶
OrganizationalUnitNames
« More »
P1p1¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_P1p1
« More »
Class ParagonIE_Sodium_Core_Curve25519_Ge_P2
« More »
Class ParagonIE_Sodium_Core_Curve25519_Ge_P3
« More »
ParagonIE_Sodium_Core32_BLAKE2b¶
Class ParagonIE_Sodium_Core_BLAKE2b
Based on the work of Devi Mandiri in devi/salt.
« More »
ParagonIE_Sodium_Core32_ChaCha20¶
Class ParagonIE_Sodium_Core32_ChaCha20
« More »
ParagonIE_Sodium_Core32_ChaCha20_Ctx¶
Class ParagonIE_Sodium_Core32_ChaCha20_Ctx
« More »
ParagonIE_Sodium_Core32_ChaCha20_IetfCtx¶
Class ParagonIE_Sodium_Core32_ChaCha20_IetfCtx
« More »
ParagonIE_Sodium_Core32_Curve25519¶
Class ParagonIE_Sodium_Core32_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core32_Curve25519_Fe¶
Class ParagonIE_Sodium_Core32_Curve25519_Fe
This represents a Field Element
« More »
ParagonIE_Sodium_Core32_Curve25519_Ge_Cached¶
Class ParagonIE_Sodium_Core32_Curve25519_Ge_Cached
« More »
ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1¶
Class ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1
« More »
ParagonIE_Sodium_Core32_Curve25519_Ge_P2¶
Class ParagonIE_Sodium_Core32_Curve25519_Ge_P2
« More »
ParagonIE_Sodium_Core32_Curve25519_Ge_P3¶
Class ParagonIE_Sodium_Core32_Curve25519_Ge_P3
« More »
ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp¶
Class ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp
« More »
ParagonIE_Sodium_Core32_Curve25519_H¶
Class ParagonIE_Sodium_Core32_Curve25519_H
This just contains the constants in the ref10/base.h file
« More »
ParagonIE_Sodium_Core32_Ed25519¶
Class ParagonIE_Sodium_Core32_Ed25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core32_HChaCha20¶
Class ParagonIE_Sodium_Core_HChaCha20
« More »
ParagonIE_Sodium_Core32_HSalsa20¶
Class ParagonIE_Sodium_Core32_HSalsa20
« More »
ParagonIE_Sodium_Core32_Int32¶
Class ParagonIE_Sodium_Core32_Int32
Encapsulates a 32-bit integer.
These are immutable. It always returns a new instance.
« More »
ParagonIE_Sodium_Core32_Int64¶
Class ParagonIE_Sodium_Core32_Int64
Encapsulates a 64-bit integer.
These are immutable. It always returns a new instance.
« More »
ParagonIE_Sodium_Core32_Poly1305¶
Class ParagonIE_Sodium_Core32_Poly1305
« More »
ParagonIE_Sodium_Core32_Poly1305_State¶
Class ParagonIE_Sodium_Core32_Poly1305_State
« More »
ParagonIE_Sodium_Core32_Salsa20¶
Class ParagonIE_Sodium_Core32_Salsa20
« More »
ParagonIE_Sodium_Core32_SecretStream_State¶
Class ParagonIE_Sodium_Core32_SecretStream_State
« More »
ParagonIE_Sodium_Core32_SipHash¶
Class ParagonIE_SodiumCompat_Core32_SipHash
Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers
« More »
ParagonIE_Sodium_Core32_Util¶
Class ParagonIE_Sodium_Core_Util
« More »
ParagonIE_Sodium_Core32_X25519¶
Class ParagonIE_Sodium_Core32_X25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core32_XChaCha20¶
Class ParagonIE_Sodium_Core32_XChaCha20
« More »
ParagonIE_Sodium_Core32_XSalsa20¶
Class ParagonIE_Sodium_Core32_XSalsa20
« More »
ParagonIE_Sodium_Core_Base64_Original¶
Class ParagonIE_Sodium_Core_Base64
Copyright (c) 2016 - 2018 Paragon Initiative Enterprises.
Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
« More »
ParagonIE_Sodium_Core_Base64_UrlSafe¶
Class ParagonIE_Sodium_Core_Base64UrlSafe
Copyright (c) 2016 - 2018 Paragon Initiative Enterprises.
Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
« More »
ParagonIE_Sodium_Core_BLAKE2b¶
Class ParagonIE_Sodium_Core_BLAKE2b
Based on the work of Devi Mandiri in devi/salt.
« More »
ParagonIE_Sodium_Core_ChaCha20¶
Class ParagonIE_Sodium_Core_ChaCha20
« More »
ParagonIE_Sodium_Core_ChaCha20_Ctx¶
Class ParagonIE_Sodium_Core_ChaCha20_Ctx
« More »
ParagonIE_Sodium_Core_ChaCha20_IetfCtx¶
Class ParagonIE_Sodium_Core_ChaCha20_IetfCtx
« More »
ParagonIE_Sodium_Core_Curve25519¶
Class ParagonIE_Sodium_Core_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core_Curve25519_Fe¶
Class ParagonIE_Sodium_Core_Curve25519_Fe
This represents a Field Element
« More »
ParagonIE_Sodium_Core_Curve25519_Ge_Cached¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_Cached
« More »
ParagonIE_Sodium_Core_Curve25519_Ge_P1p1¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_P1p1
« More »
ParagonIE_Sodium_Core_Curve25519_Ge_P2¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_P2
« More »
ParagonIE_Sodium_Core_Curve25519_Ge_P3¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_P3
« More »
ParagonIE_Sodium_Core_Curve25519_Ge_Precomp¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp
« More »
ParagonIE_Sodium_Core_Curve25519_H¶
Class ParagonIE_Sodium_Core_Curve25519_H
This just contains the constants in the ref10/base.h file
« More »
ParagonIE_Sodium_Core_Ed25519¶
Class ParagonIE_Sodium_Core_Ed25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core_HChaCha20¶
Class ParagonIE_Sodium_Core_HChaCha20
« More »
ParagonIE_Sodium_Core_HSalsa20¶
Class ParagonIE_Sodium_Core_HSalsa20
« More »
ParagonIE_Sodium_Core_Poly1305¶
Class ParagonIE_Sodium_Core_Poly1305
« More »
ParagonIE_Sodium_Core_Poly1305_State¶
Class ParagonIE_Sodium_Core_Poly1305_State
« More »
ParagonIE_Sodium_Core_Ristretto255¶
Class ParagonIE_Sodium_Core_Ristretto255
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core_Salsa20¶
Class ParagonIE_Sodium_Core_Salsa20
« More »
ParagonIE_Sodium_Core_SecretStream_State¶
Class ParagonIE_Sodium_Core_SecretStream_State
« More »
ParagonIE_Sodium_Core_SipHash¶
Class ParagonIE_SodiumCompat_Core_SipHash
Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers
« More »
ParagonIE_Sodium_Core_Util¶
Class ParagonIE_Sodium_Core_Util
« More »
ParagonIE_Sodium_Core_X25519¶
Class ParagonIE_Sodium_Core_X25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
ParagonIE_Sodium_Core_XChaCha20¶
Class ParagonIE_Sodium_Core_XChaCha20
« More »
ParagonIE_Sodium_Core_XSalsa20¶
Class ParagonIE_Sodium_Core_XSalsa20
« More »
ParagonIE_Sodium_Crypto¶
Class ParagonIE_Sodium_Crypto
ATTENTION!
If you are using this library, you should be using
ParagonIE_Sodium_Compat in your code, not this class.
« More »
ParagonIE_Sodium_Crypto32¶
Class ParagonIE_Sodium_Crypto
ATTENTION!
If you are using this library, you should be using
ParagonIE_Sodium_Compat in your code, not this class.
« More »
ParagonIE_Sodium_File¶
Class ParagonIE_Sodium_File
« More »
ParentExpression¶
Represents a parent node.
« More »
Parser¶
Default parser implementation.
« More »
ParticipantAttribute¶
Class ParticipantAttribute
« More »
ParticipantAttributeName¶
This is the model class for table "{{{{participant_attribute_names}}}}".
The following are the available columns in table '{{{{participant_attribute_names}}}}':
« More »
ParticipantAttributeNameLang¶
This is the model class for table "{{{{participant_attribute_names_lang}}}}".
The following are the available columns in table '{{{{participant_attribute_names_lang}}}}':
« More »
ParticipantShare¶
This is the model class for table "{{participant_shares}}".
The following are the available columns in table '{{participant_shares}}':
« More »
PasswordManagement¶
This class contains all functions for the process of password reset and creating new administration users
and sending email to those with a link to set the password.
All this functions were implemented in UserManagementController before.
« More »
PasswordRequirement¶
Core plugin for LimeSurvey : password requirement settings
« More »
PBEParameter¶
PBEParameter
from https://tools.ietf.org/html/rfc2898#appendix-A.3
« More »
PBES2params¶
PBES2params
from https://tools.ietf.org/html/rfc2898#appendix-A.3
« More »
PBKDF2params¶
PBKDF2params
from https://tools.ietf.org/html/rfc2898#appendix-A.3
« More »
PBMAC1params¶
PBMAC1params
from https://tools.ietf.org/html/rfc2898#appendix-A.3
« 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 »
Permissiontemplates¶
This is the model class for table "{{permissiontemplates}}".
The following are the available columns in table '{{permissiontemplates}}':
« More »
PHP32¶
Pure-PHP 32-bit Engine.
Uses 64-bit floats if int size is 4 bits
« More »
PHP64¶
Pure-PHP 64-bit Engine.
Uses 64-bit integers if int size is 8 bits
« More »
PHPMailer¶
PHPMailer - PHP email creation and transport class.
« More »
PKCS1¶
"PKCS1" Formatted DH Key Handler
« More »
PKCS1¶
PKCS#1 Formatted RSA Key Handler
« More »
PKCS1¶
PKCS#1 Formatted DSA Key Handler
« More »
PKCS1¶
"PKCS1" (RFC5915) Formatted EC Key Handler
« More »
PKCS8¶
PKCS#8 Formatted RSA Key Handler
« More »
PKCS8¶
PKCS#8 Formatted EC Key Handler
« More »
PKCS8¶
PKCS#8 Formatted DH Key Handler
« More »
PKCS8¶
PKCS#8 Formatted DSA Key Handler
« 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 »
PluginDynamic¶
Dynamic model used by plugins to access their table(s).
« 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 »
PluginQuestionAttributeProvider¶
Provides question attribute definitions from plugins
« More »
PolicyQualifierId¶
PolicyQualifierId
« More »
PolicyQualifierInfo¶
PolicyQualifierInfo
« More »
Poly1305¶
Class ParagonIE_Sodium_Core_Poly1305
« More »
POP3¶
PHPMailer POP-Before-SMTP Authentication Class.
Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication.
1) This class does not support APOP authentication.
2) Opening and closing lots of POP3 connections can be quite slow. If you need
to send a batch of emails then just perform the authentication once at the start,
and then loop through your mail sending script. Providing this process doesn't
take longer than the verification period lasts on your POP3 server, you should be fine.
3) This is really ancient technology; you should only need to use it to talk to very old systems.
4) This POP3 class is deliberately lightweight and incomplete, implementing just
enough to do authentication.
If you want a more complete class there are other POP3 classes for PHP available.
« More »
Post¶
The followings are the available columns in table 'tbl_post':
« More »
PostalAddress¶
PostalAddress
« More »
PostController¶
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
« More »
PosUnary¶
Abstract class for all nodes that represents an expression.
« More »
PowerBinary¶
Abstract class for all nodes that represents an expression.
« More »
PowerOfTwo¶
PHP Power Of Two Modular Exponentiation Engine
« More »
Precomp¶
Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp
« More »
Prime¶
Curves over y^2 = x^3 + a*x + b
« More »
prime192v1¶
Curves over y^2 = x^3 + a*x + b
« More »
prime192v2¶
Curves over y^2 = x^3 + a*x + b
« More »
prime192v3¶
Curves over y^2 = x^3 + a*x + b
« More »
prime239v1¶
Curves over y^2 = x^3 + a*x + b
« More »
prime239v2¶
Curves over y^2 = x^3 + a*x + b
« More »
prime239v3¶
Curves over y^2 = x^3 + a*x + b
« More »
prime256v1¶
Curves over y^2 = x^3 + a*x + b
« More »
PrintNode¶
Represents a node that outputs an expression.
« More »
PrivateDomainName¶
PrivateDomainName
« More »
PrivateKeyUsagePeriod¶
PrivateKeyUsagePeriod
« More »
ProfilerNodeVisitor¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
PSS¶
PKCS#8 Formatted RSA-PSS Key Handler
« More »
PublicKeyAndChallenge¶
PublicKeyAndChallenge
« More »
PublicKeyInfo¶
PublicKeyInfo
this format is not formally defined anywhere but is none-the-less the form you
get when you do "openssl rsa -in private.pem -outform PEM -pubout"
« More »
PuTTY¶
PuTTY Formatted RSA Key Handler
« More »
PuTTY¶
PuTTY Formatted DSA Key Handler
« More »
PuTTY¶
PuTTY Formatted EC Key Handler
« More »
QuestionAttribute¶
Class QuestionAttribute
« More »
QuestionAttributeFetcher¶
Fetches question attribute definitions from the available providers
« More »
QuestionAttributeProvider¶
Base class for question attribute definition providers
« 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 »
QuestionCreate¶
Class used when creating new question.
« More »
QuestionGroupL10n¶
Class SurveyLanguageSetting
« More »
QuestionGroupsAdministrationController¶
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
« More »
questionHelper¶
General helper class for question + question setting system
« More »
QuestionTheme¶
This is the model class for table "{{question_themes}}".
The following are the available columns in table '{{question_themes}}':
« More »
QuestionThemeInstaller¶
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 »
QuestionThemes¶
Survey Common Action
This controller contains common functions for survey related views.
« More »
quexmlpdf¶
A TCPDF based class to produce queXF compatible questionnaire PDF files and banding description XML from queXML
« More »
QuickTranslation¶
This class is responsible for quick translation and all DB actions needed.
« More »
Random¶
Pure-PHP Random Number Generator
« More »
RangeBinary¶
Abstract class for all nodes that represents an expression.
« More »
RC2¶
Pure-PHP implementation of RC2.
« More »
RC2CBCParameter¶
RC2CBCParameter
from https://tools.ietf.org/html/rfc2898#appendix-A.3
« More »
RC4¶
Pure-PHP implementation of RC4.
« 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 »
RDNSequence¶
RDNSequence
In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare,
but they can be useful at times when either there is no unique attribute in the entry or you
want to ensure that the entry's DN contains some useful identifying information.
- https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName
« More »
RelativeDistinguishedName¶
RelativeDistinguishedName
In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare,
but they can be useful at times when either there is no unique attribute in the entry or you
want to ensure that the entry's DN contains some useful identifying information.
- https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName
« More »
RemoteControl¶
Survey Common Action
This controller contains common functions for survey related views.
« 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 »
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 »
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 »
Response¶
Relations
In this implementation class definitions are generated dynamically.
This class and its descendants should be declared abstract!
« More »
RevokedCertificate¶
RevokedCertificate
« More »
Rijndael¶
Pure-PHP implementation of Rijndael.
« More »
RSA¶
Pure-PHP PKCS#1 compliant implementation of RSA.
« More »
RSASSA_PSS_params¶
RSASSA_PSS_params
« 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 »
RuntimeError¶
Exception thrown when an error occurs at runtime.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SafeAnalysisNodeVisitor¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
Salsa20¶
Pure-PHP implementation of Salsa20.
« More »
Salsa20¶
Class ParagonIE_Sodium_Core_Salsa20
« More »
SameasTest¶
Checks if a variable is the same as another one (=== in PHP).
« More »
SandboxedPrintNode¶
Adds a check for the __toString() method when the variable is an object and the sandbox is activated.
When there is a simple Print statement, like {{ article }},
and if the sandbox is enabled, we need to check that the __toString()
method is allowed if 'article' is an object.
Not used anymore, to be deprecated in 2.x and removed in 3.0
« More »
SandboxNode¶
Represents a sandbox node.
« More »
SandboxNodeVisitor¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
SandboxTokenParser¶
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
{% sandbox %}
{% include 'user.html' %}
{% endsandbox %}
« More »
SaveFailedException¶
Throw this exception from an input save-function when you want to show an alert.
« More »
secp112r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp112r2¶
Curves over y^2 = x^3 + a*x + b
« More »
secp128r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp128r2¶
Curves over y^2 = x^3 + a*x + b
« More »
secp160k1¶
Curves over y^2 = x^3 + b
« More »
secp160r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp160r2¶
Curves over y^2 = x^3 + a*x + b
« More »
secp192k1¶
Curves over y^2 = x^3 + b
« More »
secp192r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp224k1¶
Curves over y^2 = x^3 + b
« More »
secp224r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp256k1¶
Curves over y^2 = x^3 + b
« More »
secp256r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp384r1¶
Curves over y^2 = x^3 + a*x + b
« More »
secp521r1¶
Curves over y^2 = x^3 + a*x + b
« More »
sect113r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect113r2¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect131r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect131r2¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect163k1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect163r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect163r2¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect193r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect193r2¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect233k1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect233r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect239k1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect283k1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect283r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect409k1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect409r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect571k1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
sect571r1¶
Curves over y^2 + x*y = x^3 + a*x^2 + b
« More »
SecurityError¶
Exception thrown when a security error occurs at runtime.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SecurityNotAllowedFilterError¶
Exception thrown when a not allowed filter is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SecurityNotAllowedFunctionError¶
Exception thrown when a not allowed function is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SecurityNotAllowedMethodError¶
Exception thrown when a not allowed class method is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SecurityNotAllowedPropertyError¶
Exception thrown when a not allowed class property is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SecurityNotAllowedTagError¶
Exception thrown when a not allowed tag is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
SecurityPolicy¶
Represents a security policy which need to be enforced when sandbox mode is enabled.
« More »
Session¶
Class Session
Extend CActiveRecord and not LSActiveRecord to disable plugin event (session can be used a lot)
« More »
SetTempNode¶
Represents a node in the AST.
« More »
SettingsUser¶
This is the model class for table "{{settings_user}}".
The following are the available columns in table '{{settings_user}}':
« More »
SetTokenParser¶
Defines a variable.
{% set foo = 'foo' %}
{% set foo = [1, 2] %}
{% set foo = {'foo': 'bar'} %}
{% set foo = 'foo' ~ 'bar' %}
{% set foo, bar = 'foo', 'bar' %}
{% set foo %}Some content{% endset %}
« More »
SFTP¶
Pure-PHP implementations of SFTP.
« 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 »
SignedPublicKeyAndChallenge¶
SignedPublicKeyAndChallenge
« More »
SipHash¶
Class ParagonIE_SodiumCompat_Core_SipHash
Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers
« More »
SiteController¶
SiteController is the default controller to handle user requests.
« More »
SiteController¶
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
« More »
SmallReporter¶
Displays a tiny div in upper right corner when ok
« More »
SMTP¶
PHPMailer RFC821 SMTP email transport class.
Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.
« More »
SodiumException¶
Class SodiumException
« More »
Source¶
Holds information about a non-compiled Twig template.
« More »
SpacelessNode¶
Represents a spaceless node.
It removes spaces between HTML tags.
« More »
SpacelessTokenParser¶
Remove whitespaces between HTML tags.
{% spaceless %}
<div>
<strong>foo</strong>
</div>
{% endspaceless %}
{# output will be <div><strong>foo</strong></div> #}
« More »
SpecifiedECDomain¶
SpecifiedECDomain
« More »
SplFixedArray¶
The SplFixedArray class provides the main functionalities of array. The
main differences between a SplFixedArray and a normal PHP array is that
the SplFixedArray is of fixed length and allows only integers within
the range as indexes. The advantage is that it allows a faster array
implementation.
« More »
SPSSWriter¶
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 »
SSH2¶
Pure-PHP implementation of SSHv2.
« More »
StagingExtension¶
Internal class.
This class is used by \Twig\Environment as a staging area and must not be used directly.
« More »
StartsWithBinary¶
Abstract class for all nodes that represents an expression.
« 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 »
State¶
Class ParagonIE_Sodium_Core_Poly1305_State
« 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 »
StreamCipher¶
Base Class for all stream cipher classes
« More »
SubBinary¶
Abstract class for all nodes that represents an expression.
« More »
SubjectDirectoryAttributes¶
SubjectDirectoryAttributes
« More »
SubjectInfoAccessSyntax¶
SubjectInfoAccessSyntax
« More »
SubjectPublicKeyInfo¶
SubjectPublicKeyInfo
« More »
SurveyActivator¶
Service class to activate survey.
« More »
SurveyIntegrity¶
Service class to fix integrity on a single survey
« More »
SurveyLanguageSetting¶
Class SurveyLanguageSetting
« More »
SurveyPermissions¶
This class is responsible for the relationship between permissions, users and surveys.
It could be handled as a specific permissions system for surveys.
« More »
SurveyPermissionsController¶
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
« 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 »
SurveysGroupCreator¶
Service class for survey group creation.
All dependencies are injected to enable mocking.
« More »
SurveysGroups¶
This is the model class for table "{{surveys_groups}}".
The following are the available columns in table '{{surveys_groups}}':
« More »
SurveysGroupsController¶
Class SurveysGroupsController
This controller contains common functions for survey related views.
« More »
SurveysGroupsettings¶
This is the model class for table "{{surveys_groupsettings}}".
The following are the available columns in table '{{surveys_groupsettings}}':
« More »
SurveysGroupsPermissionController¶
Class SurveysGroupsPermissionController
this controller will have all the necessary methods from the old AdminController
« More »
SurveysInGroup¶
Class SurveysGroups
The following are the available columns in table '{{surveys_groups}}':
« More »
SurveyThemeHelper¶
General helper class for survey themes
« More »
SurveyTimingDynamic¶
Class SurveyTimingDynamic
« More »
SurveyURLParameter¶
Class SurveyURLParameter
« More »
SymmetricKey¶
Base Class for all \phpseclib3\Crypt\* cipher classes
« More »
SyntaxError¶
\Exception thrown when a syntax error occurs during lexing or parsing of a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Tag¶
The followings are the available columns in table 'tbl_tag':
« More »
Template¶
Default base class for compiled templates.
This class is an implementation detail of how template compilation currently
works, which might change. It should never be used directly. Use $twig->load()
instead, which returns an instance of \Twig\TemplateWrapper.
« More »
TemplateConfig¶
Class TemplateConfig
Common methods for TemplateConfiguration and TemplateManifest
« More »
TemplateWrapper¶
Exposes a template to userland.
« More »
TempNameExpression¶
Abstract class for all nodes that represents an expression.
« More »
TerminalIdentifier¶
TerminalIdentifier
« More »
TextInput¶
Basic text input. No customized behaviour compared to base class.
« More »
TextNode¶
Represents a text node.
« More »
TFAHelper¶
Helper functionalities for 2fa plugin
« More »
TFAPluginInstaller¶
Installer class for the TwoFactorAdminLogin Plugin
A collecton of static helpers to install the Plugin
« More »
TFAUser¶
Abstracted user model for TFA admin view.
Incorporating an alternative seach method.
« More »
TFAUserKey¶
Controller model for TFA users secret keys
« More »
ThemeOptionsController¶
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
« More »
ThemeQuestionAttributeProvider¶
Provides question attribute definitions from question themes
« 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 »
TokenStream¶
Represents a token stream.
« More »
TripleDES¶
Pure-PHP implementation of Triple DES.
« More »
Tutorial¶
This is the model class for table "{{tutorials}}".
The following are the available columns in table '{{tutorials}}':
« More »
TutorialEntry¶
This is the model class for table "{{tutorial_entry}}".
The following 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 following 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 »
Twig_Autoloader¶
Autoloads Twig classes.
« More »
Twig_BaseNodeVisitor¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
Twig_Cache_Null¶
Implements a no-cache strategy.
« More »
Twig_CacheInterface¶
Interface implemented by cache classes.
It is highly recommended to always store templates on the filesystem to
benefit from the PHP opcode cache. This interface is mostly useful if you
need to implement a custom strategy for storing templates on the filesystem.
« More »
Twig_Compiler¶
Compiles a node to PHP code.
« More »
Twig_ContainerRuntimeLoader¶
Lazily loads Twig runtime implementations from a PSR-11 container.
Note that the runtime services MUST use their class names as identifiers.
« More »
Twig_Error¶
Twig base exception.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Error_Loader¶
Exception thrown when an error occurs during template loading.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Error_Runtime¶
Exception thrown when an error occurs at runtime.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Error_Syntax¶
\Exception thrown when a syntax error occurs during lexing or parsing of a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_ExistsLoaderInterface¶
Adds an exists() method for loaders.
« More »
Twig_Extension_GlobalsInterface¶
Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.
Explicitly implement this interface if you really need to implement the
deprecated getGlobals() method in your extensions.
« More »
Twig_Extension_InitRuntimeInterface¶
Enables usage of the deprecated Twig\Extension\AbstractExtension::initRuntime() method.
Explicitly implement this interface if you really need to implement the
deprecated initRuntime() method in your extensions.
« More »
Twig_Extension_Staging¶
Internal class.
This class is used by \Twig\Environment as a staging area and must not be used directly.
« More »
Twig_ExtensionInterface¶
Interface implemented by extension classes.
« More »
Twig_FactoryRuntimeLoader¶
Lazy loads the runtime implementations for a Twig element.
« More »
Twig_FileExtensionEscapingStrategy¶
Default autoescaping strategy based on file names.
This strategy sets the HTML as the default autoescaping strategy,
but changes it based on the template name.
Note that there is no runtime performance impact as the
default autoescaping strategy is set at compilation time.
« More »
Twig_Filter¶
Represents a template filter.
Use \Twig\TwigFilter instead.
« More »
Twig_Filter_Function¶
Represents a function template filter.
Use \Twig\TwigFilter instead.
« More »
Twig_Filter_Method¶
Represents a method template filter.
Use \Twig\TwigFilter instead.
« More »
Twig_Filter_Node¶
Represents a template filter as a node.
Use \Twig\TwigFilter instead.
« More »
Twig_Function¶
Represents a template function.
Use \Twig\TwigFunction instead.
« More »
Twig_Function_Function¶
Represents a function template function.
Use \Twig\TwigFunction instead.
« More »
Twig_Function_Method¶
Represents a method template function.
Use \Twig\TwigFunction instead.
« More »
Twig_Function_Node¶
Represents a template function as a node.
Use \Twig\TwigFunction instead.
« More »
Twig_Loader_Array¶
Loads a template from an array.
When using this loader with a cache mechanism, you should know that a new cache
key is generated each time a template content "changes" (the cache key being the
source code of the template). If you don't want to see your cache grows out of
control, you need to take care of clearing the old cache file by yourself.
This loader should only be used for unit testing.
« More »
Twig_Loader_Chain¶
Loads templates from other loaders.
« More »
Twig_Loader_String¶
Loads a template from a string.
This loader should NEVER be used. It only exists for Twig internal purposes.
When using this loader with a cache mechanism, you should know that a new cache
key is generated each time a template content "changes" (the cache key being the
source code of the template). If you don't want to see your cache grows out of
control, you need to take care of clearing the old cache file by yourself.
« More »
Twig_LoaderInterface¶
Interface all loaders must implement.
« More »
Twig_Markup¶
Marks a content as safe.
« More »
Twig_Node¶
Represents a node in the AST.
« More »
Twig_Node_AutoEscape¶
Represents an autoescape node.
The value is the escaping strategy (can be html, js, ...)
The true value is equivalent to html.
If autoescaping is disabled, then the value is false.
« More »
Twig_Node_Block¶
Represents a block node.
« More »
Twig_Node_BlockReference¶
Represents a block call node.
« More »
Twig_Node_Body¶
Represents a body node.
« More »
Twig_Node_CheckSecurity¶
Represents a node in the AST.
« More »
Twig_Node_Deprecated¶
Represents a deprecated node.
« More »
Twig_Node_Expression¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Array¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_AssignName¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Add¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_And¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_BitwiseAnd¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_BitwiseOr¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_BitwiseXor¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Concat¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Div¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_EndsWith¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Equal¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_FloorDiv¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Greater¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_GreaterEqual¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_In¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Less¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_LessEqual¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Matches¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Mod¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Mul¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_NotEqual¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_NotIn¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Or¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Power¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Range¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_StartsWith¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Binary_Sub¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_BlockReference¶
Represents a block call node.
« More »
Twig_Node_Expression_Call¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Conditional¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Constant¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_ExtensionReference¶
Represents an extension call node.
« More »
Twig_Node_Expression_Filter¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Filter_Default¶
Returns the value or the default value when it is undefined or empty.
{{ var.foo|default('foo item on var is not defined') }}
« More »
Twig_Node_Expression_Function¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_MethodCall¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Name¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_NullCoalesce¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Parent¶
Represents a parent node.
« More »
Twig_Node_Expression_TempName¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Test_Constant¶
Checks if a variable is the exact same value as a constant.
{% if post.status is constant('Post::PUBLISHED') %}
the status attribute is exactly the same as Post::PUBLISHED
{% endif %}
« More »
Twig_Node_Expression_Test_Divisibleby¶
Checks if a variable is divisible by a number.
{% if loop.index is divisible by(3) %}
« More »
Twig_Node_Expression_Test_Even¶
Checks if a number is even.
{{ var is even }}
« More »
Twig_Node_Expression_Test_Null¶
Checks that a variable is null.
{{ var is none }}
« More »
Twig_Node_Expression_Test_Odd¶
Checks if a number is odd.
{{ var is odd }}
« More »
Twig_Node_Expression_Test_Sameas¶
Checks if a variable is the same as another one (=== in PHP).
« More »
Twig_Node_Expression_Unary¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Unary_Neg¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Unary_Not¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Expression_Unary_Pos¶
Abstract class for all nodes that represents an expression.
« More »
Twig_Node_Flush¶
Represents a flush node.
« More »
Twig_Node_ForLoop¶
Internal node used by the for node.
« More »
Twig_Node_Import¶
Represents an import node.
« More »
Twig_Node_Print¶
Represents a node that outputs an expression.
« More »
Twig_Node_Sandbox¶
Represents a sandbox node.
« More »
Twig_Node_SandboxedPrint¶
Adds a check for the __toString() method when the variable is an object and the sandbox is activated.
When there is a simple Print statement, like {{ article }},
and if the sandbox is enabled, we need to check that the __toString()
method is allowed if 'article' is an object.
Not used anymore, to be deprecated in 2.x and removed in 3.0
« More »
Twig_Node_Set¶
Represents a set node.
« More »
Twig_Node_SetTemp¶
Represents a node in the AST.
« More »
Twig_Node_Spaceless¶
Represents a spaceless node.
It removes spaces between HTML tags.
« More »
Twig_Node_Text¶
Represents a text node.
« More »
Twig_NodeCaptureInterface¶
Represents a node that captures any nested displayable nodes.
« More »
Twig_NodeOutputInterface¶
Represents a displayable node in the AST.
« More »
Twig_NodeTraverser¶
A node traverser.
It visits all nodes and their children and calls the given visitor for each.
« More »
Twig_NodeVisitor_Escaper¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
Twig_NodeVisitor_SafeAnalysis¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
Twig_NodeVisitor_Sandbox¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
Twig_NodeVisitorInterface¶
Interface for node visitor classes.
« More »
Twig_Parser¶
Default parser implementation.
« More »
Twig_Profiler_Dumper_Text¶
« More »
Twig_Profiler_Node_EnterProfile¶
Represents a profile enter node.
« More »
Twig_Profiler_Node_LeaveProfile¶
Represents a profile leave node.
« More »
Twig_Profiler_NodeVisitor_Profiler¶
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
« More »
Twig_RuntimeLoaderInterface¶
Creates runtime implementations for Twig elements (filters/functions/tests).
« More »
Twig_Sandbox_SecurityError¶
Exception thrown when a security error occurs at runtime.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Sandbox_SecurityNotAllowedFilterError¶
Exception thrown when a not allowed filter is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Sandbox_SecurityNotAllowedFunctionError¶
Exception thrown when a not allowed function is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Sandbox_SecurityNotAllowedMethodError¶
Exception thrown when a not allowed class method is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Sandbox_SecurityNotAllowedPropertyError¶
Exception thrown when a not allowed class property is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Sandbox_SecurityNotAllowedTagError¶
Exception thrown when a not allowed tag is used in a template.
This exception class and its children must only be used when
an error occurs during the loading of a template, when a syntax error
is detected in a template, or when rendering a template. Other
errors must use regular PHP exception classes (like when the template
cache directory is not writable for instance).
To help debugging template issues, this class tracks the original template
name and line where the error occurred.
Whenever possible, you must set these information (original template name
and line number) yourself by passing them to the constructor. If some or all
these information are not available from where you throw the exception, then
this class will guess them automatically (when the line number is set to -1
and/or the name is set to null). As this is a costly operation, this
can be disabled by passing false for both the name and the line number
when creating a new instance of this class.
« More »
Twig_Sandbox_SecurityPolicy¶
Represents a security policy which need to be enforced when sandbox mode is enabled.
« More »
Twig_Sandbox_SecurityPolicyInterface¶
Interface that all security policy classes must implements.
« More »
Twig_SimpleFilter¶
Represents a template filter.
« More »
Twig_SimpleFunction¶
Represents a template function.
« More »
Twig_SimpleTest¶
Represents a template test.
« More »
Twig_Source¶
Holds information about a non-compiled Twig template.
« More »
Twig_SourceContextLoaderInterface¶
Adds a getSourceContext() method for loaders.
« More »
Twig_Template¶
Default base class for compiled templates.
This class is an implementation detail of how template compilation currently
works, which might change. It should never be used directly. Use $twig->load()
instead, which returns an instance of \Twig\TemplateWrapper.
« More »
Twig_TemplateWrapper¶
Exposes a template to userland.
« More »
Twig_Test¶
Represents a template test.
« More »
Twig_Test_Function¶
Represents a function template test.
« More »
Twig_Test_IntegrationTestCase¶
Integration test helper.
« More »
Twig_Test_Method¶
Represents a method template test.
« More »
Twig_Test_Node¶
Represents a template test as a Node.
« More »
Twig_TokenParser¶
Base class for all token parsers.
« More »
Twig_TokenParser_AutoEscape¶
Marks a section of a template to be escaped or not.
{% autoescape true %}
Everything will be automatically escaped in this block
{% endautoescape %}
{% autoescape false %}
Everything will be outputed as is in this block
{% endautoescape %}
{% autoescape true js %}
Everything will be automatically escaped in this block
using the js escaping strategy
{% endautoescape %}
« More »
Twig_TokenParser_Block¶
Marks a section of a template as being reusable.
{% block head %}
<link rel="stylesheet" href="style.css" />
<title>{% block title %}{% endblock %} - My Webpage</title>
{% endblock %}
« More »
Twig_TokenParser_Deprecated¶
Deprecates a section of a template.
{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %}
{% extends 'layout.html.twig' %}
« More »
Twig_TokenParser_Do¶
Evaluates an expression, discarding the returned value.
« More »
Twig_TokenParser_Embed¶
Embeds a template.
{% include 'header.html' %}
Body
{% include 'footer.html' %}
« More »
Twig_TokenParser_Extends¶
Extends a template by another one.
{% extends "base.html" %}
« More »
Twig_TokenParser_Filter¶
Filters a section of a template by applying filters.
{% filter upper %}
This text becomes uppercase
{% endfilter %}
« More »
Twig_TokenParser_Flush¶
Flushes the output to the client.
« More »
Twig_TokenParser_For¶
Loops over each item of a sequence.
<ul>
{% for user in users %}
<li>{{ user.username|e }}</li>
{% endfor %}
</ul>
« More »
Twig_TokenParser_From¶
Imports macros.
{% from 'forms.html' import forms %}
« More »
Twig_TokenParser_If¶
Tests a condition.
{% if users %}
<ul>
{% for user in users %}
<li>{{ user.username|e }}</li>
{% endfor %}
</ul>
{% endif %}
« More »
Twig_TokenParser_Import¶
Imports macros.
{% import 'forms.html' as forms %}
« More »
Twig_TokenParser_Include¶
Includes a template.
{% include 'header.html' %}
Body
{% include 'footer.html' %}
« More »
Twig_TokenParser_Macro¶
Defines a macro.
{% macro input(name, value, type, size) %}
<input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
{% endmacro %}
« More »
Twig_TokenParser_Sandbox¶
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
{% sandbox %}
{% include 'user.html' %}
{% endsandbox %}
« More »
Twig_TokenParser_Set¶
Defines a variable.
{% set foo = 'foo' %}
{% set foo = [1, 2] %}
{% set foo = {'foo': 'bar'} %}
{% set foo = 'foo' ~ 'bar' %}
{% set foo, bar = 'foo', 'bar' %}
{% set foo %}Some content{% endset %}
« More »
Twig_TokenParser_Spaceless¶
Remove whitespaces between HTML tags.
{% spaceless %}
<div>
<strong>foo</strong>
</div>
{% endspaceless %}
{# output will be <div><strong>foo</strong></div> #}
« More »
Twig_TokenParser_Use¶
Imports blocks defined in another template into the current template.
{% extends "base.html" %}
{% use "blocks.html" %}
{% block title %}{% endblock %}
{% block content %}{% endblock %}
« More »
Twig_TokenParser_With¶
Creates a nested scope.
« More »
Twig_TokenParserBroker¶
Default implementation of a token parser broker.
« More »
Twig_TokenParserInterface¶
Interface implemented by token parsers.
« More »
Twig_TokenStream¶
Represents a token stream.
« 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 »
TwigFilter¶
Represents a template filter.
« More »
TwigFunction¶
Represents a template function.
« More »
TwigTest¶
Represents a template test.
« More »
TwistedEdwards¶
Curves over a*x^2 + y^2 = 1 + d*x^2*y^2
« More »
TwoFactorAdminLogin¶
Base class for plugins.
« More »
Twofish¶
Pure-PHP implementation of Twofish.
« More »
UnableToConnectException¶
UnableToConnectException
« 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 »
UnsupportedAlgorithmException¶
UnsupportedAlgorithmException
« More »
UnsupportedCurveException¶
UnsupportedCurveException
« More »
UnsupportedOperationException¶
UnsupportedOperationException
« More »
Update_133¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_134¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_135¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_136¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_137¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_138¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_139¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_140¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_141¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_142¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_143¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_145¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_146¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_147¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_148¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_149¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_150¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_151¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_152¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_153¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_154¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_155¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_156¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_157¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_158¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_159¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_160¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_161¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_162¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_164¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_165¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_166¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_167¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_168¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_169¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_170¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_171¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_172¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_173¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_174¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_175¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_176¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_177¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_178¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_179¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_180¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_181¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_183¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_184¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_250¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_251¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_252¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_253¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_254¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_255¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_256¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_257¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_258¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_259¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_260¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_261¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_262¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_263¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_290¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_291¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_293¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_294¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_296¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_298¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_304¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_305¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_306¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_307¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_308¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_309¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_310¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_311¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_312¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_313¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_314¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_315¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_316¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_317¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_318¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_319¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_320¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_321¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_322¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_323¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_324¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_325¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_326¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_327¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_328¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_329¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_330¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_331¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_332¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_333¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_334¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_335¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_336¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_337¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_338¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_339¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_340¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_341¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_342¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_343¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_344¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_345¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_346¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_347¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_348¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_349¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_350¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_351¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_352¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_353¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_354¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_355¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_356¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_357¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_358¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_359¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_360¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_363¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_364¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_400¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_401¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_402¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_403¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_404¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_405¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_406¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_407¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_408¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_409¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_410¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_411¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_412¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_413¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_414¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_415¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_416¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_417¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_418¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_419¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_420¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_421¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_422¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_423¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_424¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_425¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_426¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_427¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_428¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_429¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_430¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_431¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_432¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_433¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_434¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_435¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_436¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_437¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_438¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_439¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_440¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_441¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_442¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_443¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_444¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_445¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_446¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_447¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_448¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_449¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_450¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_451¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_452¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_453¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_460¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_470¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_471¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_472¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_473¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_475¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_476¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_477¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_478¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_479¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_480¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_481¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_482¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_483¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_484¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_485¶
Add missing noTablesOnMobile.css to vanilla configs again. It was done on 428, but the bug on LsDefaultDataSets remained
causing problems on new installations.
See more info in README file in same folder.
« More »
Update_486¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_487¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_488¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_489¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_490¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_491¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_492¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_493¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_494¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
Update_495¶
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
« More »
UpdateCheck¶
Plugin to check for extension updates after a super admin logs in.
Uses the ExtensionInstaller library.
« More »
User¶
The followings are the available columns in table 'tbl_user':
« More »
UserGroupController¶
class UserGroupController
this controller will have all the necessary methods from the old AdminController
« More »
UserIdentity¶
UserIdentity represents the data needed to identity a user.
It contains the authentication method that checks if the provided
data can identity the user.
« More »
UserIdentity¶
UserIdentity represents the data needed to identity a user.
It contains the authentication method that checks if the provided
data can identity the user.
« More »
UserInPermissionrole¶
This is the model class for table "{{user_in_permissionrole}}".
The following are the available columns in table '{{user_in_permissionrole}}':
« More »
UserParser¶
Importing class to get users from a CSV file
« More »
UseTokenParser¶
Imports blocks defined in another template into the current template.
{% extends "base.html" %}
{% use "blocks.html" %}
{% block title %}{% endblock %}
{% block content %}{% endblock %}
« More »
Util¶
Class ParagonIE_Sodium_Core_Util
« More »
ValidateExpressionCommand¶
LimeSurvey (tm)
Copyright (C) 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 »
ValueLabel¶
The value label records documented in this section are used for numeric and short string variables only.
Long string variables may have value labels, but their value labels are recorded using a different record type.
« More »
VersionFetcherServiceLocator¶
Central Yii component to add and retrieve version fetcher strategies.
« More »
viewHelper¶
General helper class for generating views.
« More »
WithTokenParser¶
Creates a nested scope.
« 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 »
X25519¶
Class ParagonIE_Sodium_Core_X25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
« More »
XChaCha20¶
Class ParagonIE_Sodium_Core_XChaCha20
« More »
Xsalsa20¶
Class ParagonIE_Sodium_Core_XSalsa20
« More »