Outputs the table data in sql format
package | Default |
---|---|
Outputs the table structure in sql format
package | Default |
---|---|
This function is adapted from code coming from Zend Framework.
package | Default |
---|---|
copyright | Copyright (c) 2005-2012 Zend Technologies USA Inc. (https://www.zend.com) |
license | https://framework.zend.com/license/new-bsd New BSD License |
Return accepted codingsArray for importing files
Used in vvimport TODO : use in token and
package | Default |
---|---|
array
package | Default |
---|
string
string
Renames a language code in the whole LimeSurvey database
package | Default |
---|
string
string
package | Default |
---|
mixed
mixed
string
integer
array
Add two arbitrary precision numbers
package | Default |
---|---|
var | optional |
Compare two arbitrary precision numbers
package | Default |
---|---|
var | optional |
Divide two arbitrary precision numbers
package | Default |
---|---|
var | optional |
Get modulus of an arbitrary precision number
package | Default |
---|---|
var | optional |
Multiply two arbitrary precision numbers
package | Default |
---|---|
var | optional |
Raise an arbitrary precision number to another
package | Default |
---|---|
var | optional |
Raise an arbitrary precision number to another, reduced by a specified modulus
package | Default |
---|---|
var | optional |
Set or get default scale parameter for all bc math functions
package | Default |
---|---|
var | |
Get the square root of an arbitrary precision number
package | Default |
---|---|
var | optional |
Subtract one arbitrary precision number from another
package | Default |
---|---|
var | optional |
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
package | Default |
---|
integer
@param string $language The language to use
@return array $selects array of individual select statements that can be added/appended to
the 'where' portion of a SQL statement to restrict the result set
ie: array("FIELDNAME
='Y'", "FIELDNAME2
='Hello'");
buildXMLFromQuery() creates a datadump of a table in XML using XMLWriter
package | Default |
---|
mixed
The existing XMLWriter object
mixed
The table query to build from
string
If the XML tag of the resulting question should be named differently than the table name set it here
array<mixed,string>
array of columnames not to include in export
This function calculates how much space is actually used by all files uploaded using the File Upload question type
package | Default |
---|---|
returns | integer Actual space used in MB |
Check whether we can show the JS date picker with the current format
package | Default |
---|---|
returns | integer |
array Date format details for the question
array Available date formats
package | Default |
---|---|
deprecated | 2018-01-29 has undefined function my_utf8_decode inside !! |
string
string
boolean
Checks the validity of IP address $ip
package | Default |
---|
string
to check
boolean
true if the $ip is a valid IP address
package | KCFinder @version 3.12 @author Dany Alejandro Cabrera otello2040@gmail.com |
---|---|
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
package | Default |
---|---|
checks consistency of groups
package | Default |
---|
integer
\
checks if any group exists
package | Default |
---|
integer
\
checkMoveQuestionConstraintsForConditions()
package | Default |
---|
string
string
string
array
This should be read as:
checks questions in a survey for consistency
package | Default |
---|
integer
integer
array|boolean
$faildcheck
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.
package | Default |
---|
cleanLanguagesFromSurvey() removes any languages from survey tables that are not in the passed list
package | Default |
---|
string
This function cleans files from the temporary directory being older than 1 day
package | Default |
---|---|
todo | Make the days configurable |
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
package | Default |
---|
array
array
integer
Used by usort() to order $this->questionSeq2relevance in proper order
package | Default |
---|
array
array
integer
package | Default |
---|---|
todo | Unify errors and warnings with a EMErrorComparableInterface |
integer
package | Default |
---|---|
used to translate simple text to html (replacing \n with <br />
package | Default |
---|
mixed
mixed
mixed
This is a convenience function for the coversion of datetime values
package | Default |
---|
mixed
string
mixed
string
convertGETtoPOST a function to create a post Request from get parameters !!! This functions result has to be wrappen in singlequotes!
package | Default |
---|
String
| The complete url with all parameters
String
| The onclick action for the element
This functions translates LimeSurvey specific locale code to a matching datetimepicker locale
package | Default |
---|
string
LimeSurvey locale code
This function transforms the php.ini notation for numbers (like '2M') to an integer (2*1024*1024 in this case)
package | Default |
---|
string
integer
The value in bytes
This is a convenience function to convert any date, in any date format, to the global setting date format Check if the time shoul be rendered also
package | Default |
---|
string
boolean
string
Generate a chart for a question
@param int $iQuestionID ID of the question
package | Default |
---|
integer
ID of the survey @param mixed $type Type of the chart to be created - null produces bar chart, any other value produces pie chart @param array $lbl An array containing the labels for the chart items @param mixed $gdata An array containing the percentages for the chart items @param mixed $grawdata An array containing the raw count for the chart items @param pCache $cache An object containing [Hashkey] and [CacheFolder] @param mixed $sLanguageCode Language Code @param string $sQuestionType The question type @return false|string
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
package | Default |
---|
integer
Id of the Survey in question
array
an array which is the result of a query in Questions model
string
array
The summary
This function generates an array containing the fieldcode, and matching data in the same order as the activate script
package | Default |
---|
string
'short' (default) or 'full' - full creates extra information like default values
\?boolean
boolean|integer
Limit to a certain qid only (for question preview) - default is false
string
The language to use
array
array
Returns the fieldmap for responses
package | Default |
---|---|
Throws |
|
array
Create a directory in tmp dir using a random string
package | Default |
---|
string
the temp directory (if empty will use the one from configuration)
string
wanted prefix for the directory
integer
wanted file mode for this directory
string
the path of the created directory
This function generates an array containing the fieldcode, and matching data in the same order as the activate script
package | Default |
---|
string
The Survey ID
string
'short' (default) or 'full' - full creates extra information like default values
boolean
integer
Limit to a certain qid only (for question preview) - default is false
string
The language to use
array
Get a random number between two values using openssl_random_pseudo_bytes
package | Default |
---|
integer
integer
string
This function imports a CSV file into the response table CSV file is deleted during process
package | Default |
---|
string
integer
array
Return array $result ("errors","warnings","success")
This function removes surrounding and masking quotes from the CSV field
package | Default |
---|
mixed
mixed
Return class of a specific row (hidden by relevance)
package | Default |
---|
integer
actual survey id
string
the base name of the question
string
The name of the question/row to test
array
the question attributes
string
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
package | Default |
---|
string
string
mixed
string
package | Default |
---|
integer
The previous database version
boolean
Run update silently with no output - this checks if the update can be run silently at all. If not it will not run any updates at all.
package | Default |
---|---|
deprecated | Do not use anymore. If you see this replace it with a proper ActiveRecord Model query |
Throws |
|
string
array|boolean
boolean
boolean|\CDbDataReader
Gets the table names. Do not prefix.
package | Default |
---|---|
uses | To get the tables like sql query |
string
String to match
array
Array of matched table names
Escapes a text value for db
package | Default |
---|
string
string
Return the database-specific random function to use in ORDER BY sql statements
package | Default |
---|---|
string
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
package | Default |
---|
mixed
string
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
package | Default |
---|
string
The original token attributes as stored in the database
array|mixed
Update Encryption for archived tables
package | Default |
---|---|
Throws |
|
\CDbConnection
Update encryption for CPDB participants
package | Default |
---|---|
Throws |
|
\CDbConnection
Update encryption for survey participants
package | Default |
---|
\CDbConnection
Update encryption for survey responses
package | Default |
---|---|
Throws |
|
\CDbConnection
package | Default |
---|---|
deprecated | 4.0 Replaced by core\QuestionTypes\RenderArrayFlexibleRow |
Construct answer part array_5point
package | Default |
---|
array
array
package | Default |
---|---|
deprecated | 4.0 Replaced by core\QuestionTypes\ArrayMultiscale |
Renders array by column question type.
package | Default |
---|---|
Throws |
|
array
array
Renders Gender Question Types.
package | Default |
---|
array
array
package | Default |
---|---|
deprecated | 4.?.? |
see | \RenderMultipleNumerical\DataSetMultipleNumerical |
package | Default |
---|---|
deprecated | 4.0 Replaced by core\QuestionTypes\RankingStyle |
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). *
package | Default |
---|
string
name of the view to be rendered.
array
data to be extracted into PHP variables and made available to the view script
boolean
whether the rendering result should be returned instead of being displayed to end users (should be always true)
Drops a column, automatically removes blocking default value on MSSQL
package | Default |
---|
string
string
Drop a default value in MSSQL
package | Default |
---|
string
mixed
Drops the primary key of a table
package | Default |
---|
string
string
This function drops a secondary key of an MSSQL database field by using the field name and the table name
package | Default |
---|
string
mixed
This function drops a unique Key of an MSSQL database field by using the field name and the table name
package | Default |
---|
string
string
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.
package | Default |
---|---|
Ellipsize String
This public static function will strip tags from a string, split it at its max_length and ellipsize
package | Default |
---|
string
string to ellipsize
integer
max length of string
integer
int (1|0) or float, .5, .2, etc for position to split
string
ellipsis ; Default '...'
string
ellipsized string
Sends email to tokens - invitations, reminders, registers, and confirmations Seems used only in remote_control : maybe move it to ?
package | Default |
---|
integer
array<mixed,\CActiveRecord>
string
type of notification invite|register|remind|confirm
array
of results
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.
package | Default |
---|---|
As gT(), but echoes directly
package | Default |
---|
string
string
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(.
..)) }}
package | Default |
---|
mixed
string
Javascript equivalent does not cope well with ENT_QUOTES and related PHP constants, so set default to ENT_QUOTES
package | Default |
---|
string
string
Javascript equivalent does not cope well with ENT_QUOTES and related PHP constants, so set default to ENT_QUOTES
package | Default |
---|
string
string
Find the closest matching Numerical input values in a list an replace it by the corresponding value within another list
package | Default |
---|---|
author | Johannes Weberhofer, 2013 |
double
integer
string
string
integer|null
Count the number of answered questions (non-empty)
package | Default |
---|
array
integer
Count the number of answered questions (non-empty) which match the first argument
package | Default |
---|
array
integer
Count the number of answered questions (non-empty) which meet the criteria (arg op value)
package | Default |
---|
array
integer
Return format a local time/date Need to test if timestamp is numeric (else E_WARNING with debug>0)
package | Default |
---|---|
link |
string
integer
string|false
Return true if the variable is NULL or blank.
package | Default |
---|
null|string|boolean
boolean
Display number with comma as radix separator, if needed
package | Default |
---|
string
string
If $test is true, return $iftrue, else return $iffalse
package | Default |
---|
mixed
mixed
mixed
mixed
Join together $args[1-N] with $arg[0]
package | Default |
---|
array
string
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.
Join together $args[0-N] with ', '
package | Default |
---|
array
string
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)
package | Default |
---|
array
string
return log($arg[0],$arg[1]=e)
package | Default |
---|
array
float
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
package | Default |
---|
integer
integer
integer
integer
integer
integer
integer|boolean
Return true if $input matches the regular expression $pattern
package | Default |
---|
string
string
boolean
Compute the Sample Standard Deviation of a set of numbers ($args[0-N])
package | Default |
---|
array
float
Find position of first occurrence of unicode string in a unicode string, case insensitive
package | Default |
---|
string
: checked string
string
: string to find
: offset
integer|false
: position or false if not found
Finds first occurrence of a unicode string within another, case-insensitive
package | Default |
---|
string
: checked string
string
: string to find
boolean
: portion to return
string|false
Get unicode string length
package | Default |
---|
string
integer
Find position of first occurrence of unicode string in a unicode string
package | Default |
---|
string
: checked string
string
: string to find
integer
: offset
integer|false
: position or false if not found
Finds first occurrence of a unicode string within another
package | Default |
---|
string
: checked string
string
: string to find
boolean
: portion to return
string|false
Make an unicode string lowercase
package | Default |
---|
string
string
Make an unicode string uppercase
package | Default |
---|
string
string
Get part of unicode string
package | Default |
---|
string
integer
integer
string
Sum of values of answered questions which meet the criteria (arg op value)
package | Default |
---|
array
integer
Returns true if all non-empty values are unique
package | Default |
---|
array
boolean
Read a csv file and return a tmp resources to same file in utf8 CSV file is deleted during process
package | Default |
---|
string
string
from
resource
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.
package | Default |
---|
string
string
This is a helper function for getAttributeFieldNames
package | Default |
---|
mixed
boolean
fixLanguageConsistency() fixes missing groups, questions, answers, quotas & assessments for languages on a survey
package | Default |
---|
string
string
string
boolean
package | Default |
---|
integer
integer
integer
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)
package | Default |
---|---|
todo | can call this function (no $_GET, but getParam) AND do it with Yii |
integer
Function rewrites the sortorder for a label set
package | Default |
---|
mixed
Label set ID
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
package | Default |
---|
string
Table name without prefix
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
package | Default |
---|---|
This functions removes all HTML tags, Javascript, CRs, linefeeds and other strange chars from a given text
package | Default |
---|
string
Text you want to clean
boolean
set to true for keep span, used for expression manager. Default: false
boolean
If set to true then all HTML entities will be decoded to the specified charset. Default: false
string
Charset to decode to if $decodeHTMLEntities is set to true. Default: UTF-8
string
strip new lines if true, if false replace all new line by \r\n. Default: true
string
Cleaned text
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.
package | Default |
---|
string
Folder
integer
Size in bytes.
A function to remove .
./ or ./ from paths to prevent directory traversal
package | Default |
---|
string
string
package | KCFinder @version 3.12 @author Dany Alejandro Cabrera otello2040@gmail.com |
---|---|
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
package | Default |
---|
string
integer
getArrayFilterExcludesCascadesForGroup() queries the database and produces a list of array_filter_exclude questions and targets with in the same group
package | Default |
---|---|
array
a keyed nested array, keyed by the qid of the question, containing cascade information
Retrieves the attribute field names from the related survey participants table
package | Default |
---|
mixed
The survey ID
array
The fieldnames
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
package | Default |
---|---|
Returns all available dateformats in a structured aray If $iDateFormat is given only the particual dateformat will be returned
package | Default |
---|---|
returns | array |
integer
string
Get the date format details for a specific question.
package | Default |
---|---|
returns | array |
array Question attributes
mixed Array of Survey attributes or surveyid
Get the date format for a specified survey
package | Default |
---|---|
returns | integer |
integer Survey id
string Survey language code (optional)
Returns Editor.
package | Default |
---|
string
Field Type
string
Field Name
integer|null
Survey ID
integer|null
Group ID
integer|null
Question ID
string
Action
string
Return error information from pattern of regular expression $pattern
package | Default |
---|
string
string
string|null
package | Default |
---|
integer
The Survey ID
string
Field code of the particular field
string
The stored response value
string
Initialized limesurvey_lang object for the resulting response data
string
Creates an array with details on a particular response for display purposes Used in Print answers, Detailed response view and Detailed admin notification email
package | Default |
---|
mixed
mixed
mixed
boolean
Apply conditions
array
getGidNext() returns the Gid of the group next to the current active group
package | Default |
---|
integer
integer
integer|string
The Gid of the next group or blank string if no group
getGidPrevious() returns the Gid of the group prior to the current active group
package | Default |
---|
integer
integer
integer|string
The GID of the previous group or blank string if no group
Returns a global setting
package | Default |
---|---|
deprecated | : use App()->getConfig($settingname) since all config are set at start of App : no need to read and test again |
string
string
getGroupDepsForConditions() get Dependencies between groups caused by conditions
package | Default |
---|
string
string
string
string
array
Example outupt assumin $index-by="by-depgid": Array ( [125] => Array // Group Id 125 is dependent on ( [123] => Array // Group Id 123 ( [depgpname] => G3 // GID-125 has name G3 [targetgpname] => G1 // GID-123 has name G1 [conditions] => Array ( [189] => Array // Because Question Id 189 ( [0] => 9 // Have condition 9 set [1] => 10 // and condition 10 set [2] => 14 // and condition 14 set )
)
)
[124] => Array // GID 125 is also dependent on GID 124
(
[depgpname] => G3
[targetgpname] => G2
[conditions] => Array
(
[189] => Array // Because Question Id 189 have conditions set
(
[0] => 11
)
[215] => Array // And because Question Id 215 have conditions set
(
[0] => 12
)
)
)
)
)
Usage example:
put your comment there.
..
package | Default |
---|
mixed
mixed
string
Queries the database for the sortorder of a group.
package | Default |
---|
mixed
The groups ID
integer
The sortorder digit
get the header
package | Default |
---|
boolean
: not used in any call (2016-10-18)
string
package | Default |
---|---|
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
package | Default |
---|---|
string
Client's IP Address
Convert a 'dateformat' format string to a 'jsdate' format.
For Bootstrap, that means using capital letters, e.g. MM/DD/YYYY instead of mm/dd/yyyy and mm instead of MM for minutes.
package | Default |
---|---|
returns | string |
string
Find the label / input width
package | Default |
---|
string|integer
label width from attribute
string|integer
input width from attribute
array
labelWidth as integer,inputWidth as integer,defaultWidth as boolean
Returns labelsets for given language(s), or for all if null
package | Default |
---|
string
array
Returns a language code from the name
package | Default |
---|
string
this is the name of the language (e.g. 'English' see array in getLanguageData())
integer|string
package | Default |
---|
boolean
string
mixed
Returns the locale settings for a certain language code
package | Default |
---|
string
array
Array with locale details
Returns a language name from the code
package | Default |
---|---|
todo | Should not give back different data types |
string
boolean
string
string|array
Retrieves the last Insert ID realiable for cross-DB applications
package | Default |
---|
string
Needed for Postgres and MSSQL
string
Queries the database for the maximum sortorder of a group and returns the next higher one.
package | Default |
---|
integer
The survey ID
integer
Next free sortorder digit
Queries the database for the maximum sort order of questions inside question group.
package | Default |
---|
integer
integer
package | Default |
---|
string
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
package | Default |
---|
integer
The Survey ID
array
Convert a 'dateformat' format string to a 'phpdate' format.
package | Default |
---|---|
returns | string |
string
string
package | Default |
---|
string
This function returns the header for the printable survey
package | Default |
---|---|
String
getQuestDepsForConditions() get Dependencies between groups caused by conditions
package | Default |
---|
string
string
string
string
string
array
Example outupt assumin $index-by="by-depqid": Array ( [184] => Array // Question Id 184 ( [183] => Array // Depends on Question Id 183 ( [0] => 5 // Because of condition Id 5 )
)
)
Usage example:
Returns the questionAttribtue value set or '' if not set
package | Default |
---|---|
author | : lemeur |
string
string Optional: The language if the particualr attributes is localizable
string
Return data to populate a Google Map
package | Default |
---|
string
Survey id
array
Returns avaliable formats for Radix Points (Decimal Separators) or returns radix point info about a specific format.
@param int $format Format ID/Number [optional]
package | Default |
---|---|
integer|array
Generate a random string, using openssl if available, else using md5
package | Default |
---|
integer
wanted lenght of the random string (only for openssl mode)
string
Returns a sorted array of update objects with version higher than $iOldDBVersion
package | Default |
---|---|
todo | Move to class? |
integer
\CDbConnection
string
array<mixed,\LimeSurvey\Helpers\Update\DatabaseUpdateBase>
Return an array of subquestions for a given sid/qid
package | Default |
---|
integer
integer
string
Language of the subquestion text
array
Gets all survey infos in one big array including the language specific settings
package | Default |
---|
integer
The survey ID
string
The language code - if not given the base language of the particular survey is used
boolean
If true, don't use memoization
array|boolean
Returns array with survey info or false, if survey does not exist
getSurveyList() Queries the database (survey table) for a list of existing surveys
package | Default |
---|
boolean
If set to true an array instead of an HTML option list is given back
string|array
This string is returned containing formatted list of existing surveys
This function returns the complete directory path to a given template name
package | Default |
---|
mixed
string
This function returns the complete URL path to a given template name
package | Default |
---|
mixed
string
Retrieves the attribute names from the related survey participants table
package | Default |
---|
mixed
The survey ID
boolean
Set this to true if you only want the fieldnames of the additional attribue fields - defaults to false
array
The fieldnames as key and names as value in an Array
Get a list of all user groups All user group or filtered according to usercontrolSameGroupPolicy
package | Default |
---|---|
returns | array |
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.
package | Default |
---|
string could be 'onlyuidarray' which only returns array with userids, default is 'fullinfoarray'
array
returns a list of user ids (param='onlyuidarray') or a list with full user details (e.g. uid, name, full_name etc.)
Exports a single table to XML
package | Default |
---|
integer
The survey ID
string
The database table name of the table to be export
string
What doctype should be written
string
Name of the tag table name in the XML file
string|boolean
XMLWriter object
Wrapper function to retrieve an xmlwriter object and do error handling if it is not compiled into PHP
package | Default |
---|---|
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 ?
package | Default |
---|
mixed
mixed
integer
Returns $sToTranslate translated to $sLanguage (defaults to lang set in session) escaped with $sEscapeMode
package | Default |
---|
string
string
Valid values are html (this is the default, js and unescaped)
string
string
Returns true if the given survey has a File Upload Question Type
package | Default |
---|
integer
boolean
put your comment there.
..
package | Default |
---|
integer
string
boolean
make a string safe to include in an HTML 'value' attribute.
package | Default |
---|---|
deprecated | If you need this you are doing something wrong. Use CHTML functions instead. |
Format size in human readable format.
package | Default |
---|
integer
integer
string
Import default values inside $xml, record process in $results Also imports defaultvalue_l10ns.
package | Default |
---|
\SimpleXMLElement
array
array
package | Default |
---|
string
boolean
string
integer
This function return actual completion state
package | Default |
---|---|
string|boolean
(complete|incomplete|all) or false
This function checks if a certain template may be by modified, copied, deleted according to the settings in config.php
package | Default |
---|
mixed
Check if array is associative
package | Default |
---|
array
boolean
isCaptchaEnabled($screen, $usecaptchamode)
package | Default |
---|
string
boolean|null
Check if string is JSON array
package | Default |
---|
string
boolean
Returns true if passed $value is numeric
package | Default |
---|
boolean
Check if $str is an integer, or string representation of an integer
package | Default |
---|
string
boolean|integer
Test if a given zip file is Zip Bomb see comment here : http://php.net/manual/en/function.zip-entry-filesize.php
package | Default |
---|
string
integer
Decode a json string, sometimes needs stripslashes
package | Default |
---|
string
mixed
Creates a <select> HTML element for language selection for this survey
package | Default |
---|
integer
string
The selected language
string
package | Default |
---|
mixed
mixed
mixed
mixed
mixed
longestString() returns the length of the longest string past to it.
package | Default |
---|---|
peram | string $new_string integer $longest_length length of the (previously) longest string passed to it. |
integer
integer
representing the length of the longest string passed (updated if $new_string was longer than $longest_length)
usage should look like this: $longest_length = longestString( $new_string , $longest_length );
Must use ls_json_encode to json_encode content, otherwise LimeExpressionManager will think that the associative arrays are expressions and try to parse them.
package | Default |
---|---|
package | Default |
---|---|
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
package | Default |
---|
string
The path where a file with sql commands can be found on the server.
string
If no path is supplied then a string with semicolon delimited sql commands can be supplied in this argument.
boolean
Returns true if database was modified successfully.
Modifies a primary key in one command - this is only tested on MySQL
package | Default |
---|
string
The table name
array<mixed,string>
Column names to be in the new key
Deletes a column and removes all constraints from it
package | Default |
---|
string
The table the column should be deleted
string
The column that should be deleted
Translation helper function for plural forms which outputs right away
package | Default |
---|
string
integer
string
Translation helper function for plural forms
package | Default |
---|
string
integer
string
string
Find the numeric size according DB size for existing question for SPSS export Column name must be SGQA currently
package | Default |
---|
boolean
db type as decimal(30,10)
string
integersize.decimalsize
Outputs a full dump of the current LimeSurvey database
package | Default |
---|
string
Database Name
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
package | Default |
---|
mixed
string - the string to iterate, and then return
mixed
string - the string containing the surveyinformation
string
This string is returned containing the substituted responses
Checks Permission for the current user and returns an array with Permissions
package | Default |
---|
array
array
array
PCLZip callback for plugin ZIP install.
package | Default |
---|
mixed
mixed
integer
Return 1 for yes (file can be extracted), 0 for no
package | Default |
---|---|
Throws |
|
DbConnection
from export_structure_quexml.php
package | Default |
---|---|
Create a queXML question element
package | Default |
---|
\CActiveRecord
Question details in array
boolean|string
Any additional question text to append
from export_structure_quexml.php
package | Default |
---|---|
Export quexml survey.
package | Default |
---|---|
from export_structure_quexml.php
package | Default |
---|---|
Format defaultValue of Date/Time questions according to question date format
package | Default |
---|
mixed
DOM element with the date to change
integer
The qid of the question
integer
The survey id
Set defaultValue attribute of provided element from response table
package | Default |
---|
mixed
DOM element to add attribute to
integer
The response id
integer
The qid of the question
integer
The survey id
array
A mapping of fields to qid
boolean|string
Anything additional to search for in the field name
boolean|string
Search using sqid instead of qid
boolean|string
Search using aid
Set defaultValue attribute of provided element from response table
package | Default |
---|
mixed
DOM element to add attribute to
integer
The response id
integer
The qid of the question
integer
The survey id
array
A mapping of fields to qid
string
The answer code to search for
from export_structure_quexml.php
package | Default |
---|---|
Calculate if this item should have a QueXMLSkipTo element attached to it
from export_structure_quexml.php
package | Default |
---|---|
author | Adam Zammit adam.zammit@acspri.org.au |
since | 2010-10-28 |
TODO | Correctly handle conditions in a database agnostic way |
mixed
mixed
boolean|string
Text of item to skip to otherwise false if nothing to skip to
Quotes a string with surrounding quotes and masking inside quotes by doubling them
package | Default |
---|
string
Text to quote
string
The quote character (Use ' for SPSS and " for R)
string
General field information from SPSSFieldmap
Quotes a translation according to purpose if sEscapeMode is null, we use HTML method because probably we had to specify null as sEscapeMode upstream
package | Default |
---|
mixed
Text to quote
string
Optional - One of the values 'html','js' or 'unescaped' - defaults to 'html'
mixed|string
Creates a random sequence of characters
package | Default |
---|
integer
Length of resulting string
string
To define which characters should be in the resulting string
string
Applies preg_replace recursively until $recursion_limit is exceeded or no more replacements are done.
package | Default |
---|
array|string
array|string
array|string
integer
integer
If specified, this variable will be filled with the total number of replacements done (including all iterations)
integer
Max number of iterations allowed
string|array
Force Yii to create a new CSRF token by removing the old one
package | Default |
---|---|
Regenerate codes for problematic label sets Helper function (TODO: Put in separate class) Fails silently
package | Default |
---|
integer
Label set id
boolean
Should be true before dbversion 400 is finished, false after
This function removes the UTF-8 Byte Order Mark from a string
package | Default |
---|
string
string
Remove all zero-dates in $tableName by checking datetime columns from $tableSchema Zero-dates are replaced with null where possible; otherwise 1970-01-01
package | Default |
---|
string
\CDbTableSchema
\CDbConnection
Replaces EM variable codes in a current survey with a new one
package | Default |
---|
integer
The survey ID
mixed
The codemap array (old_code=>new_code)
package | Default |
---|---|
Helper to filter the contents of a .zip file uploaded into the file manager
package | Default |
---|---|
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
package | Default |
---|
array
Details of $ia can be found at top of this file
array
Array like [array $qanda, array $inputnames] where $qanda has elements [ $qtitle (question_text) : array [ all : string; complete HTML?; all has been added for backwards compatibility with templates that use question_start.pstpl (now redundant) 'text' => $qtitle, question?? $ia[3]? 'code' => $ia[2] or title?? 'number' => $number 'help' => '' 'mandatory' => '' man_message : string; message when mandatory is not answered 'valid_message' => '' file_valid_message : string; only relevant for file upload 'class' => '' 'man_class' => '' 'input_error_class' => '' // provides a class. 'essentials' => '' ] $answer ? 'help' : string $display : ? $qid : integer $ia[2] = title; $ia[5] = group id : int $ia[1] = fieldname : string ] and $inputnames is ? used for hiddenfieldnames and upload file?
package | Default |
---|
string
string
package | Default |
---|
string
package | Default |
---|
string
string
This function returns POST/REQUEST vars, for some vars like SID and others they are also sanitized TODO: extends Yii:getParam
package | Default |
---|
string
boolean
array|boolean|mixed|integer|null
This function creates the old fieldnames for survey import
package | Default |
---|
mixed
The old survey id
integer
The new survey id
array
An array with group ids (oldgid=>newgid)
array
An array with question ids (oldqid=>newqid)
array|boolean
This function removes a directory recursively
package | Default |
---|
string
boolean
Roll back to a transaction bookmark
package | Default |
---|
mixed
Name of the bookmark
PHP7 has created a little nasty bomb with count throwing erroros on uncountables This is to "fix" this problem
package | Default |
---|---|
author |
mixed
integer
counted element
Provides a safe way to end the application
package | Default |
---|---|
todo | This should probably never be used, since it returns 0 from CLI and makes PHPUnit think all is fine :( |
mixed
Remove all chars from $value that are not alphanumeric or dash or underscore
package | Default |
---|
string
string
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.
package | Default |
---|---|
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.
package | Default |
---|---|
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.
package | Default |
---|---|
deprecated | : leave it in 4.0 for plugins ? Must remove in 5.0 at minima. |
string
Body text of the email in plain text or HTML
mixed
Email subject
mixed
Array with several email addresses or single string with one email address
mixed
mixed
boolean
mixed
mixed
boolean
If successful returns true
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
package | Default |
---|
mixed
Name of the bookmark
setupColumns() defines all the html tags to be wrapped around various list type answers.
package | Default |
---|---|
deprecated | Don't use anymore. Only usage left in printabel survey where it needs to be replaced It returns an array with the following items: $wrapper['whole-start'] = Opening wrapper for the whole list $wrapper['whole-end'] = closing wrapper for the whole list $wrapper['col-devide'] = normal column devider $wrapper['col-devide-last'] = the last column devider (to allow for different styling of the last column $wrapper['item-start'] = opening wrapper tag for individual option $wrapper['item-start-other'] = opening wrapper tag for other option $wrapper['item-start-noanswer'] = opening wrapper tag for no answer option $wrapper['item-end'] = closing wrapper tag for individual option $wrapper['maxrows'] = maximum number of rows in each column $wrapper['cols'] = Number of columns to be inserted (and checked against) Columns are a problem. Really there is no perfect solution to columns at the moment.
Because I haven't been able to decide which option is the least bad, I have handed over that responsibility to the admin who sets LimeSurvey up on their server. There are four options: 'css' using one of the various CSS only methods for rendering columns. (Check the CSS file for your chosen template to see how columns are defined.) 'ul' using multiple floated unordered lists. (DEFAULT) 'table' using conventional tables based layout. NULL blocks the use of columns 'ul' is the default because it's the best possible compromise between semantic markup and visual layout. |
integer
integer
string
string
array
with all the various opening and closing tags to generate a set of columns.
Implode and sort content array for very long arrays
package | Default |
---|
string
array
string
String showing array content
Determines whether the list of user groups will need filtering before viewing.
package | Default |
---|---|
returns | bool |
This function converts emebedded Javascript to Text
package | Default |
---|
string
String to clean
string
Cleaned string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::add() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::bin2base64() |
Throws |
|
string
integer
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::bin2base64() |
Throws |
|
string
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::hex2bin() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::compare() |
Throws |
|
string
string
integer
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_auth() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_auth_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_auth_verify() |
Throws |
|
string
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_keypair() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_open() |
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_publickey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_seal() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_seal_open() |
Throws |
|
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_seed_keypair() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_add() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_from_hash() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_is_valid_point() |
Throws |
|
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_random() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_add() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_complement() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_invert() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_mul() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_negate() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_random() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_reduce() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_scalar_sub() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::ristretto255_sub() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash() |
Throws |
|
string
string|null
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_final() |
Throws |
|
string|null
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_init() |
Throws |
|
string|null
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_update() |
Throws |
|
string|null
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_kdf_derive_from_key() |
Throws |
|
integer
integer
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_kx() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
Throws |
|
string
string
\array{0:
string, 1: string}
package | Default |
---|---|
Throws |
|
string
string
package | Default |
---|---|
Throws |
|
string
string
package | Default |
---|---|
Throws |
|
string
string
package | Default |
---|---|
Throws |
|
string
string
\array{0:
string, 1: string}
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash() |
Throws |
|
integer
string
string
integer
integer
integer|null
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256() |
Throws |
|
integer
string
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str() |
Throws |
|
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str_verify() |
Throws |
|
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_str() |
Throws |
|
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_str_needs_rehash() |
Throws |
|
string
integer
integer
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_str_verify() |
Throws |
|
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_scalarmult() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_scalarmult_base() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_scalarmult_ristretto255() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_scalarmult_ristretto255_base() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_secretbox() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_secretbox_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_secretbox_open() |
string
string
string
string|boolean
package | Default |
---|---|
Throws |
|
string
string
string
package | Default |
---|---|
Throws |
|
string
\arraystring>
package | Default |
---|---|
Throws |
|
string
package | Default |
---|---|
Throws |
|
string
string
string
boolean|\array{0:
string, 1: int}
package | Default |
---|---|
Throws |
|
string
string
string
integer
string
package | Default |
---|---|
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_shorthash() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_shorthash_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_detached() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_keypair() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_keypair_from_secretkey_and_publickey() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_open() |
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_publickey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_seed_keypair() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_verify_detached() |
Throws |
|
string
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream() |
Throws |
|
integer
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_xchacha20() |
Throws |
|
integer
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic() |
Throws |
|
string
string
integer
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_xor() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::hex2bin() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::increment() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::memcmp() |
Throws |
|
string
string
integer
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::memzero() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::pad() |
Throws |
|
string
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::randombytes_buf() |
Throws |
|
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::randombytes_random16() |
Throws |
|
integer
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::randombytes_uniform() |
Throws |
|
integer
integer
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::pad() |
Throws |
|
string
integer
string
Sodium_Compat autoloader.
package | Default |
---|
string
Class name to be autoloaded.
boolean
Stop autoloading?
Sort array by column name
package | Default |
---|
array
string
Exports CSV response data for SPSS and R
package | Default |
---|
mixed
The survey ID
string
Maximum text lenght data, usually 255 for SPSS <v16 and 16384 for SPSS 16 and later
string
Value for N/A data
string
Value for empty data ('')
string
sep Quote separator. Use ' for SPSS, " for R
boolean
logical $header If TRUE, adds SQGA code as column headings (used by export to R)
string
Creates a fieldmap with all information necessary to output the fields
package | Default |
---|
string prefix for the variable ID
array
Creates a query string with all fields for the export
package | Default |
---|
\CDbCommand
Check it the gives field has a labelset and return it as an array if true
package | Default |
---|
array field from SPSSFieldMap
string
array|boolean
Simple function to square a value
package | Default |
---|
mixed
Value to square
SSLRedirect() generates a redirect URL for the appropriate SSL mode then applies it.
(Was redirect() before CodeIgniter port.)
package | Default |
---|
string
string 's' or '' (empty).
Returns the standard deviation of supplied $numbers
package | Default |
---|
array
The numbers to calculate the standard deviation for
float
Find the string size according DB size for existing question Column name must be SGQA currently
package | Default |
---|
integer
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
package | Default |
---|
mixed
A string to be sanitized
string
A sanitized string, otherwise the unmodified original variable
This function strips any content between and including <javascript> tags
package | Default |
---|
string
String to clean
string
Cleaned string
Strips html tags and replaces new lines
package | Default |
---|
if 'true', removes '-oth-' from the string.
string
Returns splitted unicode string correctly source: http://www.php.net/manual/en/function.str-split.php#107658
package | Default |
---|
string
string
Write XML structure for themes
package | Default |
---|
integer
Survey ID
object
XMLWriter Object
boolean
should theme configuration be inherited?
string
name for XML element
from export_structure_xml.php
package | Default |
---|---|
from export_structure_xml.php
package | Default |
---|---|
This function switches identity insert on/off for the MSSQL database
package | Default |
---|
string
table name (without prefix)
boolean
Set to true to activate ID insert, or false to deactivate
Returns a localized message according to user preferred language.
package | system |
---|
string
translated message
Check if a table does exist in the database
package | Default |
---|
string
Table name to check for (without dbprefix!))
boolean
True or false if table exists or not
Returns the default email template texts as array
package | Default |
---|---|
todo | Move to defaulttexts helper |
mixed
Required language translationb object
string
Escape mode for the translation function
array
This is a PCLZip callback function that ensures only files are extracted that have a valid extension
package | Default |
---|
mixed
mixed
integer
Return 1 for yes (file can be extracted), 0 for no
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
package | Default |
---|
string
Text to search in
array<mixed,string>
Array of replacements: Array(
array<mixed,mixed>
: array of global var used in the function
null
unused
null
unused (all done in EM now)
integer|null
void
string
Text with replaced strings
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.
package | Default |
---|
mixed
The variable to be dumped
integer
Maximum depth to go into the variable, default is 10
This function replaces the old insertans tags with new ones across a survey
package | Default |
---|
string
Old SID
string
New SID
mixed
Array array('oldfieldname'=>'newfieldname')
Translate links which are in any answer/question/survey/email template/label set to their new counterpart
package | Default |
---|
string
'survey' or 'label'
mixed
mixed
mixed
string
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
package | Default |
---|---|
author | TMSWhite |
string
string
XML data
Export survey to TSV format It is using existing XML function to get the same source data as lss format
package | Default |
---|
string
Batches item.
package | Default |
---|
array
An array of items
integer
The size of the batch
mixed
A value used to fill missing items
array
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' } #}
package | Default |
---|
array|\Traversable
An array
array|\Traversable
An array
array
The merged array
Returns a capitalized string.
package | Default |
---|
\Twig\Environment
string
A string
string
The capitalized string
Provides the ability to get constants from instances as well as class/global constants.
package | Default |
---|
string
The name of the constant
object|null
The object to get the constant from
string
Checks if a constant exists.
package | Default |
---|
string
The name of the constant
object|null
The object to get the constant from
boolean
Cycles over a value.
package | Default |
---|
\ArrayAccess|array
integer
The cycle position
string
The next value in the cycle
Converts an input to a \DateTime instance.
{% if date(user.created_at) < date('+2days') %} {# do something #} {% endif %}
package | Default |
---|
\Twig\Environment
\DateTime|\DateTimeInterface|string|null
A date
\DateTimeZone|string|false|null
The target timezone, null to use the default, false to leave unchanged
\DateTimeInterface
Converts a date to the given format.
{{ post.published_at|date("m/d/Y") }}
package | Default |
---|
\Twig\Environment
\DateTime|\DateTimeInterface|\DateInterval|string
A date
string|null
The target format, null to use the default
\DateTimeZone|string|false|null
The target timezone, null to use the default, false to leave unchanged
string
The formatted date
Returns a new date object modified.
{{ post.published_at|date_modify("-1day")|date("m/d/Y") }}
package | Default |
---|
\Twig\Environment
\DateTime|string
A date
string
A modifier string
\DateTime
Escapes a string.
package | Default |
---|
\Twig\Environment
mixed
The value to be escaped
string
The escaping strategy
string
The charset
boolean
Whether the function is called by the auto-escaping feature (true) or by the developer (false)
string
Returns the first element of the item.
package | Default |
---|
\Twig\Environment
mixed
A variable
mixed
The first element of the item
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 %}
package | Default |
---|
array
An array
array
The keys
Renders a template.
package | Default |
---|
\Twig\Environment
array
string|array
The template to render or an array of templates to try consecutively
array
The variables to pass to the template
boolean
boolean
Whether to ignore missing templates or not
boolean
Whether to sandbox the template or not
string
The rendered template
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 #}
package | Default |
---|
array
An array
string
The separator
string|null
The separator for the last pair
string
The concatenated string
JSON encodes a variable.
package | Default |
---|
mixed
the value to encode
integer
Bitmask consisting of JSON_HEX_QUOT, JSON_HEX_TAG, JSON_HEX_AMP, JSON_HEX_APOS, JSON_NUMERIC_CHECK, JSON_PRETTY_PRINT, JSON_UNESCAPED_SLASHES, JSON_FORCE_OBJECT
mixed
The JSON encoded value
Returns the last element of the item.
package | Default |
---|
\Twig\Environment
mixed
A variable
mixed
The last element of the item
Returns the length of a variable.
package | Default |
---|
\Twig\Environment
mixed
A variable
integer
The length of the value
Converts a string to lowercase.
package | Default |
---|
\Twig\Environment
string
A string
string
The lowercased string
Number format filter.
All of the formatting options can be left null, in that case the defaults will be used. Supplying any of the parameters will override the defaults set in the environment object.
package | Default |
---|
\Twig\Environment
mixed
A float/int/string of the number to format
integer
the number of decimal points to display
string
the character(s) to use for the decimal point
string
the character(s) to use for the thousands separator
string
The formatted number
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.
package | Default |
---|---|
Throws |
|
\Twig\Environment
\Traversable|array|integer|float|string
The values to pick a random item from
integer|null
Maximum value used when $values is an int
mixed
A random value from the given sequence
Marks a variable as being safe.
package | Default |
---|
string
A PHP variable
string
Replaces strings within a string.
package | Default |
---|
string
String to replace in
array|\Traversable
Replace values
string
Reverses a variable.
package | Default |
---|
\Twig\Environment
array|\Traversable|string
An array, a \Traversable instance, or a string
boolean
Whether to preserve key or not
mixed
The reversed input
Rounds a number.
package | Default |
---|
integer|float
The value to round
integer|float
The rounding precision
string
The method to use for rounding
integer|float
The rounded number
Slices a variable.
package | Default |
---|
\Twig\Environment
mixed
A variable
integer
Start of the slice
integer
Size of the slice
boolean
Whether to preserve key or not (when the input is an array)
mixed
The sliced variable
Sorts an array.
package | Default |
---|
array|\Traversable
array
Returns a template content without rendering it.
package | Default |
---|
\Twig\Environment
string
The template name
boolean
Whether to ignore missing templates or not
string
The template source
Removes whitespaces between HTML tags.
package | Default |
---|---|
string
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] #}
package | Default |
---|
\Twig\Environment
string
A string
string
The delimiter
integer
The limit
array
The split string as an array
Loads a template from a string.
{{ include(template_from_string("Hello {{ name }}")) }}
package | Default |
---|
\Twig\Environment
string
A template as a string or object implementing __toString()
string
An optional name of the template to be used in error messages
\Twig\TemplateWrapper
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 %}
package | Default |
---|
mixed
A variable
boolean
true if the value is empty, false otherwise
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 %}
package | Default |
---|
mixed
A variable
boolean
true if the value is traversable
Returns a titlecased string.
package | Default |
---|
\Twig\Environment
string
A string
string
The titlecased string
Returns a trimmed string.
package | Default |
---|---|
Throws |
|
string
Converts a string to uppercase.
package | Default |
---|
\Twig\Environment
string
A string
string
The uppercased string
URL encodes (RFC 3986) a string as a path segment or an array as a query string.
package | Default |
---|
string|array
A URL or an array of query parameters
string
The URL encoded value
Update previous encrpted values to new encryption
package | Default |
---|---|
Throws |
|
\CDbConnection
Import previously archived tables to ArchivedTableSettings
package | Default |
---|---|
Throws |
|
Converts global permissions from users table to the new permission system, and converts template permissions from template_rights to new permission table
package | Default |
---|---|
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
package | Default |
---|---|
string|null
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
package | Default |
---|---|
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
package | Default |
---|
string
boolean
string
Validate an email address - also supports IDN email addresses
package | Default |
---|---|
deprecated | : use LimeMailer::validateAddress($sEmailAddress); |
returns | True/false for valid/invalid |
mixed
Email address to check
Validate an list of email addresses - either as array or as semicolon-limited text
package | Default |
---|---|
deprecated | : use LimeMailer::validateAddresses($aEmailAddressList); |
returns | array |
string
Email address to check
string
List with valid email addresses - invalid email addresses are filtered - false if none of the email addresses are valid
package | Default |
---|
array
boolean
array
Write XML from Associative Array, recursive function
package | Default |
---|
object
XMLWriter Object
array
Associative Data Array
integer
parent key
This function imports a LimeSurvey .lsg question group XML file
package | Default |
---|
string
The full filepath of the uploaded file
integer
The new survey id - the page will always be added after the last page in the survey
boolean
mixed
XMLImportLabelsets() Function resp[onsible to import a labelset from XML format.
package | Default |
---|
string
mixed
This function imports a LimeSurvey .lsq question XML file
package | Default |
---|---|
Throws |
|
string
The full filepath of the uploaded file
integer
The new survey id
array<mixed,boolean>
array
package | Default |
---|
string
mixed
This function imports a LimeSurvey .lss survey XML file
package | Default |
---|---|
todo | Use transactions to prevent orphaned data and clean rollback on errors |
string
The full filepath of the uploaded file
string
Define the following constant to ignore the default configuration file.
Default images directory.
By default it is automatically set but you can also set it as a fixed string to improve performances.
Deafult image logo used be the default Header() method.
Please set here your own logo or an empty string to disable it.
Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
Encoding mode numeric (0-9). 3 characters are encoded to 10bit length. In theory, 7089 characters or less can be stored in a QRcode.
Encoding mode alphanumeric (0-9A-Z $%*+-./:) 45characters. 2 characters are encoded to 11bit length. In theory, 4296 characters or less can be stored in a QRcode.
Encoding mode 8bit byte data. In theory, 2953 characters or less can be stored in a QRcode.
Encoding mode KANJI. A KANJI character (multibyte character) is encoded to 13bit length. In theory, 1817 characters or less can be stored in a QRcode.
Down point base value for case 1 mask pattern (concatenation of same color in a line or a column)
Down point base value for case 3 mask pattern (1:1:3:1:1(dark:bright:dark:bright:dark)pattern in a line or a column)
if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code
if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly
Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
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.
Represents a callable template filter.
Use \Twig\TwigFilter instead.
Represents a callable template function.
Use \Twig\TwigFunction instead.
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.
This is the model class for table "{{archived_table_settings}}".
The following are the available columns in table '{{archived_table_settings}}':
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
This is the model class for table "{{boxes}}".
The following are the available columns in table '{{boxes}}':
CheckIntegrity Controller
This controller performs database repair functions.
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.
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
ContactForm class.
ContactForm is the data structure for keeping contact form data. It is used by the 'contact' action of 'SiteController'.
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
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
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.
Update Database Controller This controller must be accessible by unlogged user (in case of modifications of {{permissions}} blocking the login )
This controller contains common functions for survey related views.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
This is a base class to enable all question tpyes to extend the general settings.
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
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.
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
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)
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!
Class emailtemplates
This controller contains common functions for survey related views.
Discussion here: https://bugs.limesurvey.org/view.php?id=14859 PR: https://github.com/LimeSurvey/LimeSurvey/pull/1273
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.
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.
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.
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.
Class-proxy for static classes Needed because you can't pass static class to Twig other way
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.
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
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.
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.
expressionQuestionForAll : Add QCODE.question for question with subquestion for expression Manager.
This don't manage subquestion Scale Y or Scale X
Class Expressions
This controller contains common functions for survey related views.
Survey Common Action
This controller contains common functions for survey related views.
Thin wrapper around extension update info.
Used by VersionFetcher to push around update info.
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
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.
GameController implements the {@link https://en.wikipedia.org/wiki/Hangman_(game) Hangman game}.
GlobalSettings Controller
This controller contains common functions for survey related views.
Library of array functions for manipulating and extracting data from arrays or 'sets' of data.
Hash
provides an improved interface, more consistent and
predictable set of features over Set
. While it lacks the spotty
support for pseudo Xpath, its more fully featured dot notation provides
similar features in a more consistent implementation.
Survey Common Action
This controller contains common functions for survey related views.
Class HomepageSettingsController
this controller will have all the necessary methods from the old AdminController
Survey Common Action
This controller contains common functions for survey related views.
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
Survey Common Action
This controller contains common functions for survey related views.
The object of this class are generic jsonRPC 1.0 clients http://json-rpc.org/wiki/specification
This class build a json-RPC Server 1.0 http://json-rpc.org/wiki/specification
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
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
LoginForm class.
LoginForm is the data structure for keeping user login form data. It is used by the 'login' action of 'SiteController'.
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:
Add it here as a static public function eg: static public function foo($bar) { return procces($bar); }
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 }}
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
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.
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...)
Twig view renderer, LimeSurvey overload
Allow to run sandbox Configuration Provide different render methods for different context:
The only tricky point here is the path problematic (where should be searched the views to render?)
Description of HttpRequest
Used in LSYii_Application.php
'request'=>array( 'class'=>'HttpRequest', 'noCsrfValidationRoutes'=>array( '^services/wsdl.*$' ), 'enableCsrfValidation'=>true, 'enableCookieValidation'=>true, ),
Every route will be interpreted as a regex pattern.
This class build a json-RPC Server 1.0 http://json-rpc.org/wiki/specification
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
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.
Validator class for Short URLs (Survey Aliases).
Compares the alias against basic route rules and existing controllers, trying to avoid collisions.
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>
This is the model class for table "{{map_tutorial_users}}".
The following are the available columns in table '{{map_tutorial_users}}':
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.
This is the model class for table "{{notifications}}".
The following are the available columns in table '{{notifications}}':
Mostly for Ajax actions
This controller contains common functions for survey related views.
Class ParagonIE_Sodium_Core_BLAKE2b
Based on the work of Devi Mandiri in devi/salt.
Class ParagonIE_Sodium_Core32_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Core32_Curve25519_Fe
This represents a Field Element
Class ParagonIE_Sodium_Core32_Curve25519_Ge_Cached
Class ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1
Class ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp
Class ParagonIE_Sodium_Core32_Curve25519_H
This just contains the constants in the ref10/base.h file
Class ParagonIE_Sodium_Core32_Ed25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Core32_Int32
Encapsulates a 32-bit integer.
These are immutable. It always returns a new instance.
Class ParagonIE_Sodium_Core32_Int64
Encapsulates a 64-bit integer.
These are immutable. It always returns a new instance.
Class ParagonIE_Sodium_Core32_SecretStream_State
Class ParagonIE_SodiumCompat_Core32_SipHash
Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers
Class ParagonIE_Sodium_Core32_X25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Core_Base64
Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
Class ParagonIE_Sodium_Core_Base64UrlSafe
Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
Class ParagonIE_Sodium_Core_BLAKE2b
Based on the work of Devi Mandiri in devi/salt.
Class ParagonIE_Sodium_Core_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Core_Curve25519_Fe
This represents a Field Element
Class ParagonIE_Sodium_Core_Curve25519_Ge_Cached
Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp
Class ParagonIE_Sodium_Core_Curve25519_H
This just contains the constants in the ref10/base.h file
Class ParagonIE_Sodium_Core_Ed25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Core_Ristretto255
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_SodiumCompat_Core_SipHash
Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers
Class ParagonIE_Sodium_Core_X25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Crypto
ATTENTION!
If you are using this library, you should be using ParagonIE_Sodium_Compat in your code, not this class.
Class ParagonIE_Sodium_Crypto
ATTENTION!
If you are using this library, you should be using ParagonIE_Sodium_Compat in your code, not this class.
This is the model class for table "{{{{participant_attribute_names}}}}".
The following are the available columns in table '{{{{participant_attribute_names}}}}':
This is the model class for table "{{{{participant_attribute_names_lang}}}}".
The following are the available columns in table '{{{{participant_attribute_names_lang}}}}':
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
This is the model class for table "{{permissiontemplates}}".
The following are the available columns in table '{{permissiontemplates}}':
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.
Survey Common Action
This controller contains common functions for survey related views.
Survey Common Action
This controller contains common functions for survey related views.
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
This is a base class to enable all question tpyes to extend the general settings.
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)
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
This is the model class for table "{{question_themes}}".
The following are the available columns in table '{{question_themes}}':
Survey Common Action
This controller contains common functions for survey related views.
A TCPDF based class to produce queXF compatible questionnaire PDF files and banding description XML from queXML
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
Survey Common Action
This controller contains common functions for survey related views.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Relations
In this implementation class definitions are generated dynamically. This class and its descendants should be declared abstract!
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
Saved controller
This controller contains common functions for survey related views.
Class Session Extend CActiveRecord and not LSActiveRecord to disable plugin event (session can be used a lot)
This is the model class for table "{{settings_user}}".
The following are the available columns in table '{{settings_user}}':
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.
Controller is the customized base controller class.
All controller classes for this application should extend from this base class.
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.
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
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
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.
Survey Common Action
This controller contains common functions for survey related views.
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
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.
This is the model class for table "{{surveys_groups}}".
The following are the available columns in table '{{surveys_groups}}':
Class SurveysGroupsController
This controller contains common functions for survey related views.
This is the model class for table "{{surveys_groupsettings}}".
The following are the available columns in table '{{surveys_groupsettings}}':
Class SurveysGroupsPermissionController
this controller will have all the necessary methods from the old AdminController
Class SurveysGroups
The following are the available columns in table '{{surveys_groups}}':
Class TemplateConfig Common methods for TemplateConfiguration and TemplateManifest
Installer class for the TwoFactorAdminLogin Plugin A collecton of static helpers to install the Plugin
Abstracted user model for TFA admin view.
Incorporating an alternative seach method.
Class LSBaseController
this controller will have all the necessary methods from the old AdminController
Class Token
In this implementation class definitions are generated dynamically. This class and its descendants should be declared abstract!
This is the model class for table "{{tutorials}}".
The following are the available columns in table '{{tutorials}}':
This is the model class for table "{{tutorial_entry}}".
The following are the available columns in table '{{tutorial_entry}}':
Survey Common Action
This controller contains common functions for survey related views.
This is the model class for table "{{tutorial_entry_groups}}".
The following are the available columns in table '{{tutorial_entry_groups}}':
This tutorial controller is the first step to have user generated tutorials.
Current project stance is only to serve pregenerated tutorials bay LimeSurvey Company.
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
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.
Lazily loads Twig runtime implementations from a PSR-11 container.
Note that the runtime services MUST use their class names as identifiers.
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.
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.
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.
\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.
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.
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.
Internal class.
This class is used by \Twig\Environment as a staging area and must not be used directly.
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.
Represents a function template function.
Use \Twig\TwigFunction instead.
Represents a method template function.
Use \Twig\TwigFunction instead.
Represents a template function as a node.
Use \Twig\TwigFunction instead.
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.
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.
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.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Returns the value or the default value when it is undefined or empty.
{{ var.foo|default('foo item on var is not defined') }}
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
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 %}
Checks if a variable is divisible by a number.
{% if loop.index is divisible by(3) %}
Checks if a variable is the same as another one (=== in PHP).
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
Abstract class for all nodes that represents an expression.
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
A node traverser.
It visits all nodes and their children and calls the given visitor for each.
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
Creates runtime implementations for Twig elements (filters/functions/tests).
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.
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.
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.
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.
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.
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.
Represents a security policy which need to be enforced when sandbox mode is enabled.
Interface that all security policy classes must implements.
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.
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 %}
Marks a section of a template as being reusable.
{% block head %}
{% endblock %}
Deprecates a section of a template.
{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} {% extends 'layout.html.twig' %}
Embeds a template.
{% include 'header.html' %} Body {% include 'footer.html' %}
Filters a section of a template by applying filters.
{% filter upper %} This text becomes uppercase {% endfilter %}
Loops over each item of a sequence.
Tests a condition.
{% if users %}
{% endif %}
Includes a template.
{% include 'header.html' %} Body {% include 'footer.html' %}
Defines a macro.
{% macro input(name, value, type, size) %}
{% endmacro %}
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
{% sandbox %} {% include 'user.html' %} {% endsandbox %}
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 %}
Remove whitespaces between HTML tags.
{% spaceless %}
{% endspaceless %} {# output will be
Imports blocks defined in another template into the current template.
{% extends "base.html" %}
{% use "blocks.html" %}
{% block title %}{% endblock %} {% block content %}{% endblock %}
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
Subclass of Notification, but with unique constraint.
If a new message is created exactly like another one, it will be marked as unread.
Plugin to check for extension updates after a super admin logs in.
Uses the ExtensionInstaller library.
Update Form Model
This model retrieves all the data Comfort Updates needs. Most of them come from request to the Update Server.
class UserGroupController
this controller will have all the necessary methods from the old AdminController
UserIdentity represents the data needed to identity a user.
It contains the authentication method that checks if the provided data can identity the user.
UserIdentity represents the data needed to identity a user.
It contains the authentication method that checks if the provided data can identity the user.
This is the model class for table "{{user_in_permissionrole}}".
The following are the available columns in table '{{user_in_permissionrole}}':
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.
the Verification class, this is grouped with other classes in the "limesurvey_yii" package and * is part of "controllers" subpackage
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
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.
A node traverser.
It visits all nodes and their children and calls the given visitor for each.
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.
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.
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.
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.
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.
\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.
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.
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) }}
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
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 %}
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.
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.
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.
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.
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.
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.
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.
Creates runtime implementations for Twig elements (filters/functions/tests).
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
Used to make node visitors compatible with Twig 1.x and 2.x.
To be removed in Twig 3.1.
Applies filters on a section of a template.
{% apply upper %} This text becomes uppercase {% endapply %}
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 %}
Marks a section of a template as being reusable.
{% block head %}
{% endblock %}
Deprecates a section of a template.
{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} {% extends 'layout.html.twig' %}
Embeds a template.
{% include 'header.html' %} Body {% include 'footer.html' %}
Filters a section of a template by applying filters.
{% filter upper %} This text becomes uppercase {% endfilter %}
Loops over each item of a sequence.
Tests a condition.
{% if users %}
{% endif %}
Includes a template.
{% include 'header.html' %} Body {% include 'footer.html' %}
Defines a macro.
{% macro input(name, value, type, size) %}
{% endmacro %}
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
{% sandbox %} {% include 'user.html' %} {% endsandbox %}
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 %}
Remove whitespaces between HTML tags.
{% spaceless %}
{% endspaceless %} {# output will be
OAuthTokenProvider - OAuth2 token provider interface.
Provides base64 encoded OAuth2 auth strings for SMTP authentication.
OAuth - OAuth2 authentication wrapper class.
Uses the oauth2-client package from the League of Extraordinary Packages.
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.
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
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.
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.
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.
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.
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.
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"
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.
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.
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::bin2hex() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::compare() |
Throws |
|
string
string
integer
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_decrypt() |
string
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_auth() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_auth_verify() |
Throws |
|
string
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_keypair() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_open() |
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_publickey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_seal_open() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_seal_open() |
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_box_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash() |
Throws |
|
string
string|null
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_final() |
Throws |
|
string|null
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_init() |
Throws |
|
string|null
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_generichash_update() |
Throws |
|
string|null
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_kx() |
Throws |
|
string
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash() |
Throws |
|
integer
string
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256() |
Throws |
|
integer
string
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str() |
Throws |
|
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str_verify() |
Throws |
|
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_str() |
Throws |
|
string
integer
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_pwhash_str_verify() |
Throws |
|
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_scalarmult() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_scalarmult_base() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_secretbox() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_secretbox_open() |
string
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_shorthash() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_detached() |
Throws |
|
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_keypair() |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_open() |
string
string
string|boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_publickey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_secretkey() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_seed_keypair() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_sign_verify_detached() |
Throws |
|
string
string
string
boolean
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream() |
Throws |
|
integer
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::crypto_stream_xor() |
Throws |
|
string
string
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::hex2bin() |
Throws |
|
string
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::memcmp() |
Throws |
|
string
string
integer
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::memzero() |
psalm-suppress | MissingParamType MissingReturnType ReferenceConstraintViolation |
Throws |
|
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::randombytes_buf() |
Throws |
|
integer
string
package | Default |
---|---|
see | \ParagonIE_Sodium_Compat::randombytes_uniform() |
Throws |
|
integer
integer
Class ParagonIE_Sodium_Core_BLAKE2b
Based on the work of Devi Mandiri in devi/salt.
Class ParagonIE_Sodium_Core_Curve25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_Sodium_Core_Ed25519
Implements Curve25519 core functions
Based on the ref10 curve25519 code provided by libsodium
Class ParagonIE_SodiumCompat_Core_SipHash
Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers
Class BlacklistResult
This class represents the result of a blacklist operation
Class CopyQuestionTextValues
This class represents the texts values to use when copying a question
Class SimpleSurveyValues
This class owns the basic values to create a survey -- the base language -- the survey title -- if createExamples (questions and groups) should be created at the beginning -- the survey group id the survey should belong to (or/and inherit values from)
Class ThemeFileCategory
This class represents a theme file category (eg. Global files, Theme files, Survey files)
Class ThemeFileInfo
This class represents a theme file. It includes the real path, the virtual path, and the category.
Virtual paths are a special notation for relative paths, including a prefix to give context. Eg.: the path "image::theme::files/logo.png" is relative to the theme folder, while "image::generalfiles::" is relative to the general files folder. If $path is not valid, returns null. Paths can be
Base class for different extension installers.
All extension have this in common:
Fetch files for the ExtensionInstaller to install.
Fetching files can happen in different ways:
Extension file fetcher for upload ZIP file.
Must work for all extension types: plugins, theme, question theme, etc.
Base class for different extension installers.
All extension have this in common:
Base class for different extension installers.
All extension have this in common:
Interface descriptions here: https://manual.limesurvey.org/Extra_menus_event
Interface descriptions here: https://manual.limesurvey.org/Extra_menus_event
This class is responsible for copying a survey's resources.
Class CopySurveyResources
This class offers a function to anonymize ip addresses.
Class IpAddressAnonymizer
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.
Fetches question attribute definitions from the available providers
This class is responsible for quick translation and all DB actions needed.
This class is responsible for the relationship between permissions, users and surveys.
It could be handled as a specific permissions system for surveys.
Service class for survey group creation.
All dependencies are injected to enable mocking.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
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.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
Base class for database migration, inspired by Yii.
See more info in README file in same folder.
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