Functions

__content

package

Default

Arguments

$data

« More »

__content

package

Default

Arguments

$data

« More »

__header

package

Default

Arguments

$str

$char

« More »

__header

package

Default

Arguments

$str

$char

« More »

__title

package

Default

Arguments

$title

$char

« More »

__title

package

Default

Arguments

$title

$char

« More »

_countNumberOfEntries

package

Default

Arguments

$sTableName

« More »

_getDbName

Get the database name

package

Default

« More »

_getMaxNbRecords

package

Default

« More »

_outputDBData

package

Default

Arguments

$bAllowExportAllDb

$bEchoOutput

$sFileName

$oFile

« More »

_outputDBDescription

package

Default

Arguments

$sDbName

$bAllowExportAllDb

« More »

_outputRecords

package

Default

Arguments

$sTableName

$aFieldNames

$aRecords

« More »

_outputTableData

Outputs the table data in sql format

package

Default

Arguments

$sTableName

$oTableData

$bEchoOutput

$sFileName

$oFile

« More »

_outputTableDescription

Outputs the table structure in sql format

package

Default

Arguments

$sTableName

« More »

_twig_escape_css_callback

package

Default

Arguments

$matches

« More »

_twig_escape_html_attr_callback

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

Arguments

$matches

« More »

_twig_escape_js_callback

package

Default

Arguments

$matches

« More »

_twig_markup2string

package

Default

Arguments

$value

« More »

addColumn

package

Default

Arguments

$sTableName

$sColumn

$sType

string

« More »

addPrimaryKey

package

Default

Arguments

$sTablename

string

$aColumns

« More »

aEncodingsArray

Return accepted codingsArray for importing files

Used in vvimport TODO : use in token and

package

Default

Response

array

« More »

alterColumn

package

Default

Arguments

$sTable

$sColumn

string

$sFieldType

string

$bAllowNull

$sDefault

« More »

alterLanguageCode

Renames a language code in the whole LimeSurvey database

package

Default

Arguments

$sOldLanguageCode

string

$sNewLanguageCode

string

« More »

alternation

package

Default

Arguments

$alternate

$type

« More »

App

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

package

Default

Response

\LSYii_Application

« More »

array_diff_assoc_recursive

package

Default

Arguments

$array1

$array2

« More »

arraySearchByKey

package

Default

Arguments

$needle

mixed

$haystack

mixed

$keyname

string

$maxanswers

integer

Response

array

« More »

bcadd

Add two arbitrary precision numbers

package

Default

var

optional

Arguments

$left_operand

$right_operand

$scale

« More »

bccomp

Compare two arbitrary precision numbers

package

Default

var

optional

Arguments

$left_operand

$right_operand

$scale

« More »

bcdiv

Divide two arbitrary precision numbers

package

Default

var

optional

Arguments

$dividend

$divisor

$scale

« More »

bcmod

Get modulus of an arbitrary precision number

package

Default

var

optional

Arguments

$dividend

$divisor

$scale

« More »

bcmul

Multiply two arbitrary precision numbers

package

Default

var

optional

Arguments

$dividend

$divisor

$scale

« More »

bcpow

Raise an arbitrary precision number to another

package

Default

var

optional

Arguments

$base

$exponent

$scale

« More »

bcpowmod

Raise an arbitrary precision number to another, reduced by a specified modulus

package

Default

var

optional

Arguments

$base

$exponent

$modulus

$scale

« More »

bcscale

Set or get default scale parameter for all bc math functions

package

Default

var

Arguments

$scale

« More »

bcsqrt

Get the square root of an arbitrary precision number

package

Default

var

optional

Arguments

$operand

$scale

« More »

bcsub

Subtract one arbitrary precision number from another

package

Default

var

optional

Arguments

$left_operand

$right_operand

$scale

« More »

beautify_filename

package

Default

Arguments

$filename

string

« More »

breakToNewline

package

Default

Arguments

$data

« More »

buildLabelSetCheckSumArray

package

Default

« More »

buildSelects

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

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

package

Default

Arguments

$allfields

$surveyid

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'");

$language

« More »

buildXMLFromQuery

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

package

Default

Arguments

$xmlwriter

mixed

The existing XMLWriter object

$Query

mixed

The table query to build from

$tagname

string

If the XML tag of the resulting question should be named differently than the table name set it here

$excludes

array<mixed,string>

array of columnames not to include in export

$iSurveyID

« More »

calculateTotalFileUploadUsage

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

« More »

canShowDatePicker

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

package

Default

returns

integer

Arguments

$dateformatdetails

array Date format details for the question

$dateformats

array Available date formats

« More »

check

package

Default

deprecated 2018-01-29

has undefined function my_utf8_decode inside !!

Arguments

$input

$flags

$min

string

$max

string

Response

boolean

« More »

check_float

package

Default

Arguments

$input

$min

$max

« More »

check_html_string

package

Default

Arguments

$input

$min

$max

« More »

check_int

package

Default

Arguments

$input

$min

$max

« More »

check_ip_address

Checks the validity of IP address $ip

package

Default

Arguments

$ip

string

to check

Response

boolean

true if the $ip is a valid IP address

« More »

check_ldap_string

package

Default

Arguments

$input

$min

$max

« More »

check_paranoid_string

package

Default

Arguments

$input

$min

$max

« More »

check_system_string

package

Default

Arguments

$input

$min

$max

« More »

CheckAuthentication

package

KCFinder @version 3.12 @author Dany Alejandro Cabrera otello2040@gmail.com

Arguments

$drupal_path

« More »

checkCaptchaSupport

package

system

« More »

CheckForDBUpgrades

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

package

Default

Arguments

$subaction

« More »

checkGroup

checks consistency of groups

package

Default

Arguments

$postsid

integer

Response

\

« More »

checkHasGroup

checks if any group exists

package

Default

Arguments

$postsid

integer

Response

\

« More »

checkLSSession

package

KCFinder @version 3.12 @author Pavel Tzonkov sunhater@sunhater.com

« More »

checkMoveQuestionConstraintsForConditions

checkMoveQuestionConstraintsForConditions()

package

Default

Arguments

$sid

string

  • the currently selected survey

$qid

string

  • qid of the question you want to check possible moves

$newgid

string

  • (optional) get only constraints when trying to move to this particular GroupId otherwise, get all moves constraints for this question

Response

array

  • returns an array describing the conditions Array ( ['notAbove'] = null | Array ( Array ( gid1, group_order1, qid1, cid1 ) ) ['notBelow'] = null | Array ( Array ( gid2, group_order2, qid2, cid2 ) ) )

This should be read as:

  • this question can't be move above group gid1 in position group_order1 because of the condition cid1 on question qid1
  • this question can't be move below group gid2 in position group_order2 because of the condition cid2 on question qid2

« More »

checkQuestions

checks questions in a survey for consistency

package

Default

Arguments

$postsid

integer

$iSurveyID

integer

Response

array|boolean

$faildcheck

« More »

checkServerVar

package

system

« More »

checkWrongQuestionAttributes

This function checks if there are set wrong values ('Y' or 'N') into table question_attributes. These are set to 1 and 0 if needed.

package

Default

Arguments

$questionId

« More »

clean

package

Default

Arguments

$item

« More »

clean

package

Default

Arguments

$item

« More »

cleanLanguagesFromSurvey

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

package

Default

Arguments

$iSurveyID

$availlangs

string

  • space separated list of additional languages in survey

« More »

cleanTempDirectory

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

package

Default

todo

Make the days configurable

« More »

cmpErrorTokens

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

package

Default

Arguments

$a

array

$b

array

Response

integer

« More »

cmpQuestionSeq

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

package

Default

Arguments

$a

array

$b

array

Response

integer

« More »

cmpWarningTokens

package

Default

todo

Unify errors and warnings with a EMErrorComparableInterface

Arguments

Response

integer

« More »

composerRequireddb1a145e450f862353420acc5153e40

package

Default

Arguments

$fileIdentifier

$file

« More »

conditionalNewlineToBreak

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

package

Default

Arguments

$mytext

mixed

$ishtml

mixed

$encoded

Response

mixed

« More »

convertDateTimeFormat

This is a convenience function for the coversion of datetime values

package

Default

Arguments

$value

mixed

$fromdateformat

string

$todateformat

mixed

Response

string

« More »

convertGETtoPOST

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

package

Default

Arguments

$url

String

| The complete url with all parameters

Response

String

| The onclick action for the element

« More »

convertLStoDateTimePickerLocale

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

package

Default

Arguments

$sLocale

string

LimeSurvey locale code

« More »

convertPHPSizeToBytes

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

package

Default

Arguments

$sSize

string

Response

integer

The value in bytes

« More »

convertToGlobalSettingFormat

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

package

Default

Arguments

$sDate

string

$withTime

boolean

Response

string

« More »

CPDBExport

package

Default

Arguments

$data

$filename

string

« More »

createBoxes250

Create boxes table

package

Default

« More »

createChart

Generate a chart for a question

@param int $iQuestionID ID of the question

package

Default

Arguments

$iQuestionID

$iSurveyID

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

$type

$lbl

$gdata

$grawdata

$cache

$sLanguageCode

$sQuestionType

« More »

createCompleteSGQA

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

package

Default

Arguments

$iSurveyID

integer

Id of the Survey in question

$aFilters

array

an array which is the result of a query in Questions model

$sLanguage

string

Response

array

The summary

« More »

createFieldMap

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

package

Default

Arguments

$survey

\Survey

Survey ActiveRecord model

$style

string

'short' (default) or 'full' - full creates extra information like default values

$force_refresh

\?boolean

  • Forces to really refresh the array, not just take the session copy

$questionid

boolean|integer

Limit to a certain qid only (for question preview) - default is false

$sLanguage

string

The language to use

$aDuplicateQIDs

array

Response

array

« More »

createFieldMap450

Returns the fieldmap for responses

package

Default

Throws
\CException

Arguments

$survey

Response

array

« More »

createPassword

package

Default

Arguments

$iPasswordLength

« More »

createRandomTempDir

Create a directory in tmp dir using a random string

package

Default

Arguments

$dir

string

the temp directory (if empty will use the one from configuration)

$prefix

string

wanted prefix for the directory

$mode

integer

wanted file mode for this directory

Response

string

the path of the created directory

« More »

createSurveyGroupTables306

package

Default

Arguments

$oDB

\CDbConnection

« More »

createSurveyMenuTable

package

Default

Arguments

$oDB

\CDbConnection

« More »

createSurveysGroupSettingsTable

package

Default

Arguments

$oDB

\CDbConnection

« More »

createTimingsFieldMap

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

package

Default

Arguments

$surveyid

string

The Survey ID

$style

string

'short' (default) or 'full' - full creates extra information like default values

$force_refresh

boolean

  • Forces to really refresh the array, not just take the session copy

$questionid

integer

Limit to a certain qid only (for question preview) - default is false

$sQuestionLanguage

string

The language to use

Response

array

« More »

createXMLfromData

package

Default

Arguments

$aData

« More »

crypto_rand_secure

Get a random number between two values using openssl_random_pseudo_bytes

package

Default

Arguments

$min

integer

$max

integer

Response

string

« More »

CSVImportResponses

This function imports a CSV file into the response table CSV file is deleted during process

package

Default

Arguments

$sFullFilePath

string

$iSurveyId

integer

$aOptions

array

Return array $result ("errors","warnings","success")

« More »

CSVUnquote

This function removes surrounding and masking quotes from the CSV field

package

Default

Arguments

$field

mixed

Response

mixed

« More »

ctype_alnum

package

Default

Arguments

$text

\mixed

« More »

ctype_alnum

package

Default

Arguments

$text

« More »

ctype_alpha

package

Default

Arguments

$text

« More »

ctype_alpha

package

Default

Arguments

$text

\mixed

« More »

ctype_cntrl

package

Default

Arguments

$text

\mixed

« More »

ctype_cntrl

package

Default

Arguments

$text

« More »

ctype_digit

package

Default

Arguments

$text

\mixed

« More »

ctype_digit

package

Default

Arguments

$text

« More »

ctype_graph

package

Default

Arguments

$text

\mixed

« More »

ctype_graph

package

Default

Arguments

$text

« More »

ctype_lower

package

Default

Arguments

$text

\mixed

« More »

ctype_lower

package

Default

Arguments

$text

« More »

ctype_print

package

Default

Arguments

$text

« More »

ctype_print

package

Default

Arguments

$text

\mixed

« More »

ctype_punct

package

Default

Arguments

$text

« More »

ctype_punct

package

Default

Arguments

$text

\mixed

« More »

ctype_space

package

Default

Arguments

$text

\mixed

« More »

ctype_space

package

Default

Arguments

$text

« More »

ctype_upper

package

Default

Arguments

$text

\mixed

« More »

ctype_upper

package

Default

Arguments

$text

« More »

ctype_xdigit

package

Default

Arguments

$text

\mixed

« More »

ctype_xdigit

package

Default

Arguments

$text

« More »

currentRelevecanceClass

Return class of a specific row (hidden by relevance)

package

Default

Arguments

$surveyId

integer

actual survey id

$baseName

string

the base name of the question

$name

string

The name of the question/row to test

$aQuestionAttributes

array

the question attributes

Response

string

« More »

dateShift

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

.. see function strtotime() for usage

echo sql_date_shift($date, "Y-m-d H:i:s", $shift);

will output: 2007-01-01 03:00:00

package

Default

Arguments

$date

string

$dformat

string

$shift

mixed

Response

string

« More »

db_upgrade_all

package

Default

Arguments

$iOldDBVersion

integer

The previous database version

$bSilent

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.

« More »

dbExecuteAssoc

package

Default

deprecated

Do not use anymore. If you see this replace it with a proper ActiveRecord Model query

Throws
\Exception

Arguments

$sql

string

$inputarr

array|boolean

$silent

boolean

Response

boolean|\CDbDataReader

« More »

dbGetTablesLike

Gets the table names. Do not prefix.

package

Default

uses

To get the tables like sql query

Arguments

$table

string

String to match

Response

array

Array of matched table names

« More »

dbQuoteAll

Escapes a text value for db

package

Default

Arguments

$value

string

Response

string

« More »

dbRandom

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

package

Default

Response

string

« More »

dbSelectTablesLike

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

package

Default

Arguments

$table

mixed

Response

string

« More »

decodeTokenAttributes

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

package

Default

Arguments

$oTokenAttributeData

string

The original token attributes as stored in the database

Response

array|mixed

« More »

decryptArchivedTables450

Update Encryption for archived tables

package

Default

Throws
\CDbException
\CException

Arguments

$oDB

\CDbConnection

« More »

decryptCPDBTable450

Update encryption for CPDB participants

package

Default

Throws
\CException

Arguments

$oDB

\CDbConnection

« More »

decryptParticipantTables450

Update encryption for survey participants

package

Default

Arguments

$oDB

\CDbConnection

« More »

decryptResponseTables450

Update encryption for survey responses

package

Default

Throws
\CException

Arguments

$oDB

\CDbConnection

« More »

do_array

package

Default

deprecated 4.0

Replaced by core\QuestionTypes\RenderArrayFlexibleRow

Arguments

$ia

« More »

do_array_10point

package

Default

Arguments

$ia

« More »

do_array_5point

Construct answer part array_5point

package

Default

Arguments

$ia

array

Response

array

« More »

do_array_dual

package

Default

deprecated 4.0

Replaced by core\QuestionTypes\ArrayMultiscale

Arguments

$ia

« More »

do_array_increasesamedecrease

package

Default

Arguments

$ia

« More »

do_array_multiflexi

package

Default

Arguments

$ia

« More »

do_array_texts

package

Default

Arguments

$ia

« More »

do_array_yesnouncertain

package

Default

Arguments

$ia

« More »

do_arraycolumns

Renders array by column question type.

package

Default

Throws
\CException

Arguments

$ia

array

Response

array

« More »

do_file_upload

package

Default

Arguments

$ia

« More »

do_gender

Renders Gender Question Types.

package

Default

Arguments

$ia

array

Response

array

« More »

do_hugefreetext

package

Default

Arguments

$ia

« More »

do_language

package

Default

Arguments

$ia

« More »

do_list_dropdown

package

Default

Arguments

$ia

« More »

do_list_radio

package

Default

Arguments

$ia

« More »

do_listwithcomment

package

Default

Arguments

$ia

« More »

do_longfreetext

package

Default

Arguments

$ia

« More »

do_multiplechoice

package

Default

Arguments

$ia

« More »

do_multiplechoice_withcomments

package

Default

Arguments

$ia

« More »

do_multiplenumeric

package

Default

deprecated 4.?.?
see \RenderMultipleNumerical\DataSetMultipleNumerical

Arguments

$ia

« More »

do_multipleshorttext

package

Default

Arguments

$ia

« More »

do_numerical

package

Default

Arguments

$ia

« More »

do_ranking

package

Default

deprecated 4.0

Replaced by core\QuestionTypes\RankingStyle

Arguments

$ia

« More »

do_shortfreetext

package

Default

Arguments

$ia

« More »

do_yesno

Renders Yes/No Question Type.

package

Default

Arguments

$ia

array

Response

array

« More »

doFooter

package

Default

« More »

doHeader

package

Default

« More »

doRender

Render the question view.

By default, it just renders the required core view from application/views/survey/... If user added a question template in the upload dirctory, add applied it to the question in its display settings, then the function will check if the required view exist in this directory and then will use this one to render the question.

Rem: all the logic has been moved to LSETwigViewRenderer::renderQuestion() We keep the function doRender here for convenience (it will probably be removed in further cycles of dev). *

package

Default

Arguments

$sView

string

name of the view to be rendered.

$aData

array

data to be extracted into PHP variables and made available to the view script

$bReturn

boolean

whether the rendering result should be returned instead of being displayed to end users (should be always true)

« More »

doreplacement

package

Default

Arguments

$file

string

$data

$oTemplate

« More »

dropColumn

Drops a column, automatically removes blocking default value on MSSQL

package

Default

Arguments

$sTableName

string

$sColumnName

string

« More »

dropDefaultValueMSSQL

Drop a default value in MSSQL

package

Default

Arguments

$fieldname

string

$tablename

mixed

« More »

dropPrimaryKey

Drops the primary key of a table

package

Default

Arguments

$sTablename

string

$oldPrimaryKeyColumn

string

« More »

dropSecondaryKeyMSSQL

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

package

Default

Arguments

$sFieldName

string

$sTableName

mixed

« More »

dropUniqueKeyMSSQL

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

package

Default

Arguments

$sFieldName

string

$sTableName

string

« More »

dummy_twig_translation_helper

Dummy helper intended to facilitate "twig only" strings to be picked by Translations Bot.

Since twig files are not scanned by the bot, translatable strings that only appear in twig files can be placed here in order to be scanned.

package

Default

« More »

ellipsize

Ellipsize String

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

package

Default

Arguments

$sString

string

string to ellipsize

$iMaxLength

integer

max length of string

$fPosition

integer

int (1|0) or float, .5, .2, etc for position to split

$sEllipsis

string

ellipsis ; Default '...'

Response

string

ellipsized string

« More »

emailTokens

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

package

Default

Arguments

$iSurveyID

integer

$aResultTokens

array<mixed,\CActiveRecord>

$sType

string

type of notification invite|register|remind|confirm

Response

array

of results

« More »

enforceSSLMode

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

package

Default

« More »

eT

As gT(), but echoes directly

package

Default

Arguments

$sToTranslate

string

$sEscapeMode

string

« More »

ETwigViewRendererVoidFunction

Function for adding global 'void' function in Twig Needed to make possible to call functions and methods which return non-string result (object, resources and etc.) For example: {{ void(App.clientScript.registerScriptFile(.

..)) }}

package

Default

Arguments

$argument

mixed

Response

string

« More »

expr_mgr_htmlspecialchars

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

package

Default

Arguments

$string

string

Response

string

« More »

expr_mgr_htmlspecialchars_decode

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

package

Default

Arguments

$string

string

Response

string

« More »

exprmgr_convert_value

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

Arguments

$fValueToReplace

double

$iStrict

integer

  • 1 for exact matches only otherwise interpolation the closest value should be returned

$sTranslateFromList

string

  • comma seperated list of numeric values to translate from

$sTranslateToList

string

  • comma seperated list of numeric values to translate to

Response

integer|null

« More »

exprmgr_count

Count the number of answered questions (non-empty)

package

Default

Arguments

$args

array

Response

integer

« More »

exprmgr_countif

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

package

Default

Arguments

$args

array

Response

integer

« More »

exprmgr_countifop

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

package

Default

Arguments

$args

array

Response

integer

« More »

exprmgr_date

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

package

Default

link

http://php.net/function.date.php

Arguments

$format

string

$timestamp

integer

Response

string|false

« More »

exprmgr_empty

Return true if the variable is NULL or blank.

package

Default

Arguments

$arg

null|string|boolean

Response

boolean

« More »

exprmgr_fixnum

Display number with comma as radix separator, if needed

package

Default

Arguments

$value

string

Response

string

« More »

exprmgr_if

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

package

Default

Arguments

$testDone

mixed

$iftrue

mixed

$iffalse

mixed

Response

mixed

« More »

exprmgr_implode

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

package

Default

Arguments

$args

array

Response

string

« More »

exprmgr_int

Return true if the variable is an integer for LimeSurvey Allow usage of numeric answercode as int Can not use is_int due to SQL DECIMAL system.

package

Default

link

http://php.net/is_int#82857

Arguments

$arg

string

Response

integer

« More »

exprmgr_join

Join together $args[N]

package

Default

Arguments

$args

array

Response

string

« More »

exprmgr_list

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

package

Default

Arguments

$args

array

Response

string

« More »

exprmgr_listifop

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

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

package

Default

Arguments

$args

array

Response

string

« More »

exprmgr_log

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

package

Default

Arguments

$args

array

Response

float

« More »

exprmgr_mktime

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

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

package

Default

Arguments

$hour

integer

$minute

integer

$second

integer

$month

integer

$day

integer

$year

integer

Response

integer|boolean

« More »

exprmgr_regexMatch

Return true if $input matches the regular expression $pattern

package

Default

Arguments

$pattern

string

$input

string

Response

boolean

« More »

exprmgr_stddev

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

package

Default

Arguments

$args

array

Response

float

« More »

exprmgr_stripos

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

package

Default

Arguments

$haystack

string

: checked string

$needle

string

: string to find

$offset

: offset

Response

integer|false

: position or false if not found

« More »

exprmgr_stristr

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

package

Default

Arguments

$haystack

string

: checked string

$needle

string

: string to find

$before_needle

boolean

: portion to return

Response

string|false

« More »

exprmgr_strlen

Get unicode string length

package

Default

Arguments

$string

string

Response

integer

« More »

exprmgr_strpos

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

package

Default

Arguments

$haystack

string

: checked string

$needle

string

: string to find

$offset

integer

: offset

Response

integer|false

: position or false if not found

« More »

exprmgr_strstr

Finds first occurrence of a unicode string within another

package

Default

Arguments

$haystack

string

: checked string

$needle

string

: string to find

$before_needle

boolean

: portion to return

Response

string|false

« More »

exprmgr_strtolower

Make an unicode string lowercase

package

Default

Arguments

$string

string

Response

string

« More »

exprmgr_strtoupper

Make an unicode string uppercase

package

Default

Arguments

$string

string

Response

string

« More »

exprmgr_substr

Get part of unicode string

package

Default

Arguments

$string

string

$start

integer

$end

integer

Response

string

« More »

exprmgr_sumifop

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

package

Default

Arguments

$args

array

Response

integer

« More »

exprmgr_unique

Returns true if all non-empty values are unique

package

Default

Arguments

$args

array

Response

boolean

« More »

extendDatafields364

package

Default

Arguments

$oDB

« More »

extendDatafields429

package

Default

Arguments

$oDB

« More »

file_validation_message

package

Default

Arguments

$ia

« More »

file_validation_popup

package

Default

Arguments

$ia

$filenotvalidated

boolean

« More »

fileCsvToUtf8

Read a csv file and return a tmp resources to same file in utf8 CSV file is deleted during process

package

Default

Arguments

$fullfilepath

string

$encoding

string

from

Response

resource

« More »

fillDate

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

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

package

Default

Arguments

$dateString

string

Response

string

« More »

filterForAttributes

This is a helper function for getAttributeFieldNames

package

Default

Arguments

$fieldname

mixed

Response

boolean

« More »

fixCKeditorText

package

Default

Arguments

$str

string

« More »

fixKCFinder184

package

Default

« More »

fixLanguageConsistency

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

package

Default

Arguments

$sid

string

  • the currently selected survey

$availlangs

string

  • space separated list of additional languages in survey - if empty all additional languages of a survey are checked against the base language

$baselang

string

  • language to use as base (useful when changing the base language) - if empty, it will be picked from the survey

Response

boolean

  • always returns true

« More »

fixLanguageConsistencyAllSurveys

package

Default

« More »

fixMovedQuestionConditions

package

Default

Arguments

$qid

integer

$oldgid

$newgid

integer

$iSurveyID

integer

« More »

fixMySQLCollations

package

Default

Arguments

$sEncoding

string

$sCollation

string

« More »

fixNumbering

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

package

Default

todo

can call this function (no $_GET, but getParam) AND do it with Yii

Arguments

$iQuestionID

$iSurveyID

integer

« More »

fixorder

Function rewrites the sortorder for a label set

package

Default

Arguments

$lid

mixed

Label set ID

« More »

fixPostgresSequence

This function fixes Postgres sequences for one/all tables in a database This is necessary if a table is renamed. If tablename is given then only that table is fixed

package

Default

Arguments

$tableName

string

Table name without prefix

« More »

fixSubquestions

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

Optimized for minimum memory usage even on huge databases

package

Default

« More »

flattenText

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

package

Default

Arguments

$sTextToFlatten

string

Text you want to clean

$bKeepSpan

boolean

set to true for keep span, used for expression manager. Default: false

$bDecodeHTMLEntities

boolean

If set to true then all HTML entities will be decoded to the specified charset. Default: false

$sCharset

string

Charset to decode to if $decodeHTMLEntities is set to true. Default: UTF-8

$bStripNewLines

string

strip new lines if true, if false replace all new line by \r\n. Default: true

Response

string

Cleaned text

« More »

folderSize

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

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

package

Default

Arguments

$dir

string

Folder

Response

integer

Size in bytes.

« More »

get_absolute_path

A function to remove .

./ or ./ from paths to prevent directory traversal

package

Default

Arguments

$path

string

Response

string

« More »

get_drupal_path

package

KCFinder @version 3.12 @author Dany Alejandro Cabrera otello2040@gmail.com

« More »

get_zip_originalsize

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

package

Default

Arguments

$filename

string

Response

integer

« More »

getArrayFilterExcludesCascadesForGroup

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

package

Default

Arguments

$surveyid

$gid

$output

Response

array

a keyed nested array, keyed by the qid of the question, containing cascade information

« More »

getAttributeFieldNames

Retrieves the attribute field names from the related survey participants table

package

Default

Arguments

$iSurveyID

mixed

The survey ID

Response

array

The fieldnames

« More »

getBounceEmail

package

Default

Arguments

$surveyid

« More »

getBrowserLanguage

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

package

Default

« More »

getDateFormatData

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

package

Default

returns

array

Arguments

$iDateFormat

integer

$sLanguageCode

string

« More »

getDateFormatDataForQID

Get the date format details for a specific question.

package

Default

returns

array

Arguments

$aQidAttributes

array Question attributes

$mThisSurvey

mixed Array of Survey attributes or surveyid

$language

« More »

getDateFormatForSID

Get the date format for a specified survey

package

Default

returns

integer

Arguments

$surveyid

integer Survey id

$languagecode

string Survey language code (optional)

« More »

getDBConnectionStringProperty

package

Default

Arguments

$sProperty

string

« More »

getDirectorySize

package

Default

Arguments

$directory

string

Response

integer

« More »

getEditor

Returns Editor.

package

Default

Arguments

$fieldtype

string

Field Type

$fieldname

string

Field Name

$fieldtext

$surveyID

integer|null

Survey ID

$gID

integer|null

Group ID

$qID

integer|null

Question ID

$action

string

Action

Response

string

« More »

getEmailFormat

package

Default

Arguments

$surveyid

« More »

geterrors_exprmgr_regexMatch

Return error information from pattern of regular expression $pattern

package

Default

Arguments

$pattern

string

$input

string

Response

string|null

« More »

getExtendedAnswer

package

Default

Arguments

$iSurveyID

integer

The Survey ID

$sFieldCode

string

Field code of the particular field

$sValue

string

The stored response value

$sLanguage

string

Initialized limesurvey_lang object for the resulting response data

Response

string

« More »

getFooter

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

package

Default

Response

string

« More »

getFullResponseTable

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

package

Default

Arguments

$iSurveyID

mixed

$iResponseID

mixed

$sLanguageCode

mixed

$bHonorConditions

boolean

Apply conditions

Response

array

« More »

getGidNext

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

package

Default

Arguments

$surveyid

integer

$gid

integer

Response

integer|string

The Gid of the next group or blank string if no group

« More »

getGidPrevious

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

package

Default

Arguments

$surveyid

integer

$gid

integer

Response

integer|string

The GID of the previous group or blank string if no group

« More »

getGlobalSetting

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

Arguments

$settingname

string

Response

string

« More »

getGroupDepsForConditions

getGroupDepsForConditions() get Dependencies between groups caused by conditions

package

Default

Arguments

$sid

string

  • the currently selected survey

$depgid

string

  • (optional) get only the dependencies applying to the group with gid depgid

$targgid

string

  • (optional) get only the dependencies for groups dependents on group targgid

$indexby

string

  • (optional) "by-depgid" for result indexed with $res[$depgid][$targgid] "by-targgid" for result indexed with $res[$targgid][$depgid]

Response

array

  • returns an array describing the conditions or NULL if no dependecy is found

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:

  • Get all group dependencies for SID $sid indexed by depgid: $result=getGroupDepsForConditions($sid);
  • Get all group dependencies for GID $gid in survey $sid indexed by depgid: $result=getGroupDepsForConditions($sid,$gid);
  • Get all group dependents on group $gid in survey $sid indexed by targgid: $result=getGroupDepsForConditions($sid,"all",$gid,"by-targgid");

« More »

getGroupList3

package

Default

Arguments

$gid

$surveyid

« More »

getGroupListLang

put your comment there.

..

package

Default

Arguments

$gid

mixed

$language

mixed

$surveyid

Response

string

« More »

getGroupOrder

Queries the database for the sortorder of a group.

package

Default

Arguments

$gid

mixed

The groups ID

Response

integer

The sortorder digit

« More »

getHeader

get the header

package

Default

Arguments

$meta

boolean

: not used in any call (2016-10-18)

Response

string

« More »

getInlineEditor

package

Default

Arguments

$fieldtype

$fieldname

$fieldtext

$surveyID

$gID

$qID

$action

« More »

getIPAddress

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

package

Default

Response

string

Client's IP Address

« More »

getJSDateFromDateFormat

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

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

package

Default

returns

string

Arguments

$sDateformat

string

« More »

getLabelInputWidth

Find the label / input width

package

Default

Arguments

$labelAttributeWidth

string|integer

label width from attribute

$inputAttributeWidth

string|integer

input width from attribute

Response

array

labelWidth as integer,inputWidth as integer,defaultWidth as boolean

« More »

getLabelSets

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

package

Default

Arguments

$languages

string

Response

array

« More »

getLanguageCodefromLanguage

Returns a language code from the name

package

Default

Arguments

$languagetosearch

string

this is the name of the language (e.g. 'English' see array in getLanguageData())

Response

integer|string

« More »

getLanguageData

package

Default

Arguments

$bOrderByNative

boolean

$sLanguageCode

string

Response

mixed

« More »

getLanguageDataRestricted

package

Default

Arguments

$bOrderByNative

$sDetail

« More »

getLanguageDetails

Returns the locale settings for a certain language code

package

Default

Arguments

$codetosearch

string

Response

array

Array with locale details

« More »

getLanguageNameFromCode

Returns a language name from the code

package

Default

todo

Should not give back different data types

Arguments

$codetosearch

string

$withnative

boolean

$sTranslationLanguage

string

Response

string|array

« More »

getLanguageRTL

package

Default

Arguments

$sLanguageCode

« More »

getLastInsertID

Retrieves the last Insert ID realiable for cross-DB applications

package

Default

Arguments

$sTableName

string

Needed for Postgres and MSSQL

Response

string

« More »

getLatLongFromIp

package

Default

Arguments

$sIPAddress

« More »

getListOfFiles

package

Default

Arguments

$wh

« More »

getLoaderHTML

package

Default

Arguments

$fieldname

« More »

getMaxGroupOrder

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

package

Default

Arguments

$surveyid

integer

The survey ID

Response

integer

Next free sortorder digit

« More »

getMaximumFileUploadSize

package

Default

« More »

getMaxQuestionOrder

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

package

Default

Arguments

$gid

integer

Response

integer

« More »

getModalEditor

package

Default

Arguments

$fieldtype

$fieldname

$fieldtext

$surveyID

$gID

$qID

$action

Response

string

« More »

getParticipantAttributes

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

package

Default

Arguments

$iSurveyID

integer

The Survey ID

Response

array

« More »

getPHPDateFromDateFormat

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

package

Default

returns

string

Arguments

$sDateformat

string

string

« More »

getPopupEditor

package

Default

Arguments

$fieldtype

$fieldname

$fieldtext

$surveyID

$gID

$qID

$action

Response

string

« More »

getPreferredLanguage

package

system

« More »

getPrintableHeader

This function returns the header for the printable survey

package

Default

Response

String

« More »

getQuestDepsForConditions

getQuestDepsForConditions() get Dependencies between groups caused by conditions

package

Default

Arguments

$sid

string

  • the currently selected survey

$gid

string

  • (optional) only search dependecies inside the Group Id $gid

$depqid

string

  • (optional) get only the dependencies applying to the question with qid depqid

$targqid

string

  • (optional) get only the dependencies for questions dependents on question Id targqid

$indexby

string

  • (optional) "by-depqid" for result indexed with $res[$depqid][$targqid] "by-targqid" for result indexed with $res[$targqid][$depqid]

$searchscope

Response

array

  • returns an array describing the conditions or NULL if no dependecy is found

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:

  • Get all questions dependencies for Survey $sid and group $gid indexed by depqid: $result=getQuestDepsForConditions($sid,$gid);
  • Get all questions dependencies for question $qid in survey/group $sid/$gid indexed by depqid: $result=getGroupDepsForConditions($sid,$gid,$qid);
  • Get all questions dependents on question $qid in survey/group $sid/$gid indexed by targqid: $result=getGroupDepsForConditions($sid,$gid,"all",$qid,"by-targgid");

« More »

getQuestionAttributeValue

Returns the questionAttribtue value set or '' if not set

package

Default

author

: lemeur

Arguments

$questionAttributeArray

$attributeName

string

$language

string Optional: The language if the particualr attributes is localizable

Response

string

« More »

getQuestionMapData

Return data to populate a Google Map

package

Default

Arguments

$sField

string

$qsid

Survey id

Response

array

« More »

getRadixPointData

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

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

package

Default

Arguments

$format

Response

integer|array

« More »

getRandomString

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

package

Default

Arguments

$length

integer

wanted lenght of the random string (only for openssl mode)

Response

string

« More »

getRelevantUpdates

Returns a sorted array of update objects with version higher than $iOldDBVersion

package

Default

todo

Move to class?

Arguments

$iOldDBVersion

integer

$db

\CDbConnection

$options

string

Response

array<mixed,\LimeSurvey\Helpers\Update\DatabaseUpdateBase>

« More »

getSerialClass

package

Default

Arguments

$sSerial

string

Response

string|null

« More »

getServerInfo

package

system

« More »

getStandardsReplacementFields

package

Default

Arguments

$thissurvey

« More »

getSubQuestions

Return an array of subquestions for a given sid/qid

package

Default

Arguments

$sid

integer

$qid

integer

$sLanguage

string

Language of the subquestion text

Response

array

« More »

getSurveyDefaultSettings

package

Default

« More »

getSurveyInfo

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

package

Default

Arguments

$surveyid

integer

The survey ID

$languagecode

string

The language code - if not given the base language of the particular survey is used

$force

boolean

If true, don't use memoization

Response

array|boolean

Returns array with survey info or false, if survey does not exist

« More »

getSurveyList

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

package

Default

Arguments

$bReturnArray

boolean

If set to true an array instead of an HTML option list is given back

Response

string|array

This string is returned containing formatted list of existing surveys

« More »

getTemplatePath

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

package

Default

Arguments

$sTemplateName

mixed

Response

string

« More »

getTemplateURL

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

package

Default

Arguments

$sTemplateName

mixed

Response

string

« More »

getTokenFieldsAndNames

Retrieves the attribute names from the related survey participants table

package

Default

Arguments

$surveyid

mixed

The survey ID

$bOnlyAttributes

boolean

Set this to true if you only want the fieldnames of the additional attribue fields - defaults to false

Response

array

The fieldnames as key and names as value in an Array

« More »

getUserGroupList

Get a list of all user groups All user group or filtered according to usercontrolSameGroupPolicy

package

Default

returns

array

« More »

getUserList

Returns a user list. If 'usercontrolSameGroupPolicy' is set and set to true, only users which are in the same group as me (--> logged in user) will be returned. Superadmin always gets the full list of users.

package

Default

Arguments

$outputformat

string could be 'onlyuidarray' which only returns array with userids, default is 'fullinfoarray'

Response

array

returns a list of user ids (param='onlyuidarray') or a list with full user details (e.g. uid, name, full_name etc.)

« More »

getXMLDataSingleTable

Exports a single table to XML

package

Default

Arguments

$iSurveyID

integer

The survey ID

$sTableName

string

The database table name of the table to be export

$sDocType

string

What doctype should be written

$sXMLTableTagName

string

Name of the tag table name in the XML file

$sFileName

$bSetIndent

Response

string|boolean

XMLWriter object

« More »

getXMLWriter

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

package

Default

« More »

getYiiVersion

package

system

« More »

group_export

package

Default

Arguments

$action

string

$iSurveyID

$gid

« More »

groupGetXMLStructure

package

Default

Arguments

$xml

\XMLWriter

$gid

« More »

groupOrderThenQuestionOrder

Compares two elements from an array (passed by the usort function) and returns -1, 0 or 1 depending on the result of the comparison of the sort order of the group_order and question_order field Used by : - remotecontrol_handle->export_statistics with merging group and question attributes (all in same array) - checkQuestions() in activate_helper function with ?

package

Default

Arguments

$a

mixed

$b

mixed

Response

integer

« More »

gT

Returns $sToTranslate translated to $sLanguage (defaults to lang set in session) escaped with $sEscapeMode

package

Default

Arguments

$sToTranslate

string

$sEscapeMode

string

Valid values are html (this is the default, js and unescaped)

$sLanguage

string

Response

string

« More »

hasFileUploadQuestion

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

package

Default

Arguments

$iSurveyID

integer

Response

boolean

« More »

hasResources

put your comment there.

..

package

Default

Arguments

$id

integer

$type

string

Response

boolean

« More »

hasTemplateManageRights

package

Default

Arguments

$userid

$sThemeFolder

« More »

HTMLEscape

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.

Arguments

$str

« More »

humanFilesize

Format size in human readable format.

package

Default

Arguments

$bytes

integer

$decimals

integer

Response

string

« More »

importDefaultValues

Import default values inside $xml, record process in $results Also imports defaultvalue_l10ns.

package

Default

Arguments

$xml

\SimpleXMLElement

$aLanguagesSupported

array

$aQIDReplacements

$results

array

« More »

importSurveyFile

package

Default

Arguments

$sFullFilePath

string

$bTranslateLinksFields

boolean

$sNewSurveyName

string

$DestSurveyID

integer

« More »

includeKeypad

Include Keypad headers

package

Default

« More »

incompleteAnsFilterState

This function return actual completion state

package

Default

Response

string|boolean

(complete|incomplete|all) or false

« More »

initKcfinder

package

Default

« More »

insertlabelset

package

Default

Response

\LabelSet

« More »

is_template_editable

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

package

Default

Arguments

$templatename

mixed

« More »

isAssociativeArray

Check if array is associative

package

Default

Arguments

$array

array

Response

boolean

« More »

isCaptchaEnabled

isCaptchaEnabled($screen, $usecaptchamode)

package

Default

Arguments

$screen

string

  • the screen name for which to test captcha activation

$captchamode

Response

boolean|null

  • returns true if captcha must be enabled

« More »

isJson

Check if string is JSON array

package

Default

Arguments

$str

string

Response

boolean

« More »

isNumericExtended

Returns true if passed $value is numeric

package

Default

Arguments

$value

Response

boolean

« More »

isNumericInt

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

package

Default

Arguments

$mStr

string

Response

boolean|integer

« More »

isTokenCompletedDatestamped

package

Default

Arguments

$thesurvey

« More »

isZipBomb

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

package

Default

Arguments

$zip_filename

string

Response

integer

« More »

javascriptEscape

package

Default

Arguments

$str

$strip_tags

$htmldecode

« More »

json_decode_ls

Decode a json string, sometimes needs stripslashes

package

Default

Arguments

$jsonString

string

Response

mixed

« More »

json_encode

package

KCFinder @version 3.12 @author Pavel Tzonkov sunhater@sunhater.com

Arguments

$data

« More »

jsonEscape

package

Default

Arguments

$str

$strip_tags

$htmldecode

« More »

languageDropdown

package

Default

Arguments

$surveyid

$selected

« More »

languageDropdownClean

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

package

Default

Arguments

$surveyid

integer

$selected

string

The selected language

Response

string

« More »

ldap_bindCnx

package

Default

Arguments

$ds

$server_id

« More »

ldap_doTokenSearch

package

Default

Arguments

$ds

$ldapq

$ResArray

$surveyid

integer

« More »

ldap_getCnx

package

Default

Arguments

$server_id

« More »

ldap_readattr

package

Default

Arguments

$attr

« More »

ldap_search_withScope

package

Default

Arguments

$ds

mixed

$basedn

mixed

$filter

mixed

$attrlist

mixed

$scope

mixed

« More »

longestString

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.

Arguments

$new_string

$longest_length

integer

Response

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 );

« More »

ls_json_encode

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

package

Default

Arguments

$content

« More »

mandatory_message

package

Default

Arguments

$ia

« More »

mandatory_popup

package

Default

Arguments

$ia

$notanswered

« More »

MaskFormula

package

Default

Arguments

$sValue

« More »

mb_check_encoding

package

Default

Arguments

$value

$encoding

« More »

mb_chr

package

Default

Arguments

$codepoint

$encoding

« More »

mb_convert_case

package

Default

Arguments

$string

$mode

$encoding

« More »

mb_convert_encoding

package

Default

Arguments

$string

$to_encoding

$from_encoding

« More »

mb_convert_variables

package

Default

Arguments

$to_encoding

$from_encoding

$vars

« More »

mb_decode_mimeheader

package

Default

Arguments

$string

« More »

mb_decode_numericentity

package

Default

Arguments

$string

$map

$encoding

« More »

mb_detect_encoding

package

Default

Arguments

$string

$encodings

$strict

« More »

mb_detect_order

package

Default

Arguments

$encoding

« More »

mb_encode_mimeheader

package

Default

Arguments

$string

$charset

$transfer_encoding

$newline

$indent

« More »

mb_encode_numericentity

package

Default

Arguments

$string

$map

$encoding

$hex

« More »

mb_encoding_aliases

package

Default

Arguments

$encoding

« More »

mb_get_info

package

Default

Arguments

$type

« More »

mb_http_input

package

Default

Arguments

$type

« More »

mb_http_output

package

Default

Arguments

$encoding

« More »

mb_internal_encoding

package

Default

Arguments

$encoding

« More »

mb_language

package

Default

Arguments

$language

« More »

mb_list_encodings

package

Default

« More »

mb_ord

package

Default

Arguments

$string

$encoding

« More »

mb_output_handler

package

Default

Arguments

$string

$status

« More »

mb_parse_str

package

Default

Arguments

$string

$result

« More »

mb_scrub

package

Default

Arguments

$string

$encoding

« More »

mb_str_split

package

Default

Arguments

$string

$length

$encoding

« More »

mb_stripos

package

Default

Arguments

$haystack

$needle

$offset

$encoding

« More »

mb_stristr

package

Default

Arguments

$haystack

$needle

$before_needle

$encoding

« More »

mb_strlen

package

Default

Arguments

$string

$encoding

« More »

mb_strpos

package

Default

Arguments

$haystack

$needle

$offset

$encoding

« More »

mb_strrchr

package

Default

Arguments

$haystack

$needle

$before_needle

$encoding

« More »

mb_strrichr

package

Default

Arguments

$haystack

$needle

$before_needle

$encoding

« More »

mb_strripos

package

Default

Arguments

$haystack

$needle

$offset

$encoding

« More »

mb_strrpos

package

Default

Arguments

$haystack

$needle

$offset

$encoding

« More »

mb_strstr

package

Default

Arguments

$haystack

$needle

$before_needle

$encoding

« More »

mb_strtolower

package

Default

Arguments

$string

$encoding

« More »

mb_strtoupper

package

Default

Arguments

$string

$encoding

« More »

mb_strwidth

package

Default

Arguments

$string

$encoding

« More »

mb_substitute_character

package

Default

Arguments

$substitute_character

« More »

mb_substr

package

Default

Arguments

$string

$start

$length

$encoding

« More »

mb_substr_count

package

Default

Arguments

$haystack

$needle

$encoding

« More »

mkdir_p

package

Default

Arguments

$target

string

« More »

modifyDatabase

Run an arbitrary sequence of semicolon-delimited SQL commands

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

package

Default

Arguments

$sqlfile

string

The path where a file with sql commands can be found on the server.

$sqlstring

string

If no path is supplied then a string with semicolon delimited sql commands can be supplied in this argument.

Response

boolean

Returns true if database was modified successfully.

« More »

modifyPrimaryKey

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

package

Default

Arguments

$sTablename

string

The table name

$aColumns

array<mixed,string>

Column names to be in the new key

« More »

modlabelsetanswers

package

Default

Arguments

$lid

null|integer

« More »

mssql_drop_constraint

package

Default

Arguments

$fieldname

string

$tablename

string

« More »

mssql_drop_coulmn_with_constraints

Deletes a column and removes all constraints from it

package

Default

Arguments

$tablename

string

The table the column should be deleted

$columnname

string

The column that should be deleted

« More »

mssql_drop_primary_index

package

Default

Arguments

$tablename

string

« More »

neT

Translation helper function for plural forms which outputs right away

package

Default

Arguments

$sToTranslate

string

$iCount

integer

$sEscapeMode

string

« More »

ngT

Translation helper function for plural forms

package

Default

Arguments

$sTextToTranslate

string

$iCount

integer

$sEscapeMode

string

Response

string

« More »

nice_addslashes

package

Default

Arguments

$string

« More »

numericSize

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

package

Default

Arguments

$sColumn

$decimal

boolean

db type as decimal(30,10)

Response

string

integersize.decimalsize

« More »

outputDatabase

Outputs a full dump of the current LimeSurvey database

package

Default

Arguments

$sDbName

string

Database Name

$bEchoOutput

$sFileName

« More »

PassthruReplace

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

package

Default

Arguments

$line

mixed

string - the string to iterate, and then return

$thissurvey

mixed

string - the string containing the surveyinformation

Response

string

This string is returned containing the substituted responses

« More »

permissionsAsArray

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

package

Default

Arguments

$globalPermissions

array

$customPermissions

array

Response

array

« More »

pluginExtractFilter

PCLZip callback for plugin ZIP install.

package

Default

Arguments

$p_event

mixed

$p_header

mixed

Response

integer

Return 1 for yes (file can be extracted), 0 for no

« More »

populateDatabase

package

Default

Throws
\CHttpException
\CException

Arguments

$oDB

DbConnection

« More »

PrepareEditorScript

package

Default

Arguments

$load

$controller

\CController

« More »

prepareLDAPQuery

package

Default

Arguments

$queryId

« More »

questionExport

package

Default

Arguments

$action

string

$iSurveyID

$gid

$qid

« More »

questionGetXMLStructure

package

Default

Arguments

$xml

\XMLWriter

$gid

$qid

« More »

questionTitleSort

package

Default

Arguments

$a

$b

« More »

quexml_create_multi

from export_structure_quexml.php

package

Default

Arguments

$question

$qid

$varname

$iResponseID

$fieldmap

$scale_id

$free

$other

$yesvalue

$comment

« More »

quexml_create_question

Create a queXML question element

package

Default

Arguments

$RowQ

\CActiveRecord

Question details in array

$additional

boolean|string

Any additional question text to append

« More »

quexml_create_subQuestions

from export_structure_quexml.php

package

Default

Arguments

$question

$qid

$varname

$iResponseID

$fieldmap

$use_answers

$aid

$scale

« More »

quexml_export

Export quexml survey.

package

Default

Arguments

$surveyi

$quexmllan

$iResponseID

« More »

quexml_get_lengthth

from export_structure_quexml.php

package

Default

Arguments

$qid

$attribute

$default

$quexmllang

« More »

quexml_reformat_date

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

package

Default

Arguments

$element

mixed

DOM element with the date to change

$qid

integer

The qid of the question

$iSurveyID

integer

The survey id

« More »

quexml_set_default_value

Set defaultValue attribute of provided element from response table

package

Default

Arguments

$element

mixed

DOM element to add attribute to

$iResponseID

integer

The response id

$qid

integer

The qid of the question

$iSurveyID

integer

The survey id

$fieldmap

array

A mapping of fields to qid

$fieldadd

boolean|string

Anything additional to search for in the field name

$usesqid

boolean|string

Search using sqid instead of qid

$usesaid

boolean|string

Search using aid

$usesscale

« More »

quexml_set_default_value_rank

Set defaultValue attribute of provided element from response table

package

Default

Arguments

$element

mixed

DOM element to add attribute to

$iResponseID

integer

The response id

$qid

integer

The qid of the question

$iSurveyID

integer

The survey id

$fieldmap

array

A mapping of fields to qid

$acode

string

The answer code to search for

« More »

QueXMLCleanup

from export_structure_quexml.php

package

Default

Arguments

$string

$allow

« More »

QueXMLCreateFixed

from export_structure_quexml.php

package

Default

Arguments

$qid

$iResponseID

$fieldmap

$rotate

$labels

$scale

$other

$varname

« More »

QueXMLCreateFree

from export_structure_quexml.php

package

Default

Arguments

$f

$len

$lab

« More »

QueXMLFixedArray

from export_structure_quexml.php

package

Default

Arguments

$array

« More »

QueXMLSkipTo

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

Arguments

$qid

mixed

$value

mixed

$cfieldname

Response

boolean|string

Text of item to skip to otherwise false if nothing to skip to

« More »

quoteSPSS

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

package

Default

Arguments

$sText

string

Text to quote

$sQuoteChar

string

The quote character (Use ' for SPSS and " for R)

$aField

string

General field information from SPSSFieldmap

« More »

quoteText

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

package

Default

Arguments

$sText

mixed

Text to quote

$sEscapeMode

string

Optional - One of the values 'html','js' or 'unescaped' - defaults to 'html'

Response

mixed|string

« More »

RaiseFatal

package

Default

Arguments

$Message

« More »

randomChars

Creates a random sequence of characters

package

Default

Arguments

$length

integer

Length of resulting string

$pattern

string

To define which characters should be in the resulting string

Response

string

« More »

recursive_in_array

package

Default

Arguments

$needle

$haystack

« More »

recursive_preg_replace

Applies preg_replace recursively until $recursion_limit is exceeded or no more replacements are done.

package

Default

Arguments

$pattern

array|string

$replacement

array|string

$subject

array|string

$limit

integer

$count

integer

If specified, this variable will be filled with the total number of replacements done (including all iterations)

$recursion_limit

integer

Max number of iterations allowed

Response

string|array

« More »

regenerateCSRFToken

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

package

Default

« More »

regenerateLabelCodes400

Regenerate codes for problematic label sets Helper function (TODO: Put in separate class) Fails silently

package

Default

Arguments

$lid

integer

Label set id

$hasLanguageColumn

boolean

Should be true before dbversion 400 is finished, false after

« More »

removeBOM

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

package

Default

Arguments

$str

string

Response

string

« More »

removeMysqlZeroDate

Remove all zero-dates in $tableName by checking datetime columns from $tableSchema Zero-dates are replaced with null where possible; otherwise 1970-01-01

package

Default

Arguments

$tableName

string

$tableSchema

\CDbTableSchema

$oDB

\CDbConnection

« More »

renderFile

package

system

Arguments

$_file_

$_params_

« More »

replaceExpressionCodes

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

package

Default

Arguments

$iSurveyID

integer

The survey ID

$aCodeMap

mixed

The codemap array (old_code=>new_code)

« More »

ReplaceFields

package

Default

Arguments

$text

$fieldsarray

$bReplaceInsertans

$staticReplace

« More »

resetTutorials337

package

Default

Arguments

$oDB

\CDbConnection

« More »

resourceExtractFilter

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

package

Default

Arguments

$p_event

$p_header

« More »

retrieveAnswers

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

package

Default

Arguments

$ia

array

Details of $ia can be found at top of this file

Response

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?

« More »

return_array_filter_strings

package

Default

Arguments

$ia

$aQuestionAttributes

$thissurvey

$ansrow

$rowname

string

$trbc

$valuename

string

$method

$class

« More »

return_display_style

package

Default

Arguments

$ia

$aQuestionAttributes

$thissurvey

$rowname

string

« More »

return_timer_script

package

Default

Arguments

$aQuestionAttributes

$ia

$disable

string

Response

string

« More »

returnGlobal

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

package

Default

Arguments

$stringname

string

$bRestrictToString

boolean

Response

array|boolean|mixed|integer|null

« More »

reverseTranslateFieldNames

This function creates the old fieldnames for survey import

package

Default

Arguments

$iOldSID

mixed

The old survey id

$iNewSID

integer

The new survey id

$aGIDReplacements

array

An array with group ids (oldgid=>newgid)

$aQIDReplacements

array

An array with question ids (oldqid=>newqid)

Response

array|boolean

« More »

rmdirr

This function removes a directory recursively

package

Default

Arguments

$dirname

string

Response

boolean

« More »

rollBackToTransactionBookmark

Roll back to a transaction bookmark

package

Default

Arguments

$sBookmark

mixed

Name of the bookmark

« More »

runAddPrimaryKeyonAnswersTable400

package

Default

Arguments

$oDB

« More »

safecount

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

package

Default

author

Arguments

$element

mixed

Response

integer

counted element

« More »

safeDie

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 :(

Arguments

$sText

mixed

« More »

sanitize

package

Default

Arguments

$input

$flags

$min

$max

« More »

sanitize_alphanumeric

Remove all chars from $value that are not alphanumeric or dash or underscore

package

Default

Arguments

$value

string

Response

string

« More »

sanitize_cquestions

package

Default

Arguments

$string

$min

$max

« More »

sanitize_dirname

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

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

package

Default

Arguments

$string

$force_lowercase

$alphanumeric

« More »

sanitize_filename

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

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

package

Default

Arguments

$filename

$force_lowercase

$alphanumeric

$beautify

« More »

sanitize_float

package

Default

Arguments

$float

$min

$max

« More »

sanitize_html_string

package

Default

Arguments

$string

« More »

sanitize_int

package

Default

Arguments

$integer

$min

$max

« More »

sanitize_labelname

package

Default

Arguments

$string

« More »

sanitize_languagecode

package

Default

Arguments

$codetosanitize

« More »

sanitize_languagecodeS

package

Default

Arguments

$codestringtosanitize

string

« More »

sanitize_ldap_string

package

Default

Arguments

$string

$min

$max

« More »

sanitize_paranoid_string

package

Default

Arguments

$string

$min

$max

« More »

sanitize_signedint

package

Default

Arguments

$integer

$min

$max

« More »

sanitize_sql_db_tablename

package

Default

Arguments

$string

« More »

sanitize_system_string

package

Default

Arguments

$string

$min

$max

« More »

sanitize_user

package

Default

Arguments

$string

string

« More »

sanitize_userfullname

package

Default

Arguments

$string

« More »

sanitize_xss_string

package

Default

Arguments

$string

« More »

scanFile

package

Default

Arguments

$fileName

« More »

sendCacheHeaders

package

Default

« More »

SendEmailMessage

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

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

package

Default

deprecated

: leave it in 4.0 for plugins ? Must remove in 5.0 at minima.

Arguments

$body

string

Body text of the email in plain text or HTML

$subject

mixed

Email subject

$to

mixed

Array with several email addresses or single string with one email address

$from

mixed

$sitename

mixed

$ishtml

boolean

$bouncemail

mixed

$attachments

mixed

$customheaders

Response

boolean

If successful returns true

« More »

setNoAnswerMode

setNoAnswerMode

package

Default

Arguments

$thissurvey

« More »

setTransactionBookmark

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

package

Default

Arguments

$sBookmark

mixed

Name of the bookmark

« More »

setupColumns

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.

  • Using Tables is problematic semanticly.
  • Using inline or float to create columns, causes the answers flows horizontally, not vertically which is not ideal visually.
  • Using CSS3 columns is also a problem because of browser support and also because if you have answeres split across two or more lines, and those answeres happen to fall at the bottom of a column, the answer might be split across columns as well as lines.
  • Using nested unordered list with the first level of
  • s floated is the same as using tables and so is bad semantically for the same reason tables are bad.
  • Breaking the unordered lists into consecutive floated unordered lists is not great semantically but probably not as bad as using tables.

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.

Arguments

$columns

integer

  • the number of columns, usually supplied by $dcols

$answer_count

integer

  • the number of answers to a question, usually supplied by $anscount

$wrapperclass

string

  • a global class for the wrapper

$itemclass

string

  • a class for the item

Response

array

with all the various opening and closing tags to generate a set of columns.

« More »

short_implode

Implode and sort content array for very long arrays

package

Default

Arguments

$sDelimeter

string

$sHyphen

$aArray

array

Response

string

String showing array content

« More »

shouldFilterUserGroupList

Determines whether the list of user groups will need filtering before viewing.

package

Default

returns

bool

« More »

ShowDBUpgradeNotice

package

Default

Response

string

html

« More »

showHelp

Display help guide for this command.

package

com.tecnick.tcpdf

« More »

showJavaScript

This function converts emebedded Javascript to Text

package

Default

Arguments

$sContent

string

String to clean

Response

string

Cleaned string

« More »

sodium_add

package

Default

see \ParagonIE_Sodium_Compat::add()
Throws
\SodiumException

Arguments

$string1

string

$string2

string

« More »

sodium_base642bin

package

Default

see \ParagonIE_Sodium_Compat::bin2base64()
Throws
\SodiumException
\TypeError

Arguments

$string

string

$variant

integer

$ignore

string

Response

string

« More »

sodium_bin2base64

package

Default

see \ParagonIE_Sodium_Compat::bin2base64()
Throws
\SodiumException
\TypeError

Arguments

$string

string

$variant

integer

Response

string

« More »

sodium_bin2hex

package

Default

see \ParagonIE_Sodium_Compat::hex2bin()
Throws
\SodiumException
\TypeError

Arguments

$string

string

Response

string

« More »

sodium_compare

package

Default

see \ParagonIE_Sodium_Compat::compare()
Throws
\SodiumException
\TypeError

Arguments

$string1

string

$string2

string

Response

integer

« More »

sodium_crypto_aead_aes256gcm_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt()

Arguments

$ciphertext

string

$additional_data

string

$nonce

string

$key

string

Response

string|boolean

« More »

sodium_crypto_aead_aes256gcm_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$additional_data

string

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_aead_aes256gcm_is_available

« More »

sodium_crypto_aead_chacha20poly1305_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt()

Arguments

$ciphertext

string

$additional_data

string

$nonce

string

$key

string

Response

string|boolean

« More »

sodium_crypto_aead_chacha20poly1305_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$additional_data

string

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_aead_chacha20poly1305_ietf_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_decrypt()

Arguments

$message

string

$additional_data

string

$nonce

string

$key

string

Response

string|boolean

« More »

sodium_crypto_aead_chacha20poly1305_ietf_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$additional_data

string

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_aead_chacha20poly1305_ietf_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_aead_chacha20poly1305_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_aead_xchacha20poly1305_ietf_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_decrypt()

Arguments

$ciphertext

string

$additional_data

string

$nonce

string

$key

string

Response

string|boolean

« More »

sodium_crypto_aead_xchacha20poly1305_ietf_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$additional_data

string

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_aead_xchacha20poly1305_ietf_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_auth

package

Default

see \ParagonIE_Sodium_Compat::crypto_auth()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$key

string

Response

string

« More »

sodium_crypto_auth_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_auth_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_auth_verify

package

Default

see \ParagonIE_Sodium_Compat::crypto_auth_verify()
Throws
\SodiumException
\TypeError

Arguments

$mac

string

$message

string

$key

string

Response

boolean

« More »

sodium_crypto_box

package

Default

see \ParagonIE_Sodium_Compat::crypto_box()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$key_pair

string

Response

string

« More »

sodium_crypto_box_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_keypair()
Throws
\SodiumException
\TypeError

Response

string

« More »

sodium_crypto_box_keypair_from_secretkey_and_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey()
Throws
\SodiumException
\TypeError

Arguments

$secret_key

string

$public_key

string

Response

string

« More »

sodium_crypto_box_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_open()

Arguments

$ciphertext

string

$nonce

string

$key_pair

string

Response

string|boolean

« More »

sodium_crypto_box_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_publickey()
Throws
\SodiumException
\TypeError

Arguments

$key_pair

string

Response

string

« More »

sodium_crypto_box_publickey_from_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$secret_key

string

Response

string

« More »

sodium_crypto_box_seal

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_seal()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$public_key

string

Response

string

« More »

sodium_crypto_box_seal_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_seal_open()
Throws
\SodiumException

Arguments

$message

string

$key_pair

string

Response

string|boolean

« More »

sodium_crypto_box_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$key_pair

string

Response

string

« More »

sodium_crypto_box_seed_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_seed_keypair()
Throws
\SodiumException
\TypeError

Arguments

$seed

string

Response

string

« More »

sodium_crypto_core_ristretto255_add

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_add()
Throws
\SodiumException

Arguments

$p

string

$q

string

Response

string

« More »

sodium_crypto_core_ristretto255_from_hash

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_from_hash()
Throws
\SodiumException

Arguments

$s

string

Response

string

« More »

sodium_crypto_core_ristretto255_is_valid_point

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_is_valid_point()
Throws
\SodiumException

Arguments

$s

string

Response

boolean

« More »

sodium_crypto_core_ristretto255_random

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_random()
Throws
\SodiumException

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_add

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_add()
Throws
\SodiumException

Arguments

$x

string

$y

string

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_complement

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_complement()
Throws
\SodiumException

Arguments

$s

string

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_invert

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_invert()
Throws
\SodiumException

Arguments

$p

string

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_mul

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_mul()
Throws
\SodiumException

Arguments

$x

string

$y

string

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_negate

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_negate()
Throws
\SodiumException

Arguments

$s

string

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_random

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_random()
Throws
\SodiumException

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_reduce

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_reduce()
Throws
\SodiumException

Arguments

$s

string

Response

string

« More »

sodium_crypto_core_ristretto255_scalar_sub

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_scalar_sub()
Throws
\SodiumException

Arguments

$x

string

$y

string

Response

string

« More »

sodium_crypto_core_ristretto255_sub

package

Default

see \ParagonIE_Sodium_Compat::ristretto255_sub()
Throws
\SodiumException

Arguments

$p

string

$q

string

Response

string

« More »

sodium_crypto_generichash

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$key

string|null

$length

integer

Response

string

« More »

sodium_crypto_generichash_final

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_final()
Throws
\SodiumException
\TypeError

Arguments

$state

string|null

$outputLength

integer

Response

string

« More »

sodium_crypto_generichash_init

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_init()
Throws
\SodiumException
\TypeError

Arguments

$key

string|null

$length

integer

Response

string

« More »

sodium_crypto_generichash_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_generichash_update

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_update()
Throws
\SodiumException
\TypeError

Arguments

$state

string|null

$message

string

« More »

sodium_crypto_kdf_derive_from_key

package

Default

see \ParagonIE_Sodium_Compat::crypto_kdf_derive_from_key()
Throws
\Exception

Arguments

$subkey_length

integer

$subkey_id

integer

$context

string

$key

string

Response

string

« More »

sodium_crypto_kdf_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_kdf_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_kx

package

Default

see \ParagonIE_Sodium_Compat::crypto_kx()
Throws
\SodiumException
\TypeError

Arguments

$my_secret

string

$their_public

string

$client_public

string

$server_public

string

Response

string

« More »

sodium_crypto_kx_client_session_keys

package

Default

Throws
\SodiumException

Arguments

$client_key_pair

string

$server_key

string

Response

\array{0:

string, 1: string}

« More »

sodium_crypto_kx_keypair

package

Default

Throws
\Exception

Response

string

« More »

sodium_crypto_kx_publickey

package

Default

Throws
\Exception

Arguments

$key_pair

string

Response

string

« More »

sodium_crypto_kx_secretkey

package

Default

Throws
\Exception

Arguments

$key_pair

string

Response

string

« More »

sodium_crypto_kx_seed_keypair

package

Default

Throws
\Exception

Arguments

$seed

string

Response

string

« More »

sodium_crypto_kx_server_session_keys

package

Default

Throws
\SodiumException

Arguments

$server_key_pair

string

$client_key

string

Response

\array{0:

string, 1: string}

« More »

sodium_crypto_pwhash

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash()
Throws
\SodiumException
\TypeError

Arguments

$length

integer

$passwd

string

$salt

string

$opslimit

integer

$memlimit

integer

$algo

integer|null

Response

string

« More »

sodium_crypto_pwhash_scryptsalsa208sha256

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256()
Throws
\SodiumException
\TypeError

Arguments

$length

integer

$passwd

string

$salt

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

sodium_crypto_pwhash_scryptsalsa208sha256_str

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

sodium_crypto_pwhash_scryptsalsa208sha256_str_verify

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str_verify()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$hash

string

Response

boolean

« More »

sodium_crypto_pwhash_str

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_str()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

sodium_crypto_pwhash_str_needs_rehash

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_str_needs_rehash()
Throws
\SodiumException

Arguments

$hash

string

$opslimit

integer

$memlimit

integer

Response

boolean

« More »

sodium_crypto_pwhash_str_verify

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_str_verify()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$hash

string

Response

boolean

« More »

sodium_crypto_scalarmult

package

Default

see \ParagonIE_Sodium_Compat::crypto_scalarmult()
Throws
\SodiumException
\TypeError

Arguments

$n

string

$p

string

Response

string

« More »

sodium_crypto_scalarmult_base

package

Default

see \ParagonIE_Sodium_Compat::crypto_scalarmult_base()
Throws
\SodiumException
\TypeError

Arguments

$n

string

Response

string

« More »

sodium_crypto_scalarmult_ristretto255

package

Default

see \ParagonIE_Sodium_Compat::crypto_scalarmult_ristretto255()
Throws
\SodiumException
\TypeError

Arguments

$n

string

$p

string

Response

string

« More »

sodium_crypto_scalarmult_ristretto255_base

package

Default

see \ParagonIE_Sodium_Compat::crypto_scalarmult_ristretto255_base()
Throws
\SodiumException
\TypeError

Arguments

$n

string

Response

string

« More »

sodium_crypto_secretbox

package

Default

see \ParagonIE_Sodium_Compat::crypto_secretbox()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_secretbox_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_secretbox_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_secretbox_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_secretbox_open()

Arguments

$ciphertext

string

$nonce

string

$key

string

Response

string|boolean

« More »

sodium_crypto_secretstream_xchacha20poly1305_init_pull

package

Default

Throws
\Exception

Arguments

$header

string

$key

string

Response

string

« More »

sodium_crypto_secretstream_xchacha20poly1305_init_push

package

Default

Throws
\SodiumException

Arguments

$key

string

Response

\array

string>

« More »

sodium_crypto_secretstream_xchacha20poly1305_keygen

package

Default

Throws
\Exception

Response

string

« More »

sodium_crypto_secretstream_xchacha20poly1305_pull

package

Default

Throws
\SodiumException

Arguments

$state

string

$ciphertext

string

$additional_data

string

Response

boolean|\array{0:

string, 1: int}

« More »

sodium_crypto_secretstream_xchacha20poly1305_push

package

Default

Throws
\SodiumException

Arguments

$state

string

$message

string

$additional_data

string

$tag

integer

Response

string

« More »

sodium_crypto_secretstream_xchacha20poly1305_rekey

package

Default

Throws
\SodiumException

Arguments

$state

string

« More »

sodium_crypto_shorthash

package

Default

see \ParagonIE_Sodium_Compat::crypto_shorthash()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$key

string

Response

string

« More »

sodium_crypto_shorthash_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_shorthash_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_sign

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$secret_key

string

Response

string

« More »

sodium_crypto_sign_detached

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_detached()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$secret_key

string

Response

string

« More »

sodium_crypto_sign_ed25519_pk_to_curve25519

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519()
Throws
\SodiumException
\TypeError

Arguments

$public_key

string

Response

string

« More »

sodium_crypto_sign_ed25519_sk_to_curve25519

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519()
Throws
\SodiumException
\TypeError

Arguments

$secret_key

string

Response

string

« More »

sodium_crypto_sign_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_keypair()
Throws
\SodiumException
\TypeError

Response

string

« More »

sodium_crypto_sign_keypair_from_secretkey_and_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_keypair_from_secretkey_and_publickey()
Throws
\SodiumException
\TypeError

Arguments

$secret_key

string

$public_key

string

Response

string

« More »

sodium_crypto_sign_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_open()

Arguments

$signedMessage

string

$public_key

string

Response

string|boolean

« More »

sodium_crypto_sign_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_publickey()
Throws
\SodiumException
\TypeError

Arguments

$key_pair

string

Response

string

« More »

sodium_crypto_sign_publickey_from_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$secret_key

string

Response

string

« More »

sodium_crypto_sign_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$key_pair

string

Response

string

« More »

sodium_crypto_sign_seed_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_seed_keypair()
Throws
\SodiumException
\TypeError

Arguments

$seed

string

Response

string

« More »

sodium_crypto_sign_verify_detached

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_verify_detached()
Throws
\SodiumException
\TypeError

Arguments

$signature

string

$message

string

$public_key

string

Response

boolean

« More »

sodium_crypto_stream

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream()
Throws
\SodiumException
\TypeError

Arguments

$length

integer

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_stream_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_stream_xchacha20

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_xchacha20()
Throws
\SodiumException
\TypeError

Arguments

$len

integer

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_stream_xchacha20_keygen

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen()
Throws
\Exception

Response

string

« More »

sodium_crypto_stream_xchacha20_xor

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$key

string

Response

string

« More »

sodium_crypto_stream_xchacha20_xor_ic

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$counter

integer

$key

string

Response

string

« More »

sodium_crypto_stream_xor

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_xor()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$key

string

Response

string

« More »

sodium_hex2bin

package

Default

see \ParagonIE_Sodium_Compat::hex2bin()
Throws
\SodiumException
\TypeError

Arguments

$string

string

$ignore

string

Response

string

« More »

sodium_increment

package

Default

see \ParagonIE_Sodium_Compat::increment()
Throws
\SodiumException
\TypeError

Arguments

$string

string

« More »

sodium_library_version_major

package

Default

see \ParagonIE_Sodium_Compat::library_version_major()

Response

integer

« More »

sodium_library_version_minor

package

Default

see \ParagonIE_Sodium_Compat::library_version_minor()

Response

integer

« More »

sodium_memcmp

package

Default

see \ParagonIE_Sodium_Compat::memcmp()
Throws
\SodiumException
\TypeError

Arguments

$string1

string

$string2

string

Response

integer

« More »

sodium_memzero

package

Default

see \ParagonIE_Sodium_Compat::memzero()
Throws
\SodiumException
\TypeError

Arguments

$string

string

« More »

sodium_pad

package

Default

see \ParagonIE_Sodium_Compat::pad()
Throws
\SodiumException
\TypeError

Arguments

$unpadded

string

$block_size

integer

Response

string

« More »

sodium_randombytes_buf

package

Default

see \ParagonIE_Sodium_Compat::randombytes_buf()
Throws
\Exception

Arguments

$amount

integer

Response

string

« More »

sodium_randombytes_random16

package

Default

see \ParagonIE_Sodium_Compat::randombytes_random16()
Throws
\Exception

Response

integer

« More »

sodium_randombytes_uniform

package

Default

see \ParagonIE_Sodium_Compat::randombytes_uniform()
Throws
\Exception

Arguments

$upperLimit

integer

Response

integer

« More »

sodium_unpad

package

Default

see \ParagonIE_Sodium_Compat::pad()
Throws
\SodiumException
\TypeError

Arguments

$padded

string

$block_size

integer

Response

string

« More »

sodium_version_string

package

Default

see \ParagonIE_Sodium_Compat::version_string()

Response

string

« More »

sodiumCompatAutoloader

Sodium_Compat autoloader.

package

Default

Arguments

$class

string

Class name to be autoloaded.

Response

boolean

Stop autoloading?

« More »

sortArrayByColumn

Sort array by column name

package

Default

Arguments

$array

array

$column_name

string

« More »

SPSSExportData

Exports CSV response data for SPSS and R

package

Default

Arguments

$iSurveyID

mixed

The survey ID

$iLength

string

Maximum text lenght data, usually 255 for SPSS <v16 and 16384 for SPSS 16 and later

$na

string

Value for N/A data

$sEmptyAnswerValue

string

Value for empty data ('')

$q

string

sep Quote separator. Use ' for SPSS, " for R

$header

boolean

logical $header If TRUE, adds SQGA code as column headings (used by export to R)

$sLanguage

string

« More »

SPSSFieldMap

Creates a fieldmap with all information necessary to output the fields

package

Default

Arguments

$iSurveyID

$prefix

string prefix for the variable ID

$sLanguage

Response

array

« More »

SPSSGetQuery

Creates a query string with all fields for the export

package

Default

Arguments

$iSurveyID

$limit

$offset

Response

\CDbCommand

« More »

SPSSGetValues

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

package

Default

Arguments

$field

array field from SPSSFieldMap

$qidattributes

$language

string

Response

array|boolean

« More »

square

Simple function to square a value

package

Default

Arguments

$number

mixed

Value to square

« More »

SSLRedirect

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

(Was redirect() before CodeIgniter port.)

package

Default

Arguments

$enforceSSLMode

string

string 's' or '' (empty).

« More »

standardDeviation

Returns the standard deviation of supplied $numbers

package

Default

Arguments

$numbers

array

The numbers to calculate the standard deviation for

Response

float

« More »

sTranslateLangCode2CK

package

Default

Arguments

$sLanguageCode

« More »

stringSize

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

package

Default

Arguments

$sColumn

Response

integer

« More »

stripCtrlChars

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

package

Default

Arguments

$sValue

mixed

A string to be sanitized

Response

string

A sanitized string, otherwise the unmodified original variable

« More »

stripJavaScript

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

package

Default

Arguments

$sContent

string

String to clean

Response

string

Cleaned string

« More »

stripTagsFull

Strips html tags and replaces new lines

package

Default

Arguments

$string

$removeOther

if 'true', removes '-oth-' from the string.

Response

string

« More »

strSplitUnicode

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

package

Default

Arguments

$str

string

$l

Response

string

« More »

SureRemoveDir

package

Default

Arguments

$dir

$DeleteMe

« More »

SureRemoveDir

package

Default

Arguments

$dir

$DeleteMe

$excludes

« More »

surveyGetThemeConfiguration

Write XML structure for themes

package

Default

Arguments

$iSurveyId

integer

Survey ID

$oXml

object

XMLWriter Object

$bInherit

boolean

should theme configuration be inherited?

$sElementName

string

name for XML element

« More »

surveyGetXMLData

from export_structure_xml.php

package

Default

Arguments

$iSurveyID

$exclude

« More »

surveyGetXMLStructure

from export_structure_xml.php

package

Default

Arguments

$iSurveyID

$xmlwriter

$exclude

« More »

switchMSSQLIdentityInsert

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

package

Default

Arguments

$table

string

table name (without prefix)

$state

boolean

Set to true to activate ID insert, or false to deactivate

« More »

t

Returns a localized message according to user preferred language.

package

system

Arguments

$category

$message

$params

Response

string

translated message

« More »

tableExists

Check if a table does exist in the database

package

Default

Arguments

$sTableName

string

Table name to check for (without dbprefix!))

Response

boolean

True or false if table exists or not

« More »

templateDefaultTexts

Returns the default email template texts as array

package

Default

todo

Move to defaulttexts helper

Arguments

$sLanguage

mixed

Required language translationb object

$mode

string

Escape mode for the translation function

$sNewlines

Response

array

« More »

templateExtractFilter

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

package

Default

Arguments

$p_event

mixed

$p_header

mixed

Response

integer

Return 1 for yes (file can be extracted), 0 for no

« More »

templatereplace

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

package

Default

Arguments

$line

string

Text to search in

$replacements

array<mixed,string>

Array of replacements: Array( =>

$redata

array<mixed,mixed>

: array of global var used in the function

$debugSrc

null

unused

$anonymized

null

unused (all done in EM now)

$questionNum

integer|null

  • needed to support dynamic JavaScript-based tailoring within questions

$registerdata

void

  • deprecated

$bStaticReplacement

$oTemplate

Response

string

Text with replaced strings

« More »

testKeypad

package

Default

Arguments

$sUseKeyPad

string

Response

string

« More »

themeoptions

package

Default

Arguments

$optionarray

$selectedvalue

« More »

tokensExport

package

Default

Arguments

$iSurveyID

integer

« More »

traceVar

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

package

Default

Arguments

$variable

mixed

The variable to be dumped

$depth

integer

Maximum depth to go into the variable, default is 10

« More »

transferPasswordFieldToText

package

Default

Arguments

$oDB

\CDbConnection

« More »

translateInsertansTags

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

package

Default

Arguments

$newsid

string

Old SID

$oldsid

string

New SID

$fieldnames

mixed

Array array('oldfieldname'=>'newfieldname')

« More »

TSVImportSurvey

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

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

package

Default

author

TMSWhite

Arguments

$sFullFilePath

string

Response

string

XML data

« More »

tsvSurveyExport

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

package

Default

Arguments

$surveyid

Response

string

« More »

twig_array_batch

Batches item.

package

Default

Arguments

$items

array

An array of items

$size

integer

The size of the batch

$fill

mixed

A value used to fill missing items

$preserveKeys

Response

array

« More »

twig_array_filter

package

Default

Arguments

$env

\Twig\Environment

$array

$arrow

« More »

twig_array_map

package

Default

Arguments

$env

\Twig\Environment

$array

$arrow

« More »

twig_array_merge

Merges an array with another one.

{% set items = { 'apple': 'fruit', 'orange': 'fruit' } %}

{% set items = items|merge({ 'peugeot': 'car' }) %}

{# items now contains { 'apple': 'fruit', 'orange': 'fruit', 'peugeot': 'car' } #}

package

Default

Arguments

$arr1

array|\Traversable

An array

$arr2

array|\Traversable

An array

Response

array

The merged array

« More »

twig_array_reduce

package

Default

Arguments

$env

\Twig\Environment

$array

$arrow

$initial

« More »

twig_capitalize_string_filter

Returns a capitalized string.

package

Default

Arguments

$env

\Twig\Environment

$string

string

A string

Response

string

The capitalized string

« More »

twig_constant

Provides the ability to get constants from instances as well as class/global constants.

package

Default

Arguments

$constant

string

The name of the constant

$object

object|null

The object to get the constant from

Response

string

« More »

twig_constant_is_defined

Checks if a constant exists.

package

Default

Arguments

$constant

string

The name of the constant

$object

object|null

The object to get the constant from

Response

boolean

« More »

twig_convert_encoding

package

Default

Arguments

$string

$to

$from

« More »

twig_cycle

Cycles over a value.

package

Default

Arguments

$values

\ArrayAccess|array

$position

integer

The cycle position

Response

string

The next value in the cycle

« More »

twig_date_converter

Converts an input to a \DateTime instance.

{% if date(user.created_at) < date('+2days') %} {# do something #} {% endif %}

package

Default

Arguments

$env

\Twig\Environment

$date

\DateTime|\DateTimeInterface|string|null

A date

$timezone

\DateTimeZone|string|false|null

The target timezone, null to use the default, false to leave unchanged

Response

\DateTimeInterface

« More »

twig_date_format_filter

Converts a date to the given format.

{{ post.published_at|date("m/d/Y") }}

package

Default

Arguments

$env

\Twig\Environment

$date

\DateTime|\DateTimeInterface|\DateInterval|string

A date

$format

string|null

The target format, null to use the default

$timezone

\DateTimeZone|string|false|null

The target timezone, null to use the default, false to leave unchanged

Response

string

The formatted date

« More »

twig_date_modify_filter

Returns a new date object modified.

{{ post.published_at|date_modify("-1day")|date("m/d/Y") }}

package

Default

Arguments

$env

\Twig\Environment

$date

\DateTime|string

A date

$modifier

string

A modifier string

Response

\DateTime

« More »

twig_escape_filter

Escapes a string.

package

Default

Arguments

$env

\Twig\Environment

$string

mixed

The value to be escaped

$strategy

string

The escaping strategy

$charset

string

The charset

$autoescape

boolean

Whether the function is called by the auto-escaping feature (true) or by the developer (false)

Response

string

« More »

twig_first

Returns the first element of the item.

package

Default

Arguments

$env

\Twig\Environment

$item

mixed

A variable

Response

mixed

The first element of the item

« More »

twig_get_array_keys_filter

Returns the keys for the given array.

It is useful when you want to iterate over the keys of an array:

{% for key in array|keys %} {# ... #} {% endfor %}

package

Default

Arguments

$array

array

An array

Response

array

The keys

« More »

twig_include

Renders a template.

package

Default

Arguments

$env

\Twig\Environment

$context

array

$template

string|array

The template to render or an array of templates to try consecutively

$variables

array

The variables to pass to the template

$withContext

boolean

$ignoreMissing

boolean

Whether to ignore missing templates or not

$sandboxed

boolean

Whether to sandbox the template or not

Response

string

The rendered template

« More »

twig_join_filter

Joins the values to a string.

The separators between elements are empty strings per default, you can define them with the optional parameters.

{{ [1, 2, 3]|join(', ', ' and ') }} {# returns 1, 2 and 3 #}

{{ [1, 2, 3]|join('|') }} {# returns 1|2|3 #}

{{ [1, 2, 3]|join }} {# returns 123 #}

package

Default

Arguments

$value

array

An array

$glue

string

The separator

$and

string|null

The separator for the last pair

Response

string

The concatenated string

« More »

twig_jsonencode_filter

JSON encodes a variable.

package

Default

Arguments

$value

mixed

the value to encode

$options

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

Response

mixed

The JSON encoded value

« More »

twig_last

Returns the last element of the item.

package

Default

Arguments

$env

\Twig\Environment

$item

mixed

A variable

Response

mixed

The last element of the item

« More »

twig_length_filter

Returns the length of a variable.

package

Default

Arguments

$env

\Twig\Environment

$thing

mixed

A variable

Response

integer

The length of the value

« More »

twig_lower_filter

Converts a string to lowercase.

package

Default

Arguments

$env

\Twig\Environment

$string

string

A string

Response

string

The lowercased string

« More »

twig_number_format_filter

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

Arguments

$env

\Twig\Environment

$number

mixed

A float/int/string of the number to format

$decimal

integer

the number of decimal points to display

$decimalPoint

string

the character(s) to use for the decimal point

$thousandSep

string

the character(s) to use for the thousands separator

Response

string

The formatted number

« More »

twig_ord

package

Default

Arguments

$string

« More »

twig_random

Returns a random value depending on the supplied parameter type: - a random item from a \Traversable or array - a random character from a string - a random integer between 0 and the integer parameter.

package

Default

Throws
\Twig\Error\RuntimeError

when $values is an empty array (does not apply to an empty string which is returned as is)

Arguments

$env

\Twig\Environment

$values

\Traversable|array|integer|float|string

The values to pick a random item from

$max

integer|null

Maximum value used when $values is an int

Response

mixed

A random value from the given sequence

« More »

twig_raw_filter

Marks a variable as being safe.

package

Default

Arguments

$string

string

A PHP variable

Response

string

« More »

twig_replace_filter

Replaces strings within a string.

package

Default

Arguments

$str

string

String to replace in

$from

array|\Traversable

Replace values

$to

string|null

Replace to, deprecated (@see https://www.php.net/manual/en/function.strtr.php)

Response

string

« More »

twig_reverse_filter

Reverses a variable.

package

Default

Arguments

$env

\Twig\Environment

$item

array|\Traversable|string

An array, a \Traversable instance, or a string

$preserveKeys

boolean

Whether to preserve key or not

Response

mixed

The reversed input

« More »

twig_round

Rounds a number.

package

Default

Arguments

$value

integer|float

The value to round

$precision

integer|float

The rounding precision

$method

string

The method to use for rounding

Response

integer|float

The rounded number

« More »

twig_slice

Slices a variable.

package

Default

Arguments

$env

\Twig\Environment

$item

mixed

A variable

$start

integer

Start of the slice

$length

integer

Size of the slice

$preserveKeys

boolean

Whether to preserve key or not (when the input is an array)

Response

mixed

The sliced variable

« More »

twig_sort_filter

Sorts an array.

package

Default

Arguments

$array

array|\Traversable

Response

array

« More »

twig_source

Returns a template content without rendering it.

package

Default

Arguments

$env

\Twig\Environment

$name

string

The template name

$ignoreMissing

boolean

Whether to ignore missing templates or not

Response

string

The template source

« More »

twig_spaceless

Removes whitespaces between HTML tags.

package

Default

Arguments

$content

Response

string

« More »

twig_split_filter

Splits the string into an array.

{{ "one,two,three"|split(',') }} {# returns [one, two, three] #}

{{ "one,two,three,four,five"|split(',', 3) }} {# returns [one, two, "three,four,five"] #}

{{ "123"|split('') }} {# returns [1, 2, 3] #}

{{ "aabbcc"|split('', 2) }} {# returns [aa, bb, cc] #}

package

Default

Arguments

$env

\Twig\Environment

$value

string

A string

$delimiter

string

The delimiter

$limit

integer

The limit

Response

array

The split string as an array

« More »

twig_template_from_string

Loads a template from a string.

{{ include(template_from_string("Hello {{ name }}")) }}

package

Default

Arguments

$env

\Twig\Environment

$template

string

A template as a string or object implementing __toString()

$name

string

An optional name of the template to be used in error messages

Response

\Twig\TemplateWrapper

« More »

twig_test_empty

Checks if a variable is empty.

{# evaluates to true if the foo variable is null, false, or the empty string #} {% if foo is empty %} {# ... #} {% endif %}

package

Default

Arguments

$value

mixed

A variable

Response

boolean

true if the value is empty, false otherwise

« More »

twig_test_iterable

Checks if a variable is traversable.

{# evaluates to true if the foo variable is an array or a traversable object #} {% if foo is iterable %} {# ... #} {% endif %}

package

Default

Arguments

$value

mixed

A variable

Response

boolean

true if the value is traversable

« More »

twig_title_string_filter

Returns a titlecased string.

package

Default

Arguments

$env

\Twig\Environment

$string

string

A string

Response

string

The titlecased string

« More »

twig_trim_filter

Returns a trimmed string.

package

Default

Throws
\Twig\Error\RuntimeError

When an invalid trimming side is used (not a string or not 'left', 'right', or 'both')

Arguments

$string

$characterMask

$side

Response

string

« More »

twig_upper_filter

Converts a string to uppercase.

package

Default

Arguments

$env

\Twig\Environment

$string

string

A string

Response

string

The uppercased string

« More »

twig_urlencode_filter

URL encodes (RFC 3986) a string as a path segment or an array as a query string.

package

Default

Arguments

$url

string|array

A URL or an array of query parameters

Response

string

The URL encoded value

« More »

twig_var_dump

package

Default

Arguments

$env

\Twig\Environment

$context

$vars

array

« More »

updateEncryptedValues450

Update previous encrpted values to new encryption

package

Default

Throws
\CException

Arguments

$oDB

\CDbConnection

« More »

updateset

package

Default

Arguments

$lid

integer

« More »

upgrade327

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgrade328

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgrade330

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgrade331

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgrade333

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgradeArchivedTableSettings446

Import previously archived tables to ArchivedTableSettings

package

Default

Throws
\CException
« More »

upgradeBoxesTable251

package

Default

« More »

upgradeCPDBAttributeDefaultNames173

package

Default

« More »

upgradePermissions166

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

package

Default

« More »

upgradeQuestionAttributes142

package

Default

« More »

upgradeQuestionAttributes148

package

Default

« More »

upgradeSurveyPermissions145

package

Default

« More »

upgradeSurveys145

package

Default

« More »

upgradeSurveys156

package

Default

« More »

upgradeSurveys177

package

Default

« More »

upgradeSurveyTables139

package

Default

« More »

upgradeSurveyTables164

Make sure all active tables have the right sized token field

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

package

Default

Response

string|null

« More »

upgradeSurveyTables181

package

Default

Arguments

$sMySQLCollation

string

« More »

upgradeSurveyTables183

package

Default

« More »

upgradeSurveyTables253

package

Default

« More »

upgradeSurveyTables254

package

Default

« More »

upgradeSurveyTables255

package

Default

« More »

upgradeSurveyTables402

package

Default

Arguments

$sMySQLCollation

string

« More »

upgradeSurveyTimings146

package

Default

« More »

upgradeSurveyTimings350

package

Default

« More »

upgradeTables143

package

Default

« More »

upgradeTemplateTables298

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgradeTemplateTables304

package

Default

Arguments

$oDB

\CDbConnection

« More »

upgradeTokens145

package

Default

« More »

upgradeTokens148

package

Default

« More »

upgradeTokens176

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

package

Default

« More »

upgradeTokenTables134

package

Default

« More »

upgradeTokenTables179

package

Default

« More »

upgradeTokenTables181

package

Default

Arguments

$sMySQLCollation

string

« More »

upgradeTokenTables256

package

Default

« More »

upgradeTokenTables402

package

Default

Arguments

$sMySQLCollation

string

« More »

useFirebug

package

Default

« More »

userSort

package

Default

Arguments

$a

$b

« More »

userSortNative

package

Default

Arguments

$a

$b

« More »

UTF8Strrev

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

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

package

Default

Arguments

$str

string

$reverse_numbers

boolean

Response

string

« More »

validateEmailAddress

Validate an email address - also supports IDN email addresses

package

Default

deprecated

: use LimeMailer::validateAddress($sEmailAddress);

returns

True/false for valid/invalid

Arguments

$sEmailAddress

mixed

Email address to check

« More »

validateEmailAddresses

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

package

Default

deprecated

: use LimeMailer::validateAddresses($aEmailAddressList);

returns

array

Arguments

$aEmailAddressList

string

Email address to check

Response

string

List with valid email addresses - invalid email addresses are filtered - false if none of the email addresses are valid

« More »

validation_message

package

Default

Arguments

$ia

array

$show

boolean

  • true if should initially be visible

Response

array

« More »

validation_popup

package

Default

Arguments

$ia

$notvalidated

« More »

writeXmlFromArray

Write XML from Associative Array, recursive function

package

Default

Arguments

$xml

object

XMLWriter Object

$aData

array

Associative Data Array

$sParentKey

integer

parent key

« More »

XMLImportGroup

This function imports a LimeSurvey .lsg question group XML file

package

Default

Arguments

$sFullFilePath

string

The full filepath of the uploaded file

$iNewSID

integer

The new survey id - the page will always be added after the last page in the survey

$bTranslateLinksFields

boolean

Response

mixed

« More »

XMLImportLabelsets

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

package

Default

Arguments

$sFullFilePath

string

$options

mixed

Response

« More »

XMLImportQuestion

This function imports a LimeSurvey .lsq question XML file

package

Default

Throws
\CException

Arguments

$sFullFilePath

string

The full filepath of the uploaded file

$iNewSID

integer

The new survey id

$iNewGID

$options

array<mixed,boolean>

Response

array

« More »

XMLImportResponses

package

Default

Arguments

$sFullFilePath

string

$iSurveyID

$aFieldReMap

Response

mixed

« More »

XMLImportSurvey

This function imports a LimeSurvey .lss survey XML file

package

Default

todo

Use transactions to prevent orphaned data and clean rollback on errors

Arguments

$sFullFilePath

string

The full filepath of the uploaded file

$sXMLdata

string

$sNewSurveyName

$iDesiredSurveyId

$bTranslateInsertansTags

$bConvertInvalidQuestionCodes

« More »

XMLImportTimings

package

Default

Arguments

$sFullFilePath

string

$iSurveyID

$aFieldReMap

« More »

XMLImportTokens

package

Default

Arguments

$sFullFilePath

string

$iSurveyID

$sCreateMissingAttributeFields

Response

mixed

« More »

Constants

PHP_FLOAT_MAX

« More »

ENT_XML1

« More »

BOLMER_API_MODE

« More »

IN_MANAGER_MODE

« More »

DRUPAL_ROOT

« More »

APPPATH

« More »

BASEPATH

« More »

YII_DEBUG

« More »

SCALE_NORMAL

« More »

SCALE_ADDALL

« More »

SCALE_START0

« More »

SCALE_ADDALLSTART0

« More »

PIE_PERCENTAGE

« More »

PIE_LABELS

« More »

PIE_NOLABEL

« More »

PIE_PERCENTAGE_LABEL

« More »

TARGET_GRAPHAREA

« More »

TARGET_BACKGROUND

« More »

ALIGN_TOP_LEFT

« More »

ALIGN_TOP_CENTER

« More »

ALIGN_TOP_RIGHT

« More »

ALIGN_LEFT

« More »

ALIGN_CENTER

« More »

ALIGN_RIGHT

« More »

ALIGN_BOTTOM_LEFT

« More »

ALIGN_BOTTOM_CENTER

« More »

ALIGN_BOTTOM_RIGHT

« More »

K_PATH_MAIN

« More »

K_PATH_FONTS

« More »

K_PATH_URL

« More »

K_PATH_IMAGES

« More »

PDF_HEADER_LOGO_WIDTH

« More »

K_PATH_CACHE

« More »

K_BLANK_IMAGE

« More »

PDF_PAGE_FORMAT

« More »

PDF_PAGE_ORIENTATION

« More »

PDF_CREATOR

« More »

PDF_AUTHOR

« More »

PDF_HEADER_TITLE

« More »

PDF_HEADER_STRING

« More »

PDF_UNIT

« More »

PDF_MARGIN_HEADER

« More »

PDF_MARGIN_TOP

« More »

PDF_MARGIN_BOTTOM

« More »

PDF_MARGIN_LEFT

« More »

PDF_MARGIN_RIGHT

« More »

PDF_FONT_NAME_MAIN

« More »

PDF_FONT_SIZE_MAIN

« More »

PDF_FONT_NAME_DATA

« More »

PDF_FONT_SIZE_DATA

« More »

PDF_FONT_MONOSPACED

« More »

PDF_IMAGE_SCALE_RATIO

« More »

HEAD_MAGNIFICATION

« More »

K_CELL_HEIGHT_RATIO

« More »

K_TITLE_MAGNIFICATION

« More »

K_SMALL_RATIO

« More »

K_THAI_TOPCHARS

« More »

K_TCPDF_CALLS_IN_HTML

« More »

K_TCPDF_THROW_EXCEPTION_ERROR

« More »

K_TIMEZONE

« More »

K_TCPDF_EXTERNAL_CONFIG

Define the following constant to ignore the default configuration file.

« More »

K_PATH_IMAGES

Default images directory.

By default it is automatically set but you can also set it as a fixed string to improve performances.

« More »

PDF_HEADER_LOGO_WIDTH

Header logo image width in user units.

« More »

K_PATH_CACHE

Cache directory for temporary files (full path).

« More »

K_BLANK_IMAGE

Generic name for a blank image.

« More »

PDF_PAGE_FORMAT

Page format.

« More »

PDF_PAGE_ORIENTATION

Page orientation (P=portrait, L=landscape).

« More »

PDF_CREATOR

Document creator.

« More »

PDF_AUTHOR

Document author.

« More »

PDF_HEADER_TITLE

Header title.

« More »

PDF_HEADER_STRING

Header description string.

« More »

PDF_UNIT

Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].

« More »

PDF_MARGIN_HEADER

Header margin.

« More »

PDF_MARGIN_TOP

Top margin.

« More »

PDF_MARGIN_BOTTOM

Bottom margin.

« More »

PDF_MARGIN_LEFT

Left margin.

« More »

PDF_MARGIN_RIGHT

Right margin.

« More »

PDF_FONT_NAME_MAIN

Default main font name.

« More »

PDF_FONT_SIZE_MAIN

Default main font size.

« More »

PDF_FONT_NAME_DATA

Default data font name.

« More »

PDF_FONT_SIZE_DATA

Default data font size.

« More »

PDF_FONT_MONOSPACED

Default monospaced font name.

« More »

PDF_IMAGE_SCALE_RATIO

Ratio used to adjust the conversion of pixels to user units.

« More »

HEAD_MAGNIFICATION

Magnification factor for titles.

« More »

K_CELL_HEIGHT_RATIO

Height of cell respect font height.

« More »

K_TITLE_MAGNIFICATION

Title magnification respect main font size.

« More »

K_SMALL_RATIO

Reduction factor for small font.

« More »

K_THAI_TOPCHARS

Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.

« More »

K_TCPDF_CALLS_IN_HTML

If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.

« More »

K_TCPDF_THROW_EXCEPTION_ERROR

If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.

« More »

K_PATH_FONTS

« More »

PHP_VERSION_ID

« More »

QRCODEDEFS

Indicate that definitions for this class are set

« More »

QR_MODE_NL

Encoding mode

« More »

QR_MODE_NM

Encoding mode numeric (0-9). 3 characters are encoded to 10bit length. In theory, 7089 characters or less can be stored in a QRcode.

« More »

QR_MODE_AN

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.

« More »

QR_MODE_8B

Encoding mode 8bit byte data. In theory, 2953 characters or less can be stored in a QRcode.

« More »

QR_MODE_KJ

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.

« More »

QR_MODE_ST

Encoding mode STRUCTURED (currently unsupported)

« More »

QR_ECLEVEL_L

Error correction level L : About 7% or less errors can be corrected.

« More »

QR_ECLEVEL_M

Error correction level M : About 15% or less errors can be corrected.

« More »

QR_ECLEVEL_Q

Error correction level Q : About 25% or less errors can be corrected.

« More »

QR_ECLEVEL_H

Error correction level H : About 30% or less errors can be corrected.

« More »

QRSPEC_VERSION_MAX

Maximum QR Code version.

« More »

QRSPEC_WIDTH_MAX

Maximum matrix size for maximum version (version 40 is 177*177 matrix).

« More »

QRCAP_WIDTH

Matrix index to get width from $capacity array.

« More »

QRCAP_WORDS

Matrix index to get number of words from $capacity array.

« More »

QRCAP_REMINDER

Matrix index to get remainder from $capacity array.

« More »

QRCAP_EC

Matrix index to get error correction level from $capacity array.

« More »

STRUCTURE_HEADER_BITS

Number of header bits for structured mode

« More »

MAX_STRUCTURED_SYMBOLS

Max number of symbols for structured mode

« More »

N1

Down point base value for case 1 mask pattern (concatenation of same color in a line or a column)

« More »

N2

Down point base value for case 2 mask pattern (module block of same color)

« More »

N3

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)

« More »

N4

Down point base value for case 4 mask pattern (ration of dark modules in whole)

« More »

QR_FIND_BEST_MASK

if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code

« More »

QR_FIND_FROM_RANDOM

if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly

« More »

QR_DEFAULT_MASK

when QR_FIND_BEST_MASK === false

« More »

PDF417DEFS

Indicate that definitions for this class are set

« More »

ROWHEIGHT

Row height respect X dimension of single module

« More »

QUIETH

Horizontal quiet zone in modules

« More »

QUIETV

Vertical quiet zone in modules

« More »

DATAMATRIXDEFS

Indicate that definitions for this class are set

« More »

ENC_ASCII

ASCII encoding: ASCII character 0 to 127 (1 byte per CW)

« More »

ENC_C40

C40 encoding: Upper-case alphanumeric (3/2 bytes per CW)

« More »

ENC_TXT

TEXT encoding: Lower-case alphanumeric (3/2 bytes per CW)

« More »

ENC_X12

X12 encoding: ANSI X12 (3/2 byte per CW)

« More »

ENC_EDF

EDIFACT encoding: ASCII character 32 to 94 (4/3 bytes per CW)

« More »

ENC_BASE256

BASE 256 encoding: ASCII character 0 to 255 (1 byte per CW)

« More »

ENC_ASCII_EXT

ASCII extended encoding: ASCII character 128 to 255 (1/2 byte per CW)

« More »

ENC_ASCII_NUM

ASCII number encoding: ASCII digits (2 bytes per CW)

« More »

K_BLANK_IMAGE

Generic name for a blank image.

« More »

PDF_PAGE_FORMAT

Page format.

« More »

PDF_PAGE_ORIENTATION

Page orientation (P=portrait, L=landscape).

« More »

PDF_CREATOR

Document creator.

« More »

PDF_AUTHOR

Document author.

« More »

PDF_HEADER_TITLE

Header title.

« More »

PDF_HEADER_STRING

Header description string.

« More »

PDF_UNIT

Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].

« More »

PDF_MARGIN_HEADER

Header margin.

« More »

PDF_MARGIN_TOP

Top margin.

« More »

PDF_MARGIN_BOTTOM

Bottom margin.

« More »

PDF_MARGIN_LEFT

Left margin.

« More »

PDF_MARGIN_RIGHT

Right margin.

« More »

PDF_FONT_NAME_MAIN

Default main font name.

« More »

PDF_FONT_SIZE_MAIN

Default main font size.

« More »

PDF_FONT_NAME_DATA

Default data font name.

« More »

PDF_FONT_SIZE_DATA

Default data font size.

« More »

PDF_FONT_MONOSPACED

Default monospaced font name.

« More »

PDF_IMAGE_SCALE_RATIO

Ratio used to adjust the conversion of pixels to user units.

« More »

HEAD_MAGNIFICATION

Magnification factor for titles.

« More »

K_CELL_HEIGHT_RATIO

Height of cell respect font height.

« More »

K_TITLE_MAGNIFICATION

Title magnification respect main font size.

« More »

K_SMALL_RATIO

Reduction factor for small font.

« More »

K_THAI_TOPCHARS

Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.

« More »

K_TCPDF_CALLS_IN_HTML

If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.

« More »

K_TCPDF_THROW_EXCEPTION_ERROR

If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.

« More »

K_TIMEZONE

Default timezone for datetime functions

« More »

MB_CASE_UPPER

« More »

MB_CASE_LOWER

« More »

MB_CASE_TITLE

« More »

NET_SFTP_QUEUE_SIZE

« More »

NET_SFTP_UPLOAD_QUEUE_SIZE

« More »

$value

« More »

PHP_INT_MIN

« More »

SODIUM_{$constant}

« More »

SODIUM_CRYPTO_CORE_RISTRETTO255_BYTES

« More »

SODIUM_COMPAT_POLYFILLED_RISTRETTO255

« More »

SODIUM_CRYPTO_CORE_RISTRETTO255_HASHBYTES

« More »

SODIUM_CRYPTO_CORE_RISTRETTO255_SCALARBYTES

« More »

SODIUM_CRYPTO_CORE_RISTRETTO255_NONREDUCEDSCALARBYTES

« More »

SODIUM_CRYPTO_SCALARMULT_RISTRETTO255_SCALARBYTES

« More »

SODIUM_CRYPTO_SCALARMULT_RISTRETTO255_BYTES

« More »

SODIUM_LIBRARY_MAJOR_VERSION

« More »

SODIUM_LIBRARY_MINOR_VERSION

« More »

SODIUM_LIBRARY_VERSION

« More »

SODIUM_BASE64_VARIANT_ORIGINAL

« More »

SODIUM_BASE64_VARIANT_ORIGINAL_NO_PADDING

« More »

SODIUM_BASE64_VARIANT_URLSAFE

« More »

SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING

« More »

SODIUM_CRYPTO_AEAD_AES256GCM_KEYBYTES

« More »

SODIUM_CRYPTO_AEAD_AES256GCM_NSECBYTES

« More »

SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES

« More »

SODIUM_CRYPTO_AEAD_AES256GCM_ABYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_ABYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES

« More »

SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES

« More »

SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES

« More »

SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NSECBYTES

« More »

SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES

« More »

SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_ABYTES

« More »

SODIUM_CRYPTO_AUTH_BYTES

« More »

SODIUM_CRYPTO_AUTH_KEYBYTES

« More »

SODIUM_CRYPTO_BOX_SEALBYTES

« More »

SODIUM_CRYPTO_BOX_SECRETKEYBYTES

« More »

SODIUM_CRYPTO_BOX_PUBLICKEYBYTES

« More »

SODIUM_CRYPTO_BOX_KEYPAIRBYTES

« More »

SODIUM_CRYPTO_BOX_MACBYTES

« More »

SODIUM_CRYPTO_BOX_NONCEBYTES

« More »

SODIUM_CRYPTO_BOX_SEEDBYTES

« More »

SODIUM_CRYPTO_KDF_BYTES_MIN

« More »

SODIUM_CRYPTO_KDF_BYTES_MAX

« More »

SODIUM_CRYPTO_KDF_CONTEXTBYTES

« More »

SODIUM_CRYPTO_KDF_KEYBYTES

« More »

SODIUM_CRYPTO_KX_BYTES

« More »

SODIUM_CRYPTO_KX_PRIMITIVE

« More »

SODIUM_CRYPTO_KX_SEEDBYTES

« More »

SODIUM_CRYPTO_KX_KEYPAIRBYTES

« More »

SODIUM_CRYPTO_KX_PUBLICKEYBYTES

« More »

SODIUM_CRYPTO_KX_SECRETKEYBYTES

« More »

SODIUM_CRYPTO_KX_SESSIONKEYBYTES

« More »

SODIUM_CRYPTO_GENERICHASH_BYTES

« More »

SODIUM_CRYPTO_GENERICHASH_BYTES_MIN

« More »

SODIUM_CRYPTO_GENERICHASH_BYTES_MAX

« More »

SODIUM_CRYPTO_GENERICHASH_KEYBYTES

« More »

SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MIN

« More »

SODIUM_CRYPTO_GENERICHASH_KEYBYTES_MAX

« More »

SODIUM_CRYPTO_PWHASH_SALTBYTES

« More »

SODIUM_CRYPTO_PWHASH_STRPREFIX

« More »

SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13

« More »

SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13

« More »

SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE

« More »

SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE

« More »

SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE

« More »

SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE

« More »

SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE

« More »

SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE

« More »

SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES

« More »

SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX

« More »

SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE

« More »

SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE

« More »

SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE

« More »

SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE

« More »

SODIUM_CRYPTO_SCALARMULT_BYTES

« More »

SODIUM_CRYPTO_SCALARMULT_SCALARBYTES

« More »

SODIUM_CRYPTO_SHORTHASH_BYTES

« More »

SODIUM_CRYPTO_SHORTHASH_KEYBYTES

« More »

SODIUM_CRYPTO_SECRETBOX_KEYBYTES

« More »

SODIUM_CRYPTO_SECRETBOX_MACBYTES

« More »

SODIUM_CRYPTO_SECRETBOX_NONCEBYTES

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_ABYTES

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_KEYBYTES

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PUSH

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_PULL

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_REKEY

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_FINAL

« More »

SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_MESSAGEBYTES_MAX

« More »

SODIUM_CRYPTO_SIGN_BYTES

« More »

SODIUM_CRYPTO_SIGN_SEEDBYTES

« More »

SODIUM_CRYPTO_SIGN_PUBLICKEYBYTES

« More »

SODIUM_CRYPTO_SIGN_SECRETKEYBYTES

« More »

SODIUM_CRYPTO_SIGN_KEYPAIRBYTES

« More »

SODIUM_CRYPTO_STREAM_KEYBYTES

« More »

SODIUM_CRYPTO_STREAM_NONCEBYTES

« More »

SODIUM_CRYPTO_STREAM_XCHACHA20_KEYBYTES

« More »

SODIUM_CRYPTO_STREAM_XCHACHA20_NONCEBYTES

« More »

BASEPATH

« More »

K_TCPDF_EXTERNAL_CONFIG

« More »

PDF_PAGE_FORMAT

« More »

PDF_PAGE_ORIENTATION

« More »

PDF_CREATOR

« More »

PDF_AUTHOR

« More »

PDF_HEADER_TITLE

« More »

PDF_HEADER_STRING

« More »

PDF_HEADER_LOGO_WIDTH

« More »

PDF_UNIT

« More »

PDF_MARGIN_HEADER

« More »

PDF_MARGIN_TOP

« More »

PDF_MARGIN_BOTTOM

« More »

PDF_MARGIN_LEFT

« More »

PDF_MARGIN_RIGHT

« More »

PDF_FONT_NAME_MAIN

« More »

PDF_FONT_SIZE_MAIN

« More »

PDF_FONT_NAME_DATA

« More »

PDF_FONT_SIZE_DATA

« More »

PDF_FONT_MONOSPACED

« More »

PDF_IMAGE_SCALE_RATIO

« More »

HEAD_MAGNIFICATION

« More »

K_CELL_HEIGHT_RATIO

« More »

K_TITLE_MAGNIFICATION

« More »

K_SMALL_RATIO

« More »

K_THAI_TOPCHARS

« More »

K_TCPDF_CALLS_IN_HTML

« More »

$const

« More »

BASEPATH

« More »

BASEPATH

« More »

STDIN

« More »

YII_DEBUG

« More »

APPPATH

« More »

K_PATH_IMAGES

« More »

LDAP_OPT_DIAGNOSTIC_MESSAGE

« More »

PRINT_TEMPLATE_DIR

« More »

PRINT_TEMPLATE_URL

« More »

LOGO_URL

« More »

LOGO_ICON_URL

« More »

PRESENTATION

« More »

QR_MODE_NUL

« More »

QR_MODE_NUM

« More »

QR_MODE_AN

« More »

QR_MODE_8

« More »

QR_MODE_KANJI

« More »

QR_MODE_STRUCTURE

« More »

QR_ECLEVEL_L

« More »

QR_ECLEVEL_M

« More »

QR_ECLEVEL_Q

« More »

QR_ECLEVEL_H

« More »

QR_FORMAT_TEXT

« More »

QR_FORMAT_PNG

« More »

QR_CACHEABLE

« More »

QR_CACHE_DIR

« More »

QR_LOG_DIR

« More »

QR_FIND_BEST_MASK

« More »

QR_FIND_FROM_RANDOM

« More »

QR_DEFAULT_MASK

« More »

QR_PNG_MAXIMUM_SIZE

« More »

QRSPEC_VERSION_MAX

« More »

QRSPEC_WIDTH_MAX

« More »

QRCAP_WIDTH

« More »

QRCAP_WORDS

« More »

QRCAP_REMINDER

« More »

QRCAP_EC

« More »

QR_IMAGE

« More »

STRUCTURE_HEADER_BITS

« More »

MAX_STRUCTURED_SYMBOLS

« More »

QR_VECT

« More »

FIREBUG

« More »

LEM_DEBUG_TIMING

« More »

LEM_DEBUG_VALIDATION_SUMMARY

« More »

LEM_DEBUG_VALIDATION_DETAIL

« More »

LEM_PRETTY_PRINT_ALL_SYNTAX

« More »

CHECKED

« More »

SELECTED

« More »

SHOW_NO_ANSWER

« More »

QUESTION_START

« More »

PARANOID

« More »

SYSTEM

« More »

FLOAT

« More »

MAGIC_QUOTES

« More »

BASEPATH

« More »

FCPATH

« More »

SYSDIR

« More »

APPPATH

« More »

YII_DEBUG

« More »

Classes, interfaces and traits

PermissionTrait

« More »

EMWarningInterface

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

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

« More »

IWriter

« More »

Twig_CompilerInterface

Interface implemented by compiler classes.

« More »

Twig_FilterCallableInterface

Represents a callable template filter.

Use \Twig\TwigFilter instead.

« More »

Twig_FilterInterface

Represents a template filter.

Use \Twig\TwigFilter instead.

« More »

Twig_FunctionCallableInterface

Represents a callable template function.

Use \Twig\TwigFunction instead.

« More »

Twig_FunctionInterface

Represents a template function.

Use \Twig\TwigFunction instead.

« More »

Twig_LexerInterface

Interface implemented by lexer classes.

« More »

Twig_NodeInterface

Represents a node in the AST.

« More »

Twig_ParserInterface

Interface implemented by parser classes.

« More »

Twig_TestCallableInterface

Represents a callable template test.

« More »

Twig_TestInterface

Represents a template test.

« More »

Twig_TokenParserBrokerInterface

Interface implemented by token parser brokers.

Token parser brokers allows to implement custom logic in the process of resolving a token parser for a given tag name.

« More »

_XLSXWriter_

« More »

AdminController

« More »

AdminTheme

Admin Theme Model

« More »

Answer

Class Answer

« More »

AnswerL10n

Class SurveyLanguageSetting

« More »

ArchivedTableSettings

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

The following are the available columns in table '{{archived_table_settings}}':

« More »

ArgumentCountError

« More »

ArithmeticError

« More »

Assessment

Class Assessment

« More »

AssessmentController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

AssetVersion

Class AssetVersion

« More »

AuditLog

Base class for plugins.

« More »

Authdb

Base class for plugins.

« More »

Authentication

Authentication Controller

This controller performs authentication

« More »

AuthLDAP

Base class for plugins.

« More »

AuthPluginBase

Base class for plugins.

« More »

Authwebserver

Base class for plugins.

« More »

BigData

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

« More »

BigFile

« More »

Box

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

The following are the available columns in table '{{boxes}}':

« More »

CheckIntegrity

CheckIntegrity Controller

This controller performs database repair functions.

« More »

ClassFactory

« More »

ComfortUpdateChecker

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

« More »

Comment

The followings are the available columns in table 'tbl_comment':

« More »

CommentController

Controller is the customized base controller class.

All controller classes for this application should extend from this base class.

« More »

CompileAssetsCommand

« More »

ComposerAutoloaderInit2659d7f00f449de3862d7a6e5ccde300

« More »

ComposerAutoloaderInitddb1a145e450f862353420acc5153e40

« More »

Condition

Class Condition

« More »

ConditionsAction

Condition Controller

This controller performs token actions

« More »

ConsoleApplication

« More »

ConsoleHttpSession

« More »

Contact

« More »

ContactForm

ContactForm class.

ContactForm is the data structure for keeping contact form data. It is used by the 'contact' action of 'SiteController'.

« More »

Controller

Controller is the customized base controller class.

All controller classes for this application should extend from this base class.

« More »

CsvWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

customToken

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

« More »

Database

Database

This controller contains common functions for survey related views.

« More »

DatabaseUpdate

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.

« More »

DataEntry

dataentry

This controller contains common functions for survey related views.

« More »

Datamatrix

« More »

DataSetArray10ChoiceQuestion

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

« More »

DataSetArray5ChoiceQuestion

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

« More »

DataSetArrayFlexibleColumn

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

« More »

DataSetArrayFlexibleRow

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

« More »

DataSetArrayMultiFlexNumbers

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

« More »

DataSetArrayMultiFlexText

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

« More »

DataSetArrayMultiscale

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

« More »

DataSetArrayOfIncSameDecQuestions

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

« More »

DataSetArrayYesUncertainNo

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

« More »

DataSetBoilerplate

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

« More »

DataSetDate

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

« More »

DataSetDummyQuestion

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

« More »

DataSetEquation

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

« More »

DataSetFileUpload

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

« More »

DataSetFivePointChoice

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

« More »

DataSetGenderDropdown

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

« More »

DataSetHugeFreeText

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

« More »

DataSetLanguage

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

« More »

DataSetListDropdown

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

« More »

DataSetListRadio

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

« More »

DataSetListWithComment

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

« More »

DataSetLongFreeText

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

« More »

DataSetMultipleChoice

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

« More »

DataSetMultipleChoiceWithComments

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

« More »

DataSetMultipleNumerical

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

« More »

DataSetMultipleShortText

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

« More »

DataSetNumerical

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

« More »

DataSetRanking

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

« More »

DataSetShortFreeText

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

« More »

DataSetYesNoRadio

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

« More »

Date_Time_Converter

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

You are free to use this code free of charge, modify it, and distrubute it, just leave this comment block at the top of this file.

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

dateFunctions

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

« More »

DbConnection

« More »

DbHttpSession

« More »

DbSeederCommand

« More »

DefaultValue

Class DefaultValue

« More »

DefaultValueL10n

Class DefaultValue

« More »

demoAddEmFunction

Example plugin that add a simple function

« More »

DemomodeCommand

« More »

DivisionByZeroError

« More »

DocWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

DummyQuestionEditContainer

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

« More »

Dumpdb

Dump Database

This controller contains common functions for survey related views.

« More »

Dynamic

This class implements the basis for dynamic models.

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

« More »

DynamicSurveyCommonAction

« More »

EmailTemplates

Class emailtemplates

This controller contains common functions for survey related views.

« More »

EmCacheException

Exception used by EmCacheHelper.

« More »

EmCacheHelper

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

« More »

EMWarningAssignment

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

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

« More »

EMWarningBase

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

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

« More »

EMWarningHTMLBaker

Small helper class to compose HTML from $warnings.

« More »

EMWarningInvalidComparison

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

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

« More »

EMWarningPlusOperator

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

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

« More »

Error

« More »

ETwigViewRenderer

Twig view renderer

« More »

ETwigViewRendererStaticClassProxy

Class-proxy for static classes Needed because you can't pass static class to Twig other way

« More »

ETwigViewRendererYiiCoreStaticClassesProxy

Class-proxy for Yii core static classes

« More »

Example

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

« More »

ExcelWriter

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

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

Export

Export Action

This controller performs export actions

« More »

ExportR

Base class for plugins.

« More »

ExportSPSSsav

Base class for plugins.

« More »

ExportSTATAxml

Base class for plugins.

« More »

ExportSurveyResultsService

« More »

ExpressionAnswerOptions

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

« More »

ExpressionError

Class ExpressionError

« More »

expressionFixedDbVar

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

« More »

ExpressionManager

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

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

« More »

expressionQuestionForAll

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

This don't manage subquestion Scale Y or Scale X

« More »

expressionQuestionHelp

expressionQuestionHelp : add QCODE.help for expression Manager

« More »

Expressions

Class Expressions

This controller contains common functions for survey related views.

« More »

ExpressionValidate

Survey Common Action

This controller contains common functions for survey related views.

« More »

ExtensionConfig

Thin wrapper class around extension config.xml file.

« More »

ExtensionUpdateInfo

Thin wrapper around extension update info.

Used by VersionFetcher to push around update info.

« More »

FailedEmailController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

FlushAssetsCommand

« More »

FormattingOptions

« More »

FrameFiller

« More »

FunctionStatic

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

« More »

GameController

GameController implements the {@link https://en.wikipedia.org/wiki/Hangman_(game) Hangman game}.

« More »

GlobalSettings

GlobalSettings Controller

This controller contains common functions for survey related views.

« More »

GTranslate

« More »

GTranslateException

Exception class for GTranslated Exceptions

« More »

Hash

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.

« More »

HelloWorld

Survey Common Action

This controller contains common functions for survey related views.

« More »

HelloWorldController

« More »

HelloWorldModule

HelloWorldModule class file.

« More »

HomepageSettingsController

Class HomepageSettingsController

this controller will have all the necessary methods from the old AdminController

« More »

HtmlEditorPop

Survey Common Action

This controller contains common functions for survey related views.

« More »

HtmlWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

IdValidator

« More »

Index

Survey Common Action

This controller contains common functions for survey related views.

« More »

Index

« More »

InstallCommand

« More »

InstallerController

Installer

« More »

InstallFromConfigCommand

« More »

jsonRPCClient

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

« More »

jsonRPCServer

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

« More »

JsonWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

Label

Class Label

« More »

LabelL10n

Class Label

« More »

Labels

labels

This controller contains common functions for survey related views.

« More »

LabelSet

Class LabelSet

« More »

LimeExpressionManager

« More »

LimeMailer

WIP A SubClass of phpMailer adapted for LimeSurvey

« More »

LimeReplacementFieldsController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

Loader

« More »

LoadQuestionTypes

« More »

LoginForm

LoginForm class.

LoginForm is the data structure for keeping user login form data. It is used by the 'login' action of 'SiteController'.

« More »

Lookup

The followings are the available columns in table 'tbl_lookup':

« More »

LS_Twig_Extension

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

Most of the calls to internal functions don't need to be set here, but can be directly added to the internal config file. For example, the calls to encode, gT and eT don't need any extra parameters or process, so they are added as filters in the congif/internal.php:

'filters' => array( 'jencode' => 'CJSON::encode', 't' => 'eT', 'gT' => 'gT', ),

So you only add functions here when they need a specific process while called via Twig. To add an advanced function to twig:

  1. Add it here as a static public function eg: static public function foo($bar) { return procces($bar); }

  2. Add it in config/internal.php as a function, and as an allowed function in the sandbox eg: twigRenderer' => array( ... 'functions' => array( ... 'foo' => 'LS_Twig_Extension::foo', ...), ... 'sandboxConfig' => array( ... 'functions' => array('include', ..., 'foo') ),

Now you access this function in any twig file via: {{ foo($bar) }}, it will show the result of process($bar). If LS_Twig_Extension::foo() returns some HTML, by default the HTML will be escaped and shows as text. To get the pure HTML, just do: {{ foo($bar) | raw }}

« More »

LSActiveRecord

« More »

LSAuthResult

« More »

LSBaseController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

LSBootstrap

For updating from 2.06 to 2.5.

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

« More »

LSCActiveDataProvider

« More »

LSCaptcha

CCaptcha class file.

« More »

LSDbCriteria

« More »

LsDefaultDataSets

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

This class is important for installation (all datasets will be inserted to database tables and to reset to a default setting (if user want to...)

« More »

LSETwigViewRenderer

Twig view renderer, LimeSurvey overload

Allow to run sandbox Configuration Provide different render methods for different context:

  • render() : for general use
  • renderQuestion() : to render a question. It checks if a question template view should be use, else core's view (used from qanda helper).
  • convertTwigToHtml() : to render a string without any file (used from replacement helper)

The only tricky point here is the path problematic (where should be searched the views to render?)

« More »

LSFileHelper

« More »

LSHttpRequest

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.

« More »

LSjsonRPCServer

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

« More »

LSSodium

Class LSSodium

« More »

LSSodiumOld

Class LSSodiumOld

« More »

LSUserException

« More »

LSUserIdentity

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

To not delay release of 2.05 this class was kept the way it is now.

@@TODO Move to LSWebUser and change documentation / workflow for authentication plugins

« More »

LSWebUser

« More »

LSYii_Application

Implements global config

« More »

LSYii_AssetManager

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

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

« More »

LSYii_CaseValidator

« More »

LSYii_ClientScript

« More »

LSYii_CompareInsensitiveValidator

« More »

LSYii_Controller

« More »

LSYii_EmailIDNAValidator

« More »

LSYii_HtmlPurifier

« More »

LSYii_ImageValidator

« More »

LSYii_Locale

« More »

LSYii_NoUpdateValidator

« More »

LSYii_ShortUrlValidator

Validator class for Short URLs (Survey Aliases).

Compares the alias against basic route rules and existing controllers, trying to avoid collisions.

« More »

LSYii_Validators

« More »

LSZend_XmlRpc_Response_Http

« More »

mailSenderToFrom

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

« More »

MapTutorialUsers

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

The following are the available columns in table '{{map_tutorial_users}}':

« More »

MC_TCPDF

Extend TCPDF to work with multiple columns

« More »

mdlAuditlog

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

« More »

MinimalReporter

Minimal only displays on error

« More »

MssqlCommandBuilder

« More »

MssqlSchema

« More »

MYPDF

« More »

MYPDF

« More »

MYPDF

« More »

MYPDF

« More »

MysqlSchema

« More »

noMailToExample

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

« More »

Notification

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

The following are the available columns in table '{{notifications}}':

« More »

NotificationController

Mostly for Ajax actions

This controller contains common functions for survey related views.

« More »

oldUrlCompat

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

« More »

OptinController

optin

« More »

OptoutController

optout

« More »

ParagonIE_Sodium_Compat

« More »

ParagonIE_Sodium_Core32_BLAKE2b

Class ParagonIE_Sodium_Core_BLAKE2b

Based on the work of Devi Mandiri in devi/salt.

« More »

ParagonIE_Sodium_Core32_ChaCha20

Class ParagonIE_Sodium_Core32_ChaCha20

« More »

ParagonIE_Sodium_Core32_ChaCha20_Ctx

Class ParagonIE_Sodium_Core32_ChaCha20_Ctx

« More »

ParagonIE_Sodium_Core32_ChaCha20_IetfCtx

Class ParagonIE_Sodium_Core32_ChaCha20_IetfCtx

« More »

ParagonIE_Sodium_Core32_Curve25519

Class ParagonIE_Sodium_Core32_Curve25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core32_Curve25519_Fe

Class ParagonIE_Sodium_Core32_Curve25519_Fe

This represents a Field Element

« More »

ParagonIE_Sodium_Core32_Curve25519_Ge_Cached

Class ParagonIE_Sodium_Core32_Curve25519_Ge_Cached

« More »

ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1

Class ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1

« More »

ParagonIE_Sodium_Core32_Curve25519_Ge_P2

Class ParagonIE_Sodium_Core32_Curve25519_Ge_P2

« More »

ParagonIE_Sodium_Core32_Curve25519_Ge_P3

Class ParagonIE_Sodium_Core32_Curve25519_Ge_P3

« More »

ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp

Class ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp

« More »

ParagonIE_Sodium_Core32_Curve25519_H

Class ParagonIE_Sodium_Core32_Curve25519_H

This just contains the constants in the ref10/base.h file

« More »

ParagonIE_Sodium_Core32_Ed25519

Class ParagonIE_Sodium_Core32_Ed25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core32_HChaCha20

Class ParagonIE_Sodium_Core_HChaCha20

« More »

ParagonIE_Sodium_Core32_HSalsa20

Class ParagonIE_Sodium_Core32_HSalsa20

« More »

ParagonIE_Sodium_Core32_Int32

Class ParagonIE_Sodium_Core32_Int32

Encapsulates a 32-bit integer.

These are immutable. It always returns a new instance.

« More »

ParagonIE_Sodium_Core32_Int64

Class ParagonIE_Sodium_Core32_Int64

Encapsulates a 64-bit integer.

These are immutable. It always returns a new instance.

« More »

ParagonIE_Sodium_Core32_Poly1305

Class ParagonIE_Sodium_Core32_Poly1305

« More »

ParagonIE_Sodium_Core32_Poly1305_State

Class ParagonIE_Sodium_Core32_Poly1305_State

« More »

ParagonIE_Sodium_Core32_Salsa20

Class ParagonIE_Sodium_Core32_Salsa20

« More »

ParagonIE_Sodium_Core32_SecretStream_State

Class ParagonIE_Sodium_Core32_SecretStream_State

« More »

ParagonIE_Sodium_Core32_SipHash

Class ParagonIE_SodiumCompat_Core32_SipHash

Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers

« More »

ParagonIE_Sodium_Core32_Util

Class ParagonIE_Sodium_Core_Util

« More »

ParagonIE_Sodium_Core32_X25519

Class ParagonIE_Sodium_Core32_X25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core32_XChaCha20

Class ParagonIE_Sodium_Core32_XChaCha20

« More »

ParagonIE_Sodium_Core32_XSalsa20

Class ParagonIE_Sodium_Core32_XSalsa20

« More »

ParagonIE_Sodium_Core_Base64_Original

Class ParagonIE_Sodium_Core_Base64

Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)

« More »

ParagonIE_Sodium_Core_Base64_UrlSafe

Class ParagonIE_Sodium_Core_Base64UrlSafe

Copyright (c) 2016 - 2018 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)

« More »

ParagonIE_Sodium_Core_BLAKE2b

Class ParagonIE_Sodium_Core_BLAKE2b

Based on the work of Devi Mandiri in devi/salt.

« More »

ParagonIE_Sodium_Core_ChaCha20

Class ParagonIE_Sodium_Core_ChaCha20

« More »

ParagonIE_Sodium_Core_ChaCha20_Ctx

Class ParagonIE_Sodium_Core_ChaCha20_Ctx

« More »

ParagonIE_Sodium_Core_ChaCha20_IetfCtx

Class ParagonIE_Sodium_Core_ChaCha20_IetfCtx

« More »

ParagonIE_Sodium_Core_Curve25519

Class ParagonIE_Sodium_Core_Curve25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core_Curve25519_Fe

Class ParagonIE_Sodium_Core_Curve25519_Fe

This represents a Field Element

« More »

ParagonIE_Sodium_Core_Curve25519_Ge_Cached

Class ParagonIE_Sodium_Core_Curve25519_Ge_Cached

« More »

ParagonIE_Sodium_Core_Curve25519_Ge_P1p1

Class ParagonIE_Sodium_Core_Curve25519_Ge_P1p1

« More »

ParagonIE_Sodium_Core_Curve25519_Ge_P2

Class ParagonIE_Sodium_Core_Curve25519_Ge_P2

« More »

ParagonIE_Sodium_Core_Curve25519_Ge_P3

Class ParagonIE_Sodium_Core_Curve25519_Ge_P3

« More »

ParagonIE_Sodium_Core_Curve25519_Ge_Precomp

Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp

« More »

ParagonIE_Sodium_Core_Curve25519_H

Class ParagonIE_Sodium_Core_Curve25519_H

This just contains the constants in the ref10/base.h file

« More »

ParagonIE_Sodium_Core_Ed25519

Class ParagonIE_Sodium_Core_Ed25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core_HChaCha20

Class ParagonIE_Sodium_Core_HChaCha20

« More »

ParagonIE_Sodium_Core_HSalsa20

Class ParagonIE_Sodium_Core_HSalsa20

« More »

ParagonIE_Sodium_Core_Poly1305

Class ParagonIE_Sodium_Core_Poly1305

« More »

ParagonIE_Sodium_Core_Poly1305_State

Class ParagonIE_Sodium_Core_Poly1305_State

« More »

ParagonIE_Sodium_Core_Ristretto255

Class ParagonIE_Sodium_Core_Ristretto255

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core_Salsa20

Class ParagonIE_Sodium_Core_Salsa20

« More »

ParagonIE_Sodium_Core_SecretStream_State

Class ParagonIE_Sodium_Core_SecretStream_State

« More »

ParagonIE_Sodium_Core_SipHash

Class ParagonIE_SodiumCompat_Core_SipHash

Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers

« More »

ParagonIE_Sodium_Core_Util

Class ParagonIE_Sodium_Core_Util

« More »

ParagonIE_Sodium_Core_X25519

Class ParagonIE_Sodium_Core_X25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

ParagonIE_Sodium_Core_XChaCha20

Class ParagonIE_Sodium_Core_XChaCha20

« More »

ParagonIE_Sodium_Core_XSalsa20

Class ParagonIE_Sodium_Core_XSalsa20

« More »

ParagonIE_Sodium_Crypto

Class ParagonIE_Sodium_Crypto

ATTENTION!

If you are using this library, you should be using ParagonIE_Sodium_Compat in your code, not this class.

« More »

ParagonIE_Sodium_Crypto32

Class ParagonIE_Sodium_Crypto

ATTENTION!

If you are using this library, you should be using ParagonIE_Sodium_Compat in your code, not this class.

« More »

ParagonIE_Sodium_File

Class ParagonIE_Sodium_File

« More »

ParticipantAttribute

Class ParticipantAttribute

« More »

ParticipantAttributeName

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

The following are the available columns in table '{{{{participant_attribute_names}}}}':

« More »

ParticipantAttributeNameLang

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

The following are the available columns in table '{{{{participant_attribute_names_lang}}}}':

« More »

ParticipantShare

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

The following are the available columns in table '{{participant_shares}}':

« More »

PasswordRequirement

Core plugin for LimeSurvey : password requirement settings

« More »

pCache

« More »

pChart

« More »

pData

« More »

PDF417

« More »

pdfHelper

General helper class for generating pdf.

« More »

PdfWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

Permission

Class Permission

« More »

Permissiontemplates

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

The following are the available columns in table '{{permissiontemplates}}':

« More »

PgsqlSchema

« More »

Plugin

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

« More »

PluginBase

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

« More »

PluginCommand

« More »

PluginDynamic

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

« More »

PluginEvent

« More »

PluginEventBehavior

« More »

PluginHelper

Survey Common Action

This controller contains common functions for survey related views.

« More »

PluginManager

Class PluginManagerD Dummy class for 2.05 plugins.

« More »

PluginManagerController

Survey Common Action

This controller contains common functions for survey related views.

« More »

PluginsController

« More »

PluginSetting

Class PluginSetting

« More »

Post

The followings are the available columns in table 'tbl_post':

« More »

PostController

Controller is the customized base controller class.

All controller classes for this application should extend from this base class.

« More »

PrintableSurvey

Printable Survey Controller

This controller shows a printable survey.

« More »

PrintanswersController

printanswers

« More »

ProgressBar

« More »

QRbitstream

« More »

QRcode

« More »

QRcode

« More »

QRencode

« More »

QRException

« More »

QRimage

« More »

QRinput

« More »

QRinputItem

« More »

QRmask

« More »

QRrawcode

« More »

QRrsblock

« More »

QRrsItem

« More »

QRspec

« More »

QRsplit

« More »

qrstr

« More »

QRtools

« More »

QRvect

« More »

Question

Class Question

« More »

QuestionAttribute

Class QuestionAttribute

« More »

QuestionBaseDataSet

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

« More »

QuestionBaseRenderer

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

« More »

QuestionCreate

Class used when creating new question.

« More »

QuestionGroup

Class QuestionGroup

« More »

QuestionGroupL10n

Class SurveyLanguageSetting

« More »

QuestionGroupsAdministrationController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

QuestionL10n

Class QuestionL10n

« More »

QuestionTemplate

« More »

QuestionTheme

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

The following are the available columns in table '{{question_themes}}':

« More »

QuestionThemes

Survey Common Action

This controller contains common functions for survey related views.

« More »

QuestionType

Class QuestionType

« More »

quexmlpdf

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

« More »

QuotaLanguageSetting

« More »

QuotaMember

Class QuotaMember

« More »

Quotas

Quotas Controller

This controller performs quota actions

« More »

RDataWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

RecentComments

« More »

RegisterController

register

« More »

RemoteControl

Survey Common Action

This controller contains common functions for survey related views.

« More »

remotecontrol_handle

« More »

RenderArray10ChoiceQuestion

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

« More »

RenderArray5ChoiceQuestion

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

« More »

RenderArrayFlexibleRow

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

« More »

RenderArrayMultiFlexNumbers

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

« More »

RenderArrayMultiFlexText

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

« More »

RenderArrayMultiscale

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

« More »

RenderArrayOfIncSameDecQuestions

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

« More »

RenderArrayYesUncertainNo

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

« More »

RenderBoilerplate

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

« More »

RenderDate

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

« More »

RenderEquation

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

« More »

RendererArrayFlexibleColumn

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

« More »

RenderFileUpload

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

« More »

RenderFivePointChoice

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

« More »

RenderGenderDropdown

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

« More »

RenderHugeFreeText

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

« More »

RenderLanguageSelector

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

« More »

RenderListComment

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

« More »

RenderListDropdown

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

« More »

RenderListRadio

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

« More »

RenderLongFreeText

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

« More »

RenderNumerical

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

« More »

RenderRanking

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

« More »

RenderShortFreeText

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

« More »

RenderYesNoRadio

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

« More »

ResetPasswordCommand

« More »

Response

Relations

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

« More »

RNGException

« More »

RSyntaxWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

Saved

Saved controller

This controller contains common functions for survey related views.

« More »

SavedControl

Class SavedControl

« More »

Session

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

« More »

SettingGlobal

Class SettingGlobal

« More »

SettingsStorage

« More »

SettingsUser

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

The following are the available columns in table '{{settings_user}}':

« More »

ShowPasses

Display passes

« More »

ShowResponse

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

« More »

SimpleTester

« More »

SiteController

« More »

SiteController

Controller is the customized base controller class.

All controller classes for this application should extend from this base class.

« More »

SiteController

SiteController is the default controller to handle user requests.

« More »

SmallReporter

Displays a tiny div in upper right corner when ok

« More »

SodiumException

Class SodiumException

« More »

SplFixedArray

The SplFixedArray class provides the main functionalities of array. The main differences between a SplFixedArray and a normal PHP array is that the SplFixedArray is of fixed length and allows only integers within the range as indexes. The advantage is that it allows a faster array implementation.

« More »

SPSSWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

STATAxmlWriter

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

statFunctions

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

« More »

StaticModel

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

« More »

Statistics

Statistics Controller

This controller performs statistics actions

« More »

StatisticsUserController

« More »

Survey

Class Survey

« More »

SurveyActivator

Service class to activate survey.

« More »

SurveyCommonAction

Survey Common Action

This controller contains common functions for survey related views.

« More »

SurveyController

« More »

SurveyDao

« More »

SurveyDynamic

« More »

SurveyLanguageSetting

Class SurveyLanguageSetting

« More »

Surveymenu

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

The following are the available columns in table '{{surveymenu}}':

« More »

SurveymenuController

Class SurveymenuController

This controller contains common functions for survey related views.

« More »

SurveymenuEntries

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

The following are the available columns in table '{{surveymenu_entries}}':

« More »

SurveymenuEntryController

Class SurveymenuEntryController

This controller contains common functions for survey related views.

« More »

SurveymenuEntryData

« More »

SurveyObj

« More »

SurveyPermissionsController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

SurveyRuntimeHelper

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

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

« More »

SurveysController

This class will handle survey creation and manipulation.

« More »

SurveysGroups

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

The following are the available columns in table '{{surveys_groups}}':

« More »

SurveysGroupsController

Class SurveysGroupsController

This controller contains common functions for survey related views.

« More »

SurveysGroupsettings

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

The following are the available columns in table '{{surveys_groupsettings}}':

« More »

SurveysGroupsPermissionController

Class SurveysGroupsPermissionController

this controller will have all the necessary methods from the old AdminController

« More »

SurveysInGroup

Class SurveysGroups

The following are the available columns in table '{{surveys_groups}}':

« More »

SurveyThemeHelper

General helper class for survey themes

« More »

SurveyTimingDynamic

Class SurveyTimingDynamic

« More »

SurveyURLParameter

Class SurveyURLParameter

« More »

Tag

The followings are the available columns in table 'tbl_tag':

« More »

TagCloud

« More »

TCPDF

« More »

TCPDF2DBarcode

« More »

TCPDF_COLORS

« More »

TCPDF_FILTERS

« More »

TCPDF_FONT_DATA

« More »

TCPDF_FONTS

« More »

TCPDF_IMAGES

« More »

TCPDF_IMPORT

« More »

TCPDF_PARSER

« More »

TCPDF_STATIC

« More »

TCPDFBarcode

« More »

Template

Class Template

« More »

TemplateConfig

Class TemplateConfig Common methods for TemplateConfiguration and TemplateManifest

« More »

TFAHelper

Helper functionalities for 2fa plugin

« More »

TFAMenuClass

Extending the basic menu class with an icon in front of the label

« More »

TFAPluginInstaller

Installer class for the TwoFactorAdminLogin Plugin A collecton of static helpers to install the Plugin

« More »

TFAQrCodeGenerator

« More »

TFAUser

Abstracted user model for TFA admin view.

Incorporating an alternative seach method.

« More »

TFAUserKey

Controller model for TFA users secret keys

« More »

ThemeOptionsController

Class LSBaseController

this controller will have all the necessary methods from the old AdminController

« More »

Themes

templates

This controller contains common functions for survey related views.

« More »

TimeException

« More »

Timing

Dynamic response timing model.

« More »

TOC_TCPDF

TCPDF class extension with custom header and footer for TOC page

« More »

Token

Class Token

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

« More »

TokenDynamic

Class TokenDynamic

« More »

Tokens

Tokens Controller

This controller performs token actions

« More »

TopbarConfiguration

« More »

Translator

« More »

Tutorial

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

The following are the available columns in table '{{tutorials}}':

« More »

TutorialEntry

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

The following are the available columns in table '{{tutorial_entry}}':

« More »

TutorialEntryController

Survey Common Action

This controller contains common functions for survey related views.

« More »

TutorialEntryRelation

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

The following are the available columns in table '{{tutorial_entry_groups}}':

« More »

TutorialsController

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

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

« More »

Twig_Autoloader

Autoloads Twig classes.

« More »

Twig_BaseNodeVisitor

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Twig_Cache_Filesystem

« More »

Twig_Cache_Null

Implements a no-cache strategy.

« More »

Twig_CacheInterface

Interface implemented by cache classes.

It is highly recommended to always store templates on the filesystem to benefit from the PHP opcode cache. This interface is mostly useful if you need to implement a custom strategy for storing templates on the filesystem.

« More »

Twig_Compiler

Compiles a node to PHP code.

« More »

Twig_ContainerRuntimeLoader

Lazily loads Twig runtime implementations from a PSR-11 container.

Note that the runtime services MUST use their class names as identifiers.

« More »

Twig_Environment

« More »

Twig_Error

Twig base exception.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Error_Loader

Exception thrown when an error occurs during template loading.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Error_Runtime

Exception thrown when an error occurs at runtime.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Error_Syntax

\Exception thrown when a syntax error occurs during lexing or parsing of a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_ExistsLoaderInterface

Adds an exists() method for loaders.

« More »

Twig_ExpressionParser

« More »

Twig_Extension

« More »

Twig_Extension_Core

« More »

Twig_Extension_Debug

« More »

Twig_Extension_Escaper

« More »

Twig_Extension_GlobalsInterface

Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.

Explicitly implement this interface if you really need to implement the deprecated getGlobals() method in your extensions.

« More »

Twig_Extension_InitRuntimeInterface

Enables usage of the deprecated Twig\Extension\AbstractExtension::initRuntime() method.

Explicitly implement this interface if you really need to implement the deprecated initRuntime() method in your extensions.

« More »

Twig_Extension_Optimizer

« More »

Twig_Extension_Profiler

« More »

Twig_Extension_Sandbox

« More »

Twig_Extension_Staging

Internal class.

This class is used by \Twig\Environment as a staging area and must not be used directly.

« More »

Twig_Extension_StringLoader

« More »

Twig_ExtensionInterface

Interface implemented by extension classes.

« More »

Twig_FactoryRuntimeLoader

Lazy loads the runtime implementations for a Twig element.

« More »

Twig_FileExtensionEscapingStrategy

Default autoescaping strategy based on file names.

This strategy sets the HTML as the default autoescaping strategy, but changes it based on the template name.

Note that there is no runtime performance impact as the default autoescaping strategy is set at compilation time.

« More »

Twig_Filter

Represents a template filter.

Use \Twig\TwigFilter instead.

« More »

Twig_Filter_Function

Represents a function template filter.

Use \Twig\TwigFilter instead.

« More »

Twig_Filter_Method

Represents a method template filter.

Use \Twig\TwigFilter instead.

« More »

Twig_Filter_Node

Represents a template filter as a node.

Use \Twig\TwigFilter instead.

« More »

Twig_Function

Represents a template function.

Use \Twig\TwigFunction instead.

« More »

Twig_Function_Function

Represents a function template function.

Use \Twig\TwigFunction instead.

« More »

Twig_Function_Method

Represents a method template function.

Use \Twig\TwigFunction instead.

« More »

Twig_Function_Node

Represents a template function as a node.

Use \Twig\TwigFunction instead.

« More »

Twig_Lexer

« More »

Twig_Loader_Array

Loads a template from an array.

When using this loader with a cache mechanism, you should know that a new cache key is generated each time a template content "changes" (the cache key being the source code of the template). If you don't want to see your cache grows out of control, you need to take care of clearing the old cache file by yourself.

This loader should only be used for unit testing.

« More »

Twig_Loader_Chain

Loads templates from other loaders.

« More »

Twig_Loader_Filesystem

« More »

Twig_Loader_String

Loads a template from a string.

This loader should NEVER be used. It only exists for Twig internal purposes.

When using this loader with a cache mechanism, you should know that a new cache key is generated each time a template content "changes" (the cache key being the source code of the template). If you don't want to see your cache grows out of control, you need to take care of clearing the old cache file by yourself.

« More »

Twig_LoaderInterface

Interface all loaders must implement.

« More »

Twig_Markup

Marks a content as safe.

« More »

Twig_Node

Represents a node in the AST.

« More »

Twig_Node_AutoEscape

Represents an autoescape node.

The value is the escaping strategy (can be html, js, ...)

The true value is equivalent to html.

If autoescaping is disabled, then the value is false.

« More »

Twig_Node_Block

Represents a block node.

« More »

Twig_Node_BlockReference

Represents a block call node.

« More »

Twig_Node_Body

Represents a body node.

« More »

Twig_Node_CheckSecurity

Represents a node in the AST.

« More »

Twig_Node_Deprecated

Represents a deprecated node.

« More »

Twig_Node_Do

Represents a do node.

« More »

Twig_Node_Embed

« More »

Twig_Node_Expression

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Array

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_AssignName

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Add

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_And

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_BitwiseAnd

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_BitwiseOr

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_BitwiseXor

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Concat

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Div

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_EndsWith

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Equal

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_FloorDiv

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Greater

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_GreaterEqual

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_In

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Less

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_LessEqual

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Matches

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Mod

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Mul

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_NotEqual

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_NotIn

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Or

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Power

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Range

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_StartsWith

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Binary_Sub

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_BlockReference

Represents a block call node.

« More »

Twig_Node_Expression_Call

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Conditional

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Constant

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_ExtensionReference

Represents an extension call node.

« More »

Twig_Node_Expression_Filter

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Filter_Default

Returns the value or the default value when it is undefined or empty.

{{ var.foo|default('foo item on var is not defined') }}

« More »

Twig_Node_Expression_Function

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_GetAttr

« More »

Twig_Node_Expression_MethodCall

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Name

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_NullCoalesce

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Parent

Represents a parent node.

« More »

Twig_Node_Expression_TempName

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Test

« More »

Twig_Node_Expression_Test_Constant

Checks if a variable is the exact same value as a constant.

{% if post.status is constant('Post::PUBLISHED') %} the status attribute is exactly the same as Post::PUBLISHED {% endif %}

« More »

Twig_Node_Expression_Test_Defined

« More »

Twig_Node_Expression_Test_Divisibleby

Checks if a variable is divisible by a number.

{% if loop.index is divisible by(3) %}

« More »

Twig_Node_Expression_Test_Even

Checks if a number is even.

{{ var is even }}

« More »

Twig_Node_Expression_Test_Null

Checks that a variable is null.

{{ var is none }}

« More »

Twig_Node_Expression_Test_Odd

Checks if a number is odd.

{{ var is odd }}

« More »

Twig_Node_Expression_Test_Sameas

Checks if a variable is the same as another one (=== in PHP).

« More »

Twig_Node_Expression_Unary

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Unary_Neg

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Unary_Not

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Expression_Unary_Pos

Abstract class for all nodes that represents an expression.

« More »

Twig_Node_Flush

Represents a flush node.

« More »

Twig_Node_For

« More »

Twig_Node_ForLoop

Internal node used by the for node.

« More »

Twig_Node_If

« More »

Twig_Node_Import

Represents an import node.

« More »

Twig_Node_Include

« More »

Twig_Node_Macro

« More »

Twig_Node_Module

« More »

Twig_Node_Print

Represents a node that outputs an expression.

« More »

Twig_Node_Sandbox

Represents a sandbox node.

« More »

Twig_Node_SandboxedPrint

Adds a check for the __toString() method when the variable is an object and the sandbox is activated.

When there is a simple Print statement, like {{ article }}, and if the sandbox is enabled, we need to check that the __toString() method is allowed if 'article' is an object.

Not used anymore, to be deprecated in 2.x and removed in 3.0

« More »

Twig_Node_Set

Represents a set node.

« More »

Twig_Node_SetTemp

Represents a node in the AST.

« More »

Twig_Node_Spaceless

Represents a spaceless node.

It removes spaces between HTML tags.

« More »

Twig_Node_Text

Represents a text node.

« More »

Twig_Node_With

« More »

Twig_NodeCaptureInterface

Represents a node that captures any nested displayable nodes.

« More »

Twig_NodeOutputInterface

Represents a displayable node in the AST.

« More »

Twig_NodeTraverser

A node traverser.

It visits all nodes and their children and calls the given visitor for each.

« More »

Twig_NodeVisitor_Escaper

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Twig_NodeVisitor_Optimizer

« More »

Twig_NodeVisitor_SafeAnalysis

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Twig_NodeVisitor_Sandbox

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Twig_NodeVisitorInterface

Interface for node visitor classes.

« More »

Twig_Parser

Default parser implementation.

« More »

Twig_Profiler_Dumper_Base

« More »

Twig_Profiler_Dumper_Blackfire

« More »

Twig_Profiler_Dumper_Html

« More »

Twig_Profiler_Dumper_Text

« More »

Twig_Profiler_Node_EnterProfile

Represents a profile enter node.

« More »

Twig_Profiler_Node_LeaveProfile

Represents a profile leave node.

« More »

Twig_Profiler_NodeVisitor_Profiler

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Twig_Profiler_Profile

« More »

Twig_RuntimeLoaderInterface

Creates runtime implementations for Twig elements (filters/functions/tests).

« More »

Twig_Sandbox_SecurityError

Exception thrown when a security error occurs at runtime.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Sandbox_SecurityNotAllowedFilterError

Exception thrown when a not allowed filter is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Sandbox_SecurityNotAllowedFunctionError

Exception thrown when a not allowed function is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Sandbox_SecurityNotAllowedMethodError

Exception thrown when a not allowed class method is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Sandbox_SecurityNotAllowedPropertyError

Exception thrown when a not allowed class property is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Sandbox_SecurityNotAllowedTagError

Exception thrown when a not allowed tag is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Twig_Sandbox_SecurityPolicy

Represents a security policy which need to be enforced when sandbox mode is enabled.

« More »

Twig_Sandbox_SecurityPolicyInterface

Interface that all security policy classes must implements.

« More »

Twig_SimpleFilter

Represents a template filter.

« More »

Twig_SimpleFunction

Represents a template function.

« More »

Twig_SimpleTest

Represents a template test.

« More »

Twig_Source

Holds information about a non-compiled Twig template.

« More »

Twig_SourceContextLoaderInterface

Adds a getSourceContext() method for loaders.

« More »

Twig_Template

Default base class for compiled templates.

This class is an implementation detail of how template compilation currently works, which might change. It should never be used directly. Use $twig->load() instead, which returns an instance of \Twig\TemplateWrapper.

« More »

Twig_TemplateWrapper

Exposes a template to userland.

« More »

Twig_Test

Represents a template test.

« More »

Twig_Test_Function

Represents a function template test.

« More »

Twig_Test_IntegrationTestCase

Integration test helper.

« More »

Twig_Test_Method

Represents a method template test.

« More »

Twig_Test_Node

Represents a template test as a Node.

« More »

Twig_Test_NodeTestCase

« More »

Twig_Token

« More »

Twig_TokenParser

Base class for all token parsers.

« More »

Twig_TokenParser_AutoEscape

Marks a section of a template to be escaped or not.

{% autoescape true %} Everything will be automatically escaped in this block {% endautoescape %}

{% autoescape false %} Everything will be outputed as is in this block {% endautoescape %}

{% autoescape true js %} Everything will be automatically escaped in this block using the js escaping strategy {% endautoescape %}

« More »

Twig_TokenParser_Block

Marks a section of a template as being reusable.

{% block head %}

{% block title %}{% endblock %} - My Webpage

{% endblock %}

« More »

Twig_TokenParser_Deprecated

Deprecates a section of a template.

{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} {% extends 'layout.html.twig' %}

« More »

Twig_TokenParser_Do

Evaluates an expression, discarding the returned value.

« More »

Twig_TokenParser_Embed

Embeds a template.

{% include 'header.html' %} Body {% include 'footer.html' %}

« More »

Twig_TokenParser_Extends

Extends a template by another one.

{% extends "base.html" %}

« More »

Twig_TokenParser_Filter

Filters a section of a template by applying filters.

{% filter upper %} This text becomes uppercase {% endfilter %}

« More »

Twig_TokenParser_Flush

Flushes the output to the client.

« More »

Twig_TokenParser_For

Loops over each item of a sequence.

    {% for user in users %}
  • {{ user.username|e }}
  • {% endfor %}
« More »

Twig_TokenParser_From

Imports macros.

{% from 'forms.html' import forms %}

« More »

Twig_TokenParser_If

Tests a condition.

{% if users %}

    {% for user in users %}
  • {{ user.username|e }}
  • {% endfor %}

{% endif %}

« More »

Twig_TokenParser_Import

Imports macros.

{% import 'forms.html' as forms %}

« More »

Twig_TokenParser_Include

Includes a template.

{% include 'header.html' %} Body {% include 'footer.html' %}

« More »

Twig_TokenParser_Macro

Defines a macro.

{% macro input(name, value, type, size) %}

{% endmacro %}

« More »

Twig_TokenParser_Sandbox

Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.

{% sandbox %} {% include 'user.html' %} {% endsandbox %}

« More »

Twig_TokenParser_Set

Defines a variable.

{% set foo = 'foo' %} {% set foo = [1, 2] %} {% set foo = {'foo': 'bar'} %} {% set foo = 'foo' ~ 'bar' %} {% set foo, bar = 'foo', 'bar' %} {% set foo %}Some content{% endset %}

« More »

Twig_TokenParser_Spaceless

Remove whitespaces between HTML tags.

{% spaceless %}

foo

{% endspaceless %} {# output will be

foo
#}

« More »

Twig_TokenParser_Use

Imports blocks defined in another template into the current template.

{% extends "base.html" %}

{% use "blocks.html" %}

{% block title %}{% endblock %} {% block content %}{% endblock %}

« More »

Twig_TokenParser_With

Creates a nested scope.

« More »

Twig_TokenParserBroker

Default implementation of a token parser broker.

« More »

Twig_TokenParserInterface

Interface implemented by token parsers.

« More »

Twig_TokenStream

Represents a token stream.

« More »

Twig_Util_DeprecationCollector

« More »

Twig_Util_TemplateDirIterator

« More »

TwigCommand

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

The current use case is to generate the translation files using Glot Press. In the future, it could be use to boost performance of first survey rendering (can be useful after a tmp cleanup, an update, etc).

To execute this command : php application/commands/console.php Twig generateTwigTmpFiles

It will execute all the functions

« More »

TwoFactorAdminLogin

Base class for plugins.

« More »

TypeError

« More »

UnActivatable

Example plugin that can not be activated.

« More »

UniqueNotification

Subclass of Notification, but with unique constraint.

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

« More »

Update

« More »

UpdateCheck

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

Uses the ExtensionInstaller library.

« More »

UpdateDBCommand

« More »

UpdateForm

Update Form Model

This model retrieves all the data Comfort Updates needs. Most of them come from request to the Update Server.

« More »

UploaderController

« More »

User

The followings are the available columns in table 'tbl_user':

« More »

User

Class User

« More »

UserAction

User Controller

This controller performs user actions

« More »

UserGroup

Class UserGroup

« More »

UserGroupController

class UserGroupController

this controller will have all the necessary methods from the old AdminController

« More »

UserIdentity

UserIdentity represents the data needed to identity a user.

It contains the authentication method that checks if the provided data can identity the user.

« More »

UserIdentity

UserIdentity represents the data needed to identity a user.

It contains the authentication method that checks if the provided data can identity the user.

« More »

UserInGroup

Class UserInGroup

« More »

UserInPermissionrole

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

The following are the available columns in table '{{user_in_permissionrole}}':

« More »

UserMenu

« More »

UserParser

Importing class to get users from a CSV file

« More »

userstatistics_helper

« More »

ValidateExpressionCommand

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

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

« More »

ValueError

« More »

VerificationController

the Verification class, this is grouped with other classes in the "limesurvey_yii" package and * is part of "controllers" subpackage

« More »

viewHelper

General helper class for generating views.

« More »

WipeCommand

« More »

Writer

Contains functions and properties that are common to all writers.

All extending classes must implement the internalWrite(...) method and have access to functionality as described below:

TODO Write more docs here

« More »

WrongTemplateVersionException

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

« More »

XLSXWriter

« More »

XLSXWriter_BuffererWriter

« More »

XLSXWriterTest

« More »

Classes, interfaces and traits

GlobalSettings

GlobalSettings Controller

This controller contains common functions for survey related views.

« More »

Classes, interfaces and traits

exampleFunctions

« More »

Classes, interfaces and traits

Buffer

« More »

Exception

« More »

Utils

« More »

Classes, interfaces and traits

RecordInterface

« More »

Reader

« More »

Record

« More »

Variable

« More »

Writer

« More »

Classes, interfaces and traits

Document

« More »

Header

« More »

InfoCollection

« More »

ValueLabel

The value label records documented in this section are used for numeric and short string variables only.

Long string variables may have value labels, but their value labels are recorded using a different record type.

« More »

Variable

« More »

Classes, interfaces and traits

CharacterEncoding

« More »

DataFileAttributes

« More »

ExtendedNumberOfCases

« More »

LongStringMissingValues

« More »

LongStringValueLabels

« More »

LongVariableNames

« More »

MachineFloatingPoint

« More »

MachineInteger

« More »

Unknown

« More »

VariableAttributes

« More »

VariableDisplayParam

« More »

VeryLongString

« More »

Classes, interfaces and traits

Compiler

Compiles a node to PHP code.

« More »

FileExtensionEscapingStrategy

Default autoescaping strategy based on file names.

This strategy sets the HTML as the default autoescaping strategy, but changes it based on the template name.

Note that there is no runtime performance impact as the default autoescaping strategy is set at compilation time.

« More »

Markup

Marks a content as safe.

« More »

NodeTraverser

A node traverser.

It visits all nodes and their children and calls the given visitor for each.

« More »

Parser

Default parser implementation.

« More »

Source

Holds information about a non-compiled Twig template.

« More »

Template

Default base class for compiled templates.

This class is an implementation detail of how template compilation currently works, which might change. It should never be used directly. Use $twig->load() instead, which returns an instance of \Twig\TemplateWrapper.

« More »

TemplateWrapper

Exposes a template to userland.

« More »

TokenStream

Represents a token stream.

« More »

TwigFilter

Represents a template filter.

« More »

TwigFunction

Represents a template function.

« More »

TwigTest

Represents a template test.

« More »

Classes, interfaces and traits

DeprecationCollector

« More »

TemplateDirIterator

« More »

Classes, interfaces and traits

BaseDumper

« More »

BlackfireDumper

« More »

HtmlDumper

« More »

TextDumper

« More »

Classes, interfaces and traits

EnterProfileNode

Represents a profile enter node.

« More »

LeaveProfileNode

Represents a profile leave node.

« More »

Classes, interfaces and traits

ProfilerNodeVisitor

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Classes, interfaces and traits

ExtensionInterface

Interface implemented by extension classes.

« More »

GlobalsInterface

Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.

Explicitly implement this interface if you really need to implement the deprecated getGlobals() method in your extensions.

« More »

InitRuntimeInterface

Enables usage of the deprecated Twig\Extension\AbstractExtension::initRuntime() method.

Explicitly implement this interface if you really need to implement the deprecated initRuntime() method in your extensions.

« More »

RuntimeExtensionInterface

« More »

AbstractExtension

« More »

CoreExtension

« More »

DebugExtension

« More »

EscaperExtension

« More »

OptimizerExtension

« More »

ProfilerExtension

« More »

SandboxExtension

« More »

StagingExtension

Internal class.

This class is used by \Twig\Environment as a staging area and must not be used directly.

« More »

StringLoaderExtension

« More »

Classes, interfaces and traits

Error

Twig base exception.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

LoaderError

Exception thrown when an error occurs during template loading.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

RuntimeError

Exception thrown when an error occurs at runtime.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SyntaxError

\Exception thrown when a syntax error occurs during lexing or parsing of a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

Classes, interfaces and traits

NodeCaptureInterface

Represents a node that captures any nested displayable nodes.

« More »

NodeOutputInterface

Represents a displayable node in the AST.

« More »

AutoEscapeNode

Represents an autoescape node.

The value is the escaping strategy (can be html, js, ...)

The true value is equivalent to html.

If autoescaping is disabled, then the value is false.

« More »

BlockNode

Represents a block node.

« More »

BlockReferenceNode

Represents a block call node.

« More »

BodyNode

Represents a body node.

« More »

CheckSecurityCallNode

Represents a node in the AST.

« More »

CheckSecurityNode

Represents a node in the AST.

« More »

CheckToStringNode

Checks if casting an expression to __toString() is allowed by the sandbox.

For instance, when there is a simple Print statement, like {{ article }}, and if the sandbox is enabled, we need to check that the __toString() method is allowed if 'article' is an object. The same goes for {{ article|upper }} or {{ random(article) }}

« More »

DeprecatedNode

Represents a deprecated node.

« More »

DoNode

Represents a do node.

« More »

FlushNode

Represents a flush node.

« More »

ForLoopNode

Internal node used by the for node.

« More »

ImportNode

Represents an import node.

« More »

Node

Represents a node in the AST.

« More »

PrintNode

Represents a node that outputs an expression.

« More »

SandboxedPrintNode

Adds a check for the __toString() method when the variable is an object and the sandbox is activated.

When there is a simple Print statement, like {{ article }}, and if the sandbox is enabled, we need to check that the __toString() method is allowed if 'article' is an object.

Not used anymore, to be deprecated in 2.x and removed in 3.0

« More »

SandboxNode

Represents a sandbox node.

« More »

SetNode

Represents a set node.

« More »

SetTempNode

Represents a node in the AST.

« More »

SpacelessNode

Represents a spaceless node.

It removes spaces between HTML tags.

« More »

TextNode

Represents a text node.

« More »

Classes, interfaces and traits

AbstractExpression

Abstract class for all nodes that represents an expression.

« More »

ArrayExpression

Abstract class for all nodes that represents an expression.

« More »

ArrowFunctionExpression

Represents an arrow function.

« More »

AssignNameExpression

Abstract class for all nodes that represents an expression.

« More »

BlockReferenceExpression

Represents a block call node.

« More »

CallExpression

Abstract class for all nodes that represents an expression.

« More »

ConditionalExpression

Abstract class for all nodes that represents an expression.

« More »

ConstantExpression

Abstract class for all nodes that represents an expression.

« More »

FilterExpression

Abstract class for all nodes that represents an expression.

« More »

FunctionExpression

Abstract class for all nodes that represents an expression.

« More »

InlinePrint

Abstract class for all nodes that represents an expression.

« More »

MethodCallExpression

Abstract class for all nodes that represents an expression.

« More »

NameExpression

Abstract class for all nodes that represents an expression.

« More »

NullCoalesceExpression

Abstract class for all nodes that represents an expression.

« More »

ParentExpression

Represents a parent node.

« More »

TempNameExpression

Abstract class for all nodes that represents an expression.

« More »

Classes, interfaces and traits

ConstantTest

Checks if a variable is the exact same value as a constant.

{% if post.status is constant('Post::PUBLISHED') %} the status attribute is exactly the same as Post::PUBLISHED {% endif %}

« More »

DivisiblebyTest

Checks if a variable is divisible by a number.

{% if loop.index is divisible by(3) %}

« More »

EvenTest

Checks if a number is even.

{{ var is even }}

« More »

NullTest

Checks that a variable is null.

{{ var is none }}

« More »

OddTest

Checks if a number is odd.

{{ var is odd }}

« More »

SameasTest

Checks if a variable is the same as another one (=== in PHP).

« More »

Classes, interfaces and traits

AbstractUnary

Abstract class for all nodes that represents an expression.

« More »

NegUnary

Abstract class for all nodes that represents an expression.

« More »

NotUnary

Abstract class for all nodes that represents an expression.

« More »

PosUnary

Abstract class for all nodes that represents an expression.

« More »

Classes, interfaces and traits

AbstractBinary

Abstract class for all nodes that represents an expression.

« More »

AddBinary

Abstract class for all nodes that represents an expression.

« More »

AndBinary

Abstract class for all nodes that represents an expression.

« More »

BitwiseAndBinary

Abstract class for all nodes that represents an expression.

« More »

BitwiseOrBinary

Abstract class for all nodes that represents an expression.

« More »

BitwiseXorBinary

Abstract class for all nodes that represents an expression.

« More »

ConcatBinary

Abstract class for all nodes that represents an expression.

« More »

DivBinary

Abstract class for all nodes that represents an expression.

« More »

EndsWithBinary

Abstract class for all nodes that represents an expression.

« More »

EqualBinary

Abstract class for all nodes that represents an expression.

« More »

FloorDivBinary

Abstract class for all nodes that represents an expression.

« More »

GreaterBinary

Abstract class for all nodes that represents an expression.

« More »

GreaterEqualBinary

Abstract class for all nodes that represents an expression.

« More »

InBinary

Abstract class for all nodes that represents an expression.

« More »

LessBinary

Abstract class for all nodes that represents an expression.

« More »

LessEqualBinary

Abstract class for all nodes that represents an expression.

« More »

MatchesBinary

Abstract class for all nodes that represents an expression.

« More »

ModBinary

Abstract class for all nodes that represents an expression.

« More »

MulBinary

Abstract class for all nodes that represents an expression.

« More »

NotEqualBinary

Abstract class for all nodes that represents an expression.

« More »

NotInBinary

Abstract class for all nodes that represents an expression.

« More »

OrBinary

Abstract class for all nodes that represents an expression.

« More »

PowerBinary

Abstract class for all nodes that represents an expression.

« More »

RangeBinary

Abstract class for all nodes that represents an expression.

« More »

StartsWithBinary

Abstract class for all nodes that represents an expression.

« More »

SubBinary

Abstract class for all nodes that represents an expression.

« More »

Classes, interfaces and traits

DefaultFilter

Returns the value or the default value when it is undefined or empty.

{{ var.foo|default('foo item on var is not defined') }}

« More »

Classes, interfaces and traits

CacheInterface

Interface implemented by cache classes.

It is highly recommended to always store templates on the filesystem to benefit from the PHP opcode cache. This interface is mostly useful if you need to implement a custom strategy for storing templates on the filesystem.

« More »

NullCache

Implements a no-cache strategy.

« More »

Classes, interfaces and traits

SecurityPolicyInterface

Interface that all security policy classes must implements.

« More »

SecurityError

Exception thrown when a security error occurs at runtime.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SecurityNotAllowedFilterError

Exception thrown when a not allowed filter is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SecurityNotAllowedFunctionError

Exception thrown when a not allowed function is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SecurityNotAllowedMethodError

Exception thrown when a not allowed class method is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SecurityNotAllowedPropertyError

Exception thrown when a not allowed class property is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SecurityNotAllowedTagError

Exception thrown when a not allowed tag is used in a template.

This exception class and its children must only be used when an error occurs during the loading of a template, when a syntax error is detected in a template, or when rendering a template. Other errors must use regular PHP exception classes (like when the template cache directory is not writable for instance).

To help debugging template issues, this class tracks the original template name and line where the error occurred.

Whenever possible, you must set these information (original template name and line number) yourself by passing them to the constructor. If some or all these information are not available from where you throw the exception, then this class will guess them automatically (when the line number is set to -1 and/or the name is set to null). As this is a costly operation, this can be disabled by passing false for both the name and the line number when creating a new instance of this class.

« More »

SecurityPolicy

Represents a security policy which need to be enforced when sandbox mode is enabled.

« More »

Classes, interfaces and traits

ExistsLoaderInterface

Adds an exists() method for loaders.

« More »

LoaderInterface

Interface all loaders must implement.

« More »

SourceContextLoaderInterface

Adds a getSourceContext() method for loaders.

« More »

ArrayLoader

Loads a template from an array.

When using this loader with a cache mechanism, you should know that a new cache key is generated each time a template content "changes" (the cache key being the source code of the template). If you don't want to see your cache grows out of control, you need to take care of clearing the old cache file by yourself.

This loader should only be used for unit testing.

« More »

ChainLoader

Loads templates from other loaders.

« More »

Classes, interfaces and traits

RuntimeLoaderInterface

Creates runtime implementations for Twig elements (filters/functions/tests).

« More »

ContainerRuntimeLoader

Lazily loads Twig runtime implementations from a PSR-11 container.

Note that the runtime services MUST use their class names as identifiers.

« More »

FactoryRuntimeLoader

Lazy loads the runtime implementations for a Twig element.

« More »

Classes, interfaces and traits

IntegrationTestCase

Integration test helper.

« More »

NodeTestCase

« More »

Classes, interfaces and traits

NodeVisitorInterface

Interface for node visitor classes.

« More »

AbstractNodeVisitor

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

EscaperNodeVisitor

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

SafeAnalysisNodeVisitor

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

SandboxNodeVisitor

Used to make node visitors compatible with Twig 1.x and 2.x.

To be removed in Twig 3.1.

« More »

Classes, interfaces and traits

TokenParserInterface

Interface implemented by token parsers.

« More »

AbstractTokenParser

Base class for all token parsers.

« More »

ApplyTokenParser

Applies filters on a section of a template.

{% apply upper %} This text becomes uppercase {% endapply %}

« More »

AutoEscapeTokenParser

Marks a section of a template to be escaped or not.

{% autoescape true %} Everything will be automatically escaped in this block {% endautoescape %}

{% autoescape false %} Everything will be outputed as is in this block {% endautoescape %}

{% autoescape true js %} Everything will be automatically escaped in this block using the js escaping strategy {% endautoescape %}

« More »

BlockTokenParser

Marks a section of a template as being reusable.

{% block head %}

{% block title %}{% endblock %} - My Webpage

{% endblock %}

« More »

DeprecatedTokenParser

Deprecates a section of a template.

{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} {% extends 'layout.html.twig' %}

« More »

DoTokenParser

Evaluates an expression, discarding the returned value.

« More »

EmbedTokenParser

Embeds a template.

{% include 'header.html' %} Body {% include 'footer.html' %}

« More »

ExtendsTokenParser

Extends a template by another one.

{% extends "base.html" %}

« More »

FilterTokenParser

Filters a section of a template by applying filters.

{% filter upper %} This text becomes uppercase {% endfilter %}

« More »

FlushTokenParser

Flushes the output to the client.

« More »

ForTokenParser

Loops over each item of a sequence.

    {% for user in users %}
  • {{ user.username|e }}
  • {% endfor %}
« More »

FromTokenParser

Imports macros.

{% from 'forms.html' import forms %}

« More »

IfTokenParser

Tests a condition.

{% if users %}

    {% for user in users %}
  • {{ user.username|e }}
  • {% endfor %}

{% endif %}

« More »

ImportTokenParser

Imports macros.

{% import 'forms.html' as forms %}

« More »

IncludeTokenParser

Includes a template.

{% include 'header.html' %} Body {% include 'footer.html' %}

« More »

MacroTokenParser

Defines a macro.

{% macro input(name, value, type, size) %}

{% endmacro %}

« More »

SandboxTokenParser

Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.

{% sandbox %} {% include 'user.html' %} {% endsandbox %}

« More »

SetTokenParser

Defines a variable.

{% set foo = 'foo' %} {% set foo = [1, 2] %} {% set foo = {'foo': 'bar'} %} {% set foo = 'foo' ~ 'bar' %} {% set foo, bar = 'foo', 'bar' %} {% set foo %}Some content{% endset %}

« More »

SpacelessTokenParser

Remove whitespaces between HTML tags.

{% spaceless %}

foo

{% endspaceless %} {# output will be

foo
#}

« More »

UseTokenParser

Imports blocks defined in another template into the current template.

{% extends "base.html" %}

{% use "blocks.html" %}

{% block title %}{% endblock %} {% block content %}{% endblock %}

« More »

WithTokenParser

Creates a nested scope.

« More »

Classes, interfaces and traits

OAuthTokenProvider

OAuthTokenProvider - OAuth2 token provider interface.

Provides base64 encoded OAuth2 auth strings for SMTP authentication.

« More »

Exception

PHPMailer exception handler.

« More »

OAuth

OAuth - OAuth2 authentication wrapper class.

Uses the oauth2-client package from the League of Extraordinary Packages.

« More »

PHPMailer

PHPMailer - PHP email creation and transport class.

« More »

POP3

PHPMailer POP-Before-SMTP Authentication Class.

Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. 1) This class does not support APOP authentication. 2) Opening and closing lots of POP3 connections can be quite slow. If you need to send a batch of emails then just perform the authentication once at the start, and then loop through your mail sending script. Providing this process doesn't take longer than the verification period lasts on your POP3 server, you should be fine. 3) This is really ancient technology; you should only need to use it to talk to very old systems. 4) This POP3 class is deliberately lightweight and incomplete, implementing just enough to do authentication. If you want a more complete class there are other POP3 classes for PHP available.

« More »

SMTP

PHPMailer RFC821 SMTP email transport class.

Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.

« More »

Classes, interfaces and traits

browser

« More »

fastImage

FastImage - Because sometimes you just want the size! Based on the Ruby Implementation by Steven Sykes (https://github.com/sdsykes/fastimage)

Copyright (c) 2012 Tom Moor Tom Moor, http://tommoor.com

MIT Licensed

« More »

httpCache

« More »

image

« More »

image_gd

« More »

image_gmagick

« More »

image_imagick

« More »

minifier

« More »

type_img

« More »

type_mime

« More »

uploader

« More »

zipFolder

« More »

Classes, interfaces and traits

BolmerCMS

This file is part of KCFinder project

@desc CMS integration code: BolmerCMS

« More »

Classes, interfaces and traits

BasicTest

« More »

BlockquoteTest

« More »

ConstructorTest

« More »

DefinitionListTest

« More »

DelTest

« More »

Html2Text

« More »

HtmlCharsTest

« More »

ImageTest

« More »

InsTest

« More »

LinkTest

« More »

ListTest

« More »

PreTest

« More »

PrintTest

« More »

SearchReplaceTest

« More »

SpanTest

« More »

StrToUpperTest

« More »

TableTest

« More »

Classes, interfaces and traits

Ctype

Ctype implementation through regex.

« More »

Classes, interfaces and traits

InstalledVersions

« More »

InstalledVersions

« More »

Functions

includeFile

Scope isolated include.

Prevents access to $this/self from included files.

package

Default

Arguments

$file

« More »

includeFile

Scope isolated include.

Prevents access to $this/self from included files.

package

Default

Arguments

$file

« More »

Classes, interfaces and traits

ClassLoader

ClassLoader implements a PSR-0, PSR-4 and classmap class loader.

$loader = new \Composer\Autoload\ClassLoader();

// register classes with namespaces
$loader->add('Symfony\Component', __DIR__.'/component');
$loader->add('Symfony',           __DIR__.'/framework');

// activate the autoloader
$loader->register();

// to enable searching the include path (eg. for PEAR packages)
$loader->setUseIncludePath(true);

In this example, if you try to use a class in the Symfony\Component namespace or one of its children (Symfony\Component\Console for instance), the autoloader will first look for the class under the component/ directory, and it will then fallback to the framework/ directory if not found before giving up.

This class is loosely based on the Symfony UniversalClassLoader.

« More »

ClassLoader

ClassLoader implements a PSR-0, PSR-4 and classmap class loader.

$loader = new \Composer\Autoload\ClassLoader();

// register classes with namespaces
$loader->add('Symfony\Component', __DIR__.'/component');
$loader->add('Symfony',           __DIR__.'/framework');

// activate the autoloader
$loader->register();

// to enable searching the include path (eg. for PEAR packages)
$loader->setUseIncludePath(true);

In this example, if you try to use a class in the Symfony\Component namespace or one of its children (Symfony\Component\Console for instance), the autoloader will first look for the class under the component/ directory, and it will then fallback to the framework/ directory if not found before giving up.

This class is loosely based on the Symfony UniversalClassLoader.

« More »

ComposerStaticInit2659d7f00f449de3862d7a6e5ccde300

« More »

ComposerStaticInitddb1a145e450f862353420acc5153e40

« More »

Classes, interfaces and traits

BCMath

BCMath Emulation Class

« More »

Classes, interfaces and traits

Agent

Pure-PHP ssh-agent client identity factory

requestIdentities() method pumps out \phpseclib3\System\SSH\Agent\Identity objects

« More »

Classes, interfaces and traits

ReadBytes

ReadBytes trait

« More »

Classes, interfaces and traits

Identity

Pure-PHP ssh-agent client identity object

Instantiation should only be performed by \phpseclib3\System\SSH\Agent class. This could be thought of as implementing an interface that phpseclib3\Crypt\RSA implements. ie. maybe a Net_SSH_Auth_PublicKey interface or something. The methods in this interface would be getPublicKey and sign since those are the methods phpseclib looks for to perform public key authentication.

« More »

Classes, interfaces and traits

AES

Pure-PHP implementation of AES.

« More »

Blowfish

Pure-PHP implementation of Blowfish.

« More »

ChaCha20

Pure-PHP implementation of ChaCha20.

« More »

DES

Pure-PHP implementation of DES.

« More »

DH

Pure-PHP (EC)DH implementation

« More »

DSA

Pure-PHP FIPS 186-4 compliant implementation of DSA.

« More »

EC

Pure-PHP implementation of EC.

« More »

PublicKeyLoader

PublicKeyLoader

« More »

Random

Pure-PHP Random Number Generator

« More »

RC2

Pure-PHP implementation of RC2.

« More »

RC4

Pure-PHP implementation of RC4.

« More »

Rijndael

Pure-PHP implementation of Rijndael.

« More »

RSA

Pure-PHP PKCS#1 compliant implementation of RSA.

« More »

Salsa20

Pure-PHP implementation of Salsa20.

« More »

TripleDES

Pure-PHP implementation of Triple DES.

« More »

Twofish

Pure-PHP implementation of Twofish.

« More »

Classes, interfaces and traits

Parameters

DSA Parameters

« More »

PrivateKey

DSA Private Key

« More »

PublicKey

DSA Public Key

« More »

Classes, interfaces and traits

ASN1

ASN1 Signature Handler

« More »

Raw

Raw DSA Signature Handler

« More »

SSH2

SSH2 Signature Handler

« More »

Classes, interfaces and traits

OpenSSH

OpenSSH Formatted DSA Key Handler

« More »

PKCS1

PKCS#1 Formatted DSA Key Handler

« More »

PKCS8

PKCS#8 Formatted DSA Key Handler

« More »

PuTTY

PuTTY Formatted DSA Key Handler

« More »

Raw

Raw DSA Key Handler

« More »

XML

XML Formatted DSA Key Handler

« More »

Classes, interfaces and traits

Parameters

EC Parameters

« More »

PrivateKey

EC Private Key

« More »

PublicKey

EC Public Key

« More »

Classes, interfaces and traits

Base

Base

« More »

Binary

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

KoblitzPrime

Curves over y^2 = x^3 + b

« More »

Montgomery

Curves over y^2 = x^3 + a*x + x

« More »

Prime

Curves over y^2 = x^3 + a*x + b

« More »

TwistedEdwards

Curves over a*x^2 + y^2 = 1 + d*x^2*y^2

« More »

Classes, interfaces and traits

ASN1

ASN1 Signature Handler

« More »

Raw

Raw DSA Signature Handler

« More »

SSH2

SSH2 Signature Handler

« More »

Classes, interfaces and traits

Common

Generic EC Key Parsing Helper functions

« More »

JWK

JWK Formatted EC Handler

« More »

libsodium

libsodium Key Handler

« More »

MontgomeryPrivate

Montgomery Curve Private Key Handler

« More »

MontgomeryPublic

Montgomery Public Key Handler

« More »

OpenSSH

OpenSSH Formatted EC Key Handler

« More »

PKCS1

"PKCS1" (RFC5915) Formatted EC Key Handler

« More »

PKCS8

PKCS#8 Formatted EC Key Handler

« More »

PuTTY

PuTTY Formatted EC Key Handler

« More »

XML

XML Formatted EC Key Handler

« More »

Classes, interfaces and traits

brainpoolP160r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP160t1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP192r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP192t1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP224r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP224t1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP256r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP256t1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP320r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP320t1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP384r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP384t1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP512r1

Curves over y^2 = x^3 + a*x + b

« More »

brainpoolP512t1

Curves over y^2 = x^3 + a*x + b

« More »

Curve25519

Curves over y^2 = x^3 + a*x + x

« More »

Curve448

Curves over y^2 = x^3 + a*x + x

« More »

Ed25519

Curves over a*x^2 + y^2 = 1 + d*x^2*y^2

« More »

Ed448

Curves over a*x^2 + y^2 = 1 + d*x^2*y^2

« More »

nistb233

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

nistb409

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

nistk163

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

nistk233

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

nistk283

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

nistk409

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

nistp192

Curves over y^2 = x^3 + a*x + b

« More »

nistp224

Curves over y^2 = x^3 + a*x + b

« More »

nistp256

Curves over y^2 = x^3 + a*x + b

« More »

nistp384

Curves over y^2 = x^3 + a*x + b

« More »

nistp521

Curves over y^2 = x^3 + a*x + b

« More »

nistt571

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

prime192v1

Curves over y^2 = x^3 + a*x + b

« More »

prime192v2

Curves over y^2 = x^3 + a*x + b

« More »

prime192v3

Curves over y^2 = x^3 + a*x + b

« More »

prime239v1

Curves over y^2 = x^3 + a*x + b

« More »

prime239v2

Curves over y^2 = x^3 + a*x + b

« More »

prime239v3

Curves over y^2 = x^3 + a*x + b

« More »

prime256v1

Curves over y^2 = x^3 + a*x + b

« More »

secp112r1

Curves over y^2 = x^3 + a*x + b

« More »

secp112r2

Curves over y^2 = x^3 + a*x + b

« More »

secp128r1

Curves over y^2 = x^3 + a*x + b

« More »

secp128r2

Curves over y^2 = x^3 + a*x + b

« More »

secp160k1

Curves over y^2 = x^3 + b

« More »

secp160r1

Curves over y^2 = x^3 + a*x + b

« More »

secp160r2

Curves over y^2 = x^3 + a*x + b

« More »

secp192k1

Curves over y^2 = x^3 + b

« More »

secp192r1

Curves over y^2 = x^3 + a*x + b

« More »

secp224k1

Curves over y^2 = x^3 + b

« More »

secp224r1

Curves over y^2 = x^3 + a*x + b

« More »

secp256k1

Curves over y^2 = x^3 + b

« More »

secp256r1

Curves over y^2 = x^3 + a*x + b

« More »

secp384r1

Curves over y^2 = x^3 + a*x + b

« More »

secp521r1

Curves over y^2 = x^3 + a*x + b

« More »

sect113r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect113r2

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect131r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect131r2

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect163k1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect163r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect163r2

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect193r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect193r2

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect233k1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect233r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect239k1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect283k1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect283r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect409k1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect409r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect571k1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

sect571r1

Curves over y^2 + x*y = x^3 + a*x^2 + b

« More »

Classes, interfaces and traits

Parameters

DH Parameters

« More »

PrivateKey

DH Private Key

« More »

PublicKey

DH Public Key

« More »

Classes, interfaces and traits

PKCS1

"PKCS1" Formatted DH Key Handler

« More »

PKCS8

PKCS#8 Formatted DH Key Handler

« More »

Classes, interfaces and traits

PrivateKey

PrivateKey interface

« More »

PublicKey

PublicKey interface

« More »

AsymmetricKey

Base Class for all asymmetric cipher classes

« More »

BlockCipher

Base Class for all block cipher classes

« More »

StreamCipher

Base Class for all stream cipher classes

« More »

SymmetricKey

Base Class for all \phpseclib3\Crypt\* cipher classes

« More »

Classes, interfaces and traits

Fingerprint

Fingerprint Trait for Private Keys

« More »

PasswordProtected

Password Protected Trait for Private Keys

« More »

Classes, interfaces and traits

Raw

Raw Signature Handler

« More »

Classes, interfaces and traits

JWK

JSON Web Key Formatted Key Handler

« More »

OpenSSH

OpenSSH Formatted RSA Key Handler

« More »

PKCS

PKCS1 Formatted Key Handler

« More »

PKCS1

PKCS1 Formatted Key Handler

« More »

PKCS8

PKCS#8 Formatted Key Handler

« More »

PuTTY

PuTTY Formatted Key Handler

« More »

Classes, interfaces and traits

PrivateKey

Raw RSA Key Handler

« More »

PublicKey

Raw RSA Key Handler

« More »

Classes, interfaces and traits

JWK

JWK Formatted RSA Handler

« More »

MSBLOB

Microsoft BLOB Formatted RSA Key Handler

« More »

OpenSSH

OpenSSH Formatted RSA Key Handler

« More »

PKCS1

PKCS#1 Formatted RSA Key Handler

« More »

PKCS8

PKCS#8 Formatted RSA Key Handler

« More »

PSS

PKCS#8 Formatted RSA-PSS Key Handler

« More »

PuTTY

PuTTY Formatted RSA Key Handler

« More »

Raw

Raw RSA Key Handler

« More »

XML

XML Formatted RSA Key Handler

« More »

Classes, interfaces and traits

SFTP

Pure-PHP implementations of SFTP.

« More »

SSH2

Pure-PHP implementation of SSHv2.

« More »

Classes, interfaces and traits

Stream

SFTP Stream Wrapper

« More »

Classes, interfaces and traits

BadConfigurationException

BadConfigurationException

« More »

BadDecryptionException

BadDecryptionException

« More »

BadModeException

BadModeException

« More »

ConnectionClosedException

ConnectionClosedException

« More »

FileNotFoundException

FileNotFoundException

« More »

InconsistentSetupException

InconsistentSetupException

« More »

InsufficientSetupException

InsufficientSetupException

« More »

NoKeyLoadedException

NoKeyLoadedException

« More »

NoSupportedAlgorithmsException

NoSupportedAlgorithmsException

« More »

UnableToConnectException

UnableToConnectException

« More »

UnsupportedAlgorithmException

UnsupportedAlgorithmException

« More »

UnsupportedCurveException

UnsupportedCurveException

« More »

UnsupportedFormatException

UnsupportedFormatException

« More »

UnsupportedOperationException

UnsupportedOperationException

« More »

Classes, interfaces and traits

Strings

Common String Functions

« More »

Classes, interfaces and traits

BigInteger

Pure-PHP arbitrary precision integer arithmetic library. Supports base-2, base-10, base-16, and base-256 numbers.

« More »

BinaryField

Binary Finite Fields

« More »

PrimeField

Prime Finite Fields

« More »

Classes, interfaces and traits

BCMath

BCMath Engine.

« More »

Engine

Base Engine.

« More »

GMP

GMP Engine.

« More »

OpenSSL

OpenSSL Modular Exponentiation Engine

« More »

PHP

Pure-PHP Engine.

« More »

PHP32

Pure-PHP 32-bit Engine.

Uses 64-bit floats if int size is 4 bits

« More »

PHP64

Pure-PHP 64-bit Engine.

Uses 64-bit integers if int size is 8 bits

« More »

Classes, interfaces and traits

Base

Sliding Window Exponentiation Engine

« More »

BuiltIn

Built-In BCMath Modular Exponentiation Engine

« More »

DefaultEngine

PHP Default Modular Exponentiation Engine

« More »

OpenSSL

OpenSSL Modular Exponentiation Engine

« More »

Classes, interfaces and traits

Barrett

PHP Barrett Modular Exponentiation Engine

« More »

EvalBarrett

PHP Barrett Modular Exponentiation Engine

« More »

Classes, interfaces and traits

DefaultEngine

GMP Modular Exponentiation Engine

« More »

Classes, interfaces and traits

Base

PHP Modular Exponentiation Engine

« More »

DefaultEngine

PHP Default Modular Exponentiation Engine

« More »

Montgomery

PHP Montgomery Modular Exponentiation Engine

« More »

OpenSSL

OpenSSL Modular Exponentiation Engine

« More »

Classes, interfaces and traits

Barrett

PHP Barrett Modular Exponentiation Engine

« More »

Classic

PHP Classic Modular Exponentiation Engine

« More »

EvalBarrett

PHP Dynamic Barrett Modular Exponentiation Engine

« More »

Montgomery

PHP Montgomery Modular Exponentiation Engine

« More »

MontgomeryMult

PHP Montgomery Modular Exponentiation Engine with interleaved multiplication

« More »

PowerOfTwo

PHP Power Of Two Modular Exponentiation Engine

« More »

Classes, interfaces and traits

FiniteField

Finite Fields

« More »

Classes, interfaces and traits

Integer

Finite Field Integer

« More »

Classes, interfaces and traits

Integer

Prime Finite Fields

« More »

Classes, interfaces and traits

Integer

Binary Finite Fields

« More »

Classes, interfaces and traits

ANSI

Pure-PHP ANSI Decoder

« More »

ASN1

Pure-PHP ASN.1 Parser

« More »

X509

Pure-PHP X.509 Parser

« More »

Classes, interfaces and traits

Element

ASN.1 Raw Element

An ASN.1 ANY mapping will return an ASN1\Element object. Use of this object will also bypass the normal encoding rules in ASN1::encodeDER()

« More »

Classes, interfaces and traits

AccessDescription

AccessDescription

« More »

AdministrationDomainName

AdministrationDomainName

« More »

AlgorithmIdentifier

AlgorithmIdentifier

« More »

AnotherName

AnotherName

« More »

Attribute

Attribute

« More »

Attributes

Attributes

« More »

AttributeType

AttributeType

« More »

AttributeTypeAndValue

AttributeTypeAndValue

« More »

AttributeValue

AttributeValue

« More »

AuthorityInfoAccessSyntax

AuthorityInfoAccessSyntax

« More »

AuthorityKeyIdentifier

AuthorityKeyIdentifier

« More »

BaseDistance

BaseDistance

« More »

BasicConstraints

BasicConstraints

« More »

BuiltInDomainDefinedAttribute

BuiltInDomainDefinedAttribute

« More »

BuiltInDomainDefinedAttributes

BuiltInDomainDefinedAttributes

« More »

BuiltInStandardAttributes

BuiltInStandardAttributes

« More »

Certificate

Certificate

« More »

CertificateIssuer

CertificateIssuer

« More »

CertificateList

CertificateList

« More »

CertificatePolicies

CertificatePolicies

« More »

CertificateSerialNumber

CertificateSerialNumber

« More »

CertificationRequest

CertificationRequest

« More »

CertificationRequestInfo

CertificationRequestInfo

« More »

CertPolicyId

CertPolicyId

« More »

Characteristic_two

Characteristic_two

« More »

CountryName

CountryName

« More »

CPSuri

CPSuri

« More »

CRLDistributionPoints

CRLDistributionPoints

« More »

CRLNumber

CRLNumber

« More »

CRLReason

CRLReason

« More »

Curve

Curve

« More »

DHParameter

DHParameter

« More »

DirectoryString

DirectoryString

« More »

DisplayText

DisplayText

« More »

DistributionPoint

DistributionPoint

« More »

DistributionPointName

DistributionPointName

« More »

DSAParams

DSAParams

« More »

DSAPrivateKey

DSAPrivateKey

« More »

DSAPublicKey

DSAPublicKey

« More »

DssSigValue

DssSigValue

« More »

EcdsaSigValue

EcdsaSigValue

« More »

ECParameters

ECParameters

ECParameters ::= CHOICE { namedCurve OBJECT IDENTIFIER -- implicitCurve NULL -- specifiedCurve SpecifiedECDomain } -- implicitCurve and specifiedCurve MUST NOT be used in PKIX. -- Details for SpecifiedECDomain can be found in [X9.62]. -- Any future additions to this CHOICE should be coordinated -- with ANSI X9.

« More »

ECPoint

ECPoint

« More »

ECPrivateKey

ECPrivateKey

« More »

EDIPartyName

EDIPartyName

« More »

EncryptedData

EncryptedData

« More »

EncryptedPrivateKeyInfo

EncryptedPrivateKeyInfo

« More »

Extension

Extension

A certificate using system MUST reject the certificate if it encounters a critical extension it does not recognize; however, a non-critical extension may be ignored if it is not recognized.

http://tools.ietf.org/html/rfc5280#section-4.2

« More »

ExtensionAttribute

ExtensionAttribute

« More »

ExtensionAttributes

ExtensionAttributes

« More »

Extensions

Extensions

« More »

ExtKeyUsageSyntax

ExtKeyUsageSyntax

« More »

FieldElement

FieldElement

« More »

FieldID

FieldID

« More »

GeneralName

GeneralName

« More »

GeneralNames

GeneralNames

« More »

GeneralSubtree

GeneralSubtree

« More »

GeneralSubtrees

GeneralSubtrees

« More »

HashAlgorithm

HashAglorithm

« More »

HoldInstructionCode

HoldInstructionCode

« More »

InvalidityDate

InvalidityDate

« More »

IssuerAltName

IssuerAltName

« More »

IssuingDistributionPoint

IssuingDistributionPoint

« More »

KeyIdentifier

KeyIdentifier

« More »

KeyPurposeId

KeyPurposeId

« More »

KeyUsage

KeyUsage

« More »

MaskGenAlgorithm

MaskGenAglorithm

« More »

Name

Name

« More »

NameConstraints

NameConstraints

« More »

netscape_ca_policy_url

netscape_ca_policy_url

« More »

netscape_cert_type

netscape_cert_type

« More »

netscape_comment

netscape_comment

« More »

NetworkAddress

NetworkAddress

« More »

NoticeReference

NoticeReference

« More »

NumericUserIdentifier

NumericUserIdentifier

« More »

OneAsymmetricKey

OneAsymmetricKey

« More »

ORAddress

ORAddress

« More »

OrganizationalUnitNames

OrganizationalUnitNames

« More »

OrganizationName

OrganizationName

« More »

OtherPrimeInfo

OtherPrimeInfo

« More »

OtherPrimeInfos

OtherPrimeInfos

« More »

Pentanomial

Pentanomial

« More »

PersonalName

PersonalName

« More »

PKCS9String

PKCS9String

« More »

PolicyInformation

PolicyInformation

« More »

PolicyMappings

PolicyMappings

« More »

PolicyQualifierId

PolicyQualifierId

« More »

PolicyQualifierInfo

PolicyQualifierInfo

« More »

PostalAddress

PostalAddress

« More »

Prime_p

Prime_p

« More »

PrivateDomainName

PrivateDomainName

« More »

PrivateKey

PrivateKey

« More »

PrivateKeyInfo

PrivateKeyInfo

« More »

PrivateKeyUsagePeriod

PrivateKeyUsagePeriod

« More »

PublicKey

PublicKey

« More »

PublicKeyAndChallenge

PublicKeyAndChallenge

« More »

PublicKeyInfo

PublicKeyInfo

this format is not formally defined anywhere but is none-the-less the form you get when you do "openssl rsa -in private.pem -outform PEM -pubout"

« More »

RC2CBCParameter

RC2CBCParameter

« More »

RDNSequence

RDNSequence

In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare, but they can be useful at times when either there is no unique attribute in the entry or you want to ensure that the entry's DN contains some useful identifying information.

« More »

ReasonFlags

ReasonFlags

« More »

RelativeDistinguishedName

RelativeDistinguishedName

In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare, but they can be useful at times when either there is no unique attribute in the entry or you want to ensure that the entry's DN contains some useful identifying information.

« More »

RevokedCertificate

RevokedCertificate

« More »

RSAPrivateKey

RSAPrivateKey

« More »

RSAPublicKey

RSAPublicKey

« More »

RSASSA_PSS_params

RSASSA_PSS_params

« More »

SignedPublicKeyAndChallenge

SignedPublicKeyAndChallenge

« More »

SpecifiedECDomain

SpecifiedECDomain

« More »

SubjectAltName

SubjectAltName

« More »

SubjectDirectoryAttributes

SubjectDirectoryAttributes

« More »

SubjectInfoAccessSyntax

SubjectInfoAccessSyntax

« More »

SubjectPublicKeyInfo

SubjectPublicKeyInfo

« More »

TBSCertificate

TBSCertificate

« More »

TBSCertList

TBSCertList

« More »

TerminalIdentifier

TerminalIdentifier

« More »

Time

Time

« More »

Trinomial

Trinomial

« More »

UniqueIdentifier

UniqueIdentifier

« More »

UserNotice

UserNotice

« More »

Validity

Validity

« More »

Functions

bin2hex

package

Default

see \ParagonIE_Sodium_Compat::bin2hex()
Throws
\SodiumException
\TypeError

Arguments

$string

string

Response

string

« More »

compare

package

Default

see \ParagonIE_Sodium_Compat::compare()
Throws
\SodiumException
\TypeError

Arguments

$a

string

$b

string

Response

integer

« More »

crypto_aead_aes256gcm_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_decrypt()

Arguments

$message

string

$assocData

string

$nonce

string

$key

string

Response

string|boolean

« More »

crypto_aead_aes256gcm_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$assocData

string

$nonce

string

$key

string

Response

string

« More »

crypto_aead_aes256gcm_is_available

« More »

crypto_aead_chacha20poly1305_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_decrypt()

Arguments

$message

string

$assocData

string

$nonce

string

$key

string

Response

string|boolean

« More »

crypto_aead_chacha20poly1305_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$assocData

string

$nonce

string

$key

string

Response

string

« More »

crypto_aead_chacha20poly1305_ietf_decrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_decrypt()

Arguments

$message

string

$assocData

string

$nonce

string

$key

string

Response

string|boolean

« More »

crypto_aead_chacha20poly1305_ietf_encrypt

package

Default

see \ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$assocData

string

$nonce

string

$key

string

Response

string

« More »

crypto_auth

package

Default

see \ParagonIE_Sodium_Compat::crypto_auth()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$key

string

Response

string

« More »

crypto_auth_verify

package

Default

see \ParagonIE_Sodium_Compat::crypto_auth_verify()
Throws
\SodiumException
\TypeError

Arguments

$mac

string

$message

string

$key

string

Response

boolean

« More »

crypto_box

package

Default

see \ParagonIE_Sodium_Compat::crypto_box()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$kp

string

Response

string

« More »

crypto_box_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_keypair()
Throws
\SodiumException
\TypeError

Response

string

« More »

crypto_box_keypair_from_secretkey_and_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_keypair_from_secretkey_and_publickey()
Throws
\SodiumException
\TypeError

Arguments

$sk

string

$pk

string

Response

string

« More »

crypto_box_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_open()

Arguments

$message

string

$nonce

string

$kp

string

Response

string|boolean

« More »

crypto_box_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_publickey()
Throws
\SodiumException
\TypeError

Arguments

$keypair

string

Response

string

« More »

crypto_box_publickey_from_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_publickey_from_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$sk

string

Response

string

« More »

crypto_box_seal

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_seal_open()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$publicKey

string

Response

string

« More »

crypto_box_seal_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_seal_open()

Arguments

$message

string

$kp

string

Response

string|boolean

« More »

crypto_box_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_box_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$keypair

string

Response

string

« More »

crypto_generichash

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$key

string|null

$outLen

integer

Response

string

« More »

crypto_generichash_final

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_final()
Throws
\SodiumException
\TypeError

Arguments

$ctx

string|null

$outputLength

integer

Response

string

« More »

crypto_generichash_init

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_init()
Throws
\SodiumException
\TypeError

Arguments

$key

string|null

$outLen

integer

Response

string

« More »

crypto_generichash_update

package

Default

see \ParagonIE_Sodium_Compat::crypto_generichash_update()
Throws
\SodiumException
\TypeError

Arguments

$ctx

string|null

$message

string

« More »

crypto_kx

package

Default

see \ParagonIE_Sodium_Compat::crypto_kx()
Throws
\SodiumException
\TypeError

Arguments

$my_secret

string

$their_public

string

$client_public

string

$server_public

string

Response

string

« More »

crypto_pwhash

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash()
Throws
\SodiumException
\TypeError

Arguments

$outlen

integer

$passwd

string

$salt

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

crypto_pwhash_scryptsalsa208sha256

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256()
Throws
\SodiumException
\TypeError

Arguments

$outlen

integer

$passwd

string

$salt

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

crypto_pwhash_scryptsalsa208sha256_str

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

crypto_pwhash_scryptsalsa208sha256_str_verify

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_scryptsalsa208sha256_str_verify()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$hash

string

Response

boolean

« More »

crypto_pwhash_str

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_str()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$opslimit

integer

$memlimit

integer

Response

string

« More »

crypto_pwhash_str_verify

package

Default

see \ParagonIE_Sodium_Compat::crypto_pwhash_str_verify()
Throws
\SodiumException
\TypeError

Arguments

$passwd

string

$hash

string

Response

boolean

« More »

crypto_scalarmult

package

Default

see \ParagonIE_Sodium_Compat::crypto_scalarmult()
Throws
\SodiumException
\TypeError

Arguments

$n

string

$p

string

Response

string

« More »

crypto_scalarmult_base

package

Default

see \ParagonIE_Sodium_Compat::crypto_scalarmult_base()
Throws
\SodiumException
\TypeError

Arguments

$n

string

Response

string

« More »

crypto_secretbox

package

Default

see \ParagonIE_Sodium_Compat::crypto_secretbox()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$key

string

Response

string

« More »

crypto_secretbox_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_secretbox_open()

Arguments

$message

string

$nonce

string

$key

string

Response

string|boolean

« More »

crypto_shorthash

package

Default

see \ParagonIE_Sodium_Compat::crypto_shorthash()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$key

string

Response

string

« More »

crypto_sign

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$sk

string

Response

string

« More »

crypto_sign_detached

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_detached()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$sk

string

Response

string

« More »

crypto_sign_ed25519_pk_to_curve25519

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519()
Throws
\SodiumException
\TypeError

Arguments

$pk

string

Response

string

« More »

crypto_sign_ed25519_sk_to_curve25519

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519()
Throws
\SodiumException
\TypeError

Arguments

$sk

string

Response

string

« More »

crypto_sign_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_keypair()
Throws
\SodiumException
\TypeError

Response

string

« More »

crypto_sign_open

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_open()

Arguments

$signedMessage

string

$pk

string

Response

string|boolean

« More »

crypto_sign_publickey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_publickey()
Throws
\SodiumException
\TypeError

Arguments

$keypair

string

Response

string

« More »

crypto_sign_publickey_from_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$sk

string

Response

string

« More »

crypto_sign_secretkey

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_secretkey()
Throws
\SodiumException
\TypeError

Arguments

$keypair

string

Response

string

« More »

crypto_sign_seed_keypair

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_seed_keypair()
Throws
\SodiumException
\TypeError

Arguments

$seed

string

Response

string

« More »

crypto_sign_verify_detached

package

Default

see \ParagonIE_Sodium_Compat::crypto_sign_verify_detached()
Throws
\SodiumException
\TypeError

Arguments

$signature

string

$message

string

$pk

string

Response

boolean

« More »

crypto_stream

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream()
Throws
\SodiumException
\TypeError

Arguments

$len

integer

$nonce

string

$key

string

Response

string

« More »

crypto_stream_xor

package

Default

see \ParagonIE_Sodium_Compat::crypto_stream_xor()
Throws
\SodiumException
\TypeError

Arguments

$message

string

$nonce

string

$key

string

Response

string

« More »

hex2bin

package

Default

see \ParagonIE_Sodium_Compat::hex2bin()
Throws
\SodiumException
\TypeError

Arguments

$string

string

Response

string

« More »

memcmp

package

Default

see \ParagonIE_Sodium_Compat::memcmp()
Throws
\SodiumException
\TypeError

Arguments

$a

string

$b

string

Response

integer

« More »

memzero

package

Default

see \ParagonIE_Sodium_Compat::memzero()
psalm-suppress

MissingParamType

MissingReturnType

ReferenceConstraintViolation

Throws
\SodiumException
\TypeError

Arguments

$str

string

« More »

randombytes_buf

package

Default

see \ParagonIE_Sodium_Compat::randombytes_buf()
Throws
\TypeError

Arguments

$amount

integer

Response

string

« More »

randombytes_random16

package

Default

see \ParagonIE_Sodium_Compat::randombytes_random16()

Response

integer

« More »

randombytes_uniform

package

Default

see \ParagonIE_Sodium_Compat::randombytes_uniform()
Throws
\SodiumException
\Error

Arguments

$upperLimit

integer

Response

integer

« More »

Constants

CRYPTO_AEAD_AES256GCM_KEYBYTES

« More »

CRYPTO_AEAD_AES256GCM_NSECBYTES

« More »

CRYPTO_AEAD_AES256GCM_NPUBBYTES

« More »

CRYPTO_AEAD_AES256GCM_ABYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_ABYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES

« More »

CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES

« More »

CRYPTO_AUTH_BYTES

« More »

CRYPTO_AUTH_KEYBYTES

« More »

CRYPTO_BOX_SEALBYTES

« More »

CRYPTO_BOX_SECRETKEYBYTES

« More »

CRYPTO_BOX_PUBLICKEYBYTES

« More »

CRYPTO_BOX_KEYPAIRBYTES

« More »

CRYPTO_BOX_MACBYTES

« More »

CRYPTO_BOX_NONCEBYTES

« More »

CRYPTO_BOX_SEEDBYTES

« More »

CRYPTO_KX_BYTES

« More »

CRYPTO_KX_SEEDBYTES

« More »

CRYPTO_KX_PUBLICKEYBYTES

« More »

CRYPTO_KX_SECRETKEYBYTES

« More »

CRYPTO_GENERICHASH_BYTES

« More »

CRYPTO_GENERICHASH_BYTES_MIN

« More »

CRYPTO_GENERICHASH_BYTES_MAX

« More »

CRYPTO_GENERICHASH_KEYBYTES

« More »

CRYPTO_GENERICHASH_KEYBYTES_MIN

« More »

CRYPTO_GENERICHASH_KEYBYTES_MAX

« More »

CRYPTO_SCALARMULT_BYTES

« More »

CRYPTO_SCALARMULT_SCALARBYTES

« More »

CRYPTO_SHORTHASH_BYTES

« More »

CRYPTO_SHORTHASH_KEYBYTES

« More »

CRYPTO_SECRETBOX_KEYBYTES

« More »

CRYPTO_SECRETBOX_MACBYTES

« More »

CRYPTO_SECRETBOX_NONCEBYTES

« More »

CRYPTO_SIGN_BYTES

« More »

CRYPTO_SIGN_SEEDBYTES

« More »

CRYPTO_SIGN_PUBLICKEYBYTES

« More »

CRYPTO_SIGN_SECRETKEYBYTES

« More »

CRYPTO_SIGN_KEYPAIRBYTES

« More »

CRYPTO_STREAM_KEYBYTES

« More »

CRYPTO_STREAM_NONCEBYTES

« More »

Classes, interfaces and traits

Compat

« More »

Crypto

Class ParagonIE_Sodium_Crypto

ATTENTION!

If you are using this library, you should be using ParagonIE_Sodium_Compat in your code, not this class.

« More »

File

Class ParagonIE_Sodium_File

« More »

Classes, interfaces and traits

BLAKE2b

Class ParagonIE_Sodium_Core_BLAKE2b

Based on the work of Devi Mandiri in devi/salt.

« More »

ChaCha20

Class ParagonIE_Sodium_Core_ChaCha20

« More »

Curve25519

Class ParagonIE_Sodium_Core_Curve25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

Ed25519

Class ParagonIE_Sodium_Core_Ed25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

HChaCha20

Class ParagonIE_Sodium_Core_HChaCha20

« More »

HSalsa20

Class ParagonIE_Sodium_Core_HSalsa20

« More »

Poly1305

Class ParagonIE_Sodium_Core_Poly1305

« More »

Salsa20

Class ParagonIE_Sodium_Core_Salsa20

« More »

SipHash

Class ParagonIE_SodiumCompat_Core_SipHash

Only uses 32-bit arithmetic, while the original SipHash used 64-bit integers

« More »

Util

Class ParagonIE_Sodium_Core_Util

« More »

X25519

Class ParagonIE_Sodium_Core_X25519

Implements Curve25519 core functions

Based on the ref10 curve25519 code provided by libsodium

« More »

XChaCha20

Class ParagonIE_Sodium_Core_XChaCha20

« More »

Xsalsa20

Class ParagonIE_Sodium_Core_XSalsa20

« More »

Classes, interfaces and traits

Ctx

Class ParagonIE_Sodium_Core_ChaCha20_Ctx

« More »

IetfCtx

Class ParagonIE_Sodium_Core_ChaCha20_IetfCtx

« More »

Classes, interfaces and traits

Fe

Class ParagonIE_Sodium_Core_Curve25519_Fe

This represents a Field Element

« More »

H

Class ParagonIE_Sodium_Core_Curve25519_H

This just contains the constants in the ref10/base.h file

« More »

Classes, interfaces and traits

Cached

Class ParagonIE_Sodium_Core_Curve25519_Ge_Cached

« More »

P1p1

Class ParagonIE_Sodium_Core_Curve25519_Ge_P1p1

« More »

P2

Class ParagonIE_Sodium_Core_Curve25519_Ge_P2

« More »

P3

Class ParagonIE_Sodium_Core_Curve25519_Ge_P3

« More »

Precomp

Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp

« More »

Classes, interfaces and traits

State

Class ParagonIE_Sodium_Core_Poly1305_State

« More »

Classes, interfaces and traits

EncoderInterface

Interface EncoderInterface

« More »

Base32

Class Base32 [A-Z][2-7]

« More »

Base32Hex

Class Base32Hex [0-9][A-V]

« More »

Base64

Class Base64 [A-Z][a-z][0-9]+/

« More »

Base64DotSlash

Class Base64DotSlash

./[A-Z][a-z][0-9]

« More »

Base64DotSlashOrdered

Class Base64DotSlashOrdered

./[0-9][A-Z][a-z]

« More »

Base64UrlSafe

Class Base64UrlSafe [A-Z][a-z][0-9]\-_

« More »

Binary

Class Binary

Binary string operators that don't choke on mbstring.func_overload

« More »

Encoding

Class Encoding

« More »

Hex

Class Hex

« More »

RFC4648

Class RFC4648

This class conforms strictly to the RFC

« More »

Classes, interfaces and traits

BlacklistResult

Class BlacklistResult

This class represents the result of a blacklist operation

« More »

CopyQuestionTextValues

Class CopyQuestionTextValues

This class represents the texts values to use when copying a question

« More »

CopyQuestionValues

Class CopyQuestionValues

This class owns the values to copy a question

« More »

FormElement

« More »

GeneralOption

Wrapper class for question general option.

« More »

SimpleSurveyValues

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)

« More »

SwitchOption

« More »

ThemeFileCategory

Class ThemeFileCategory

This class represents a theme file category (eg. Global files, Theme files, Survey files)

« More »

ThemeFileInfo

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

  • related to a global theme option and hence the file be located on the generalfiles directory.
  • related to a survey theme option and hence the file be located relative to a survey upload directory.
  • related to a theme and hence the file be located on the theme directory (eg. when uploaded from theme editor)
« More »

Classes, interfaces and traits

FormExtensionService

« More »

FormExtensionWidget

« More »

SaveFailedException

Throw this exception from an input save-function when you want to show an alert.

« More »

Classes, interfaces and traits

InputInterface

« More »

BaseInput

« More »

ButtonSwitchInput

« More »

CheckboxInput

Basic checkbox input.

« More »

DefaultBaseRenderer

« More »

RawHtmlInput

« More »

TextInput

Basic text input. No customized behaviour compared to base class.

« More »

Classes, interfaces and traits

ExtensionInstaller

Base class for different extension installers.

All extension have this in common:

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

ExtensionUpdater

« More »

ExtensionUpdaterServiceLocator

« More »

FileFetcher

Fetch files for the ExtensionInstaller to install.

Fetching files can happen in different ways:

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

FileFetcherUploadZip

Extension file fetcher for upload ZIP file.

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

« More »

GitVersionFetcher

« More »

PluginInstaller

Base class for different extension installers.

All extension have this in common:

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

PluginUpdater

« More »

QuestionThemeInstaller

Base class for different extension installers.

All extension have this in common:

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

RESTVersionFetcher

« More »

ThemeUpdater

« More »

VersionFetcher

« More »

VersionFetcherServiceLocator

Central Yii component to add and retrieve version fetcher strategies.

« More »

Classes, interfaces and traits

MenuButtonInterface

Interface descriptions here: https://manual.limesurvey.org/Extra_menus_event

« More »

MenuInterface

Interface descriptions here: https://manual.limesurvey.org/Extra_menus_event

« More »

MenuItemInterface

Interface descriptions here: https://manual.limesurvey.org/Extra_menus_event

« More »

MenuButton

« More »

MenuItem

« More »

Classes, interfaces and traits

iPlugin

« More »

iPluginStorage

« More »

AuthPluginBase

Base class for plugins.

« More »

DbStorage

« More »

DummyStorage

« More »

LimesurveyApi

Class exposing a Limesurvey API to plugins.

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

« More »

PluginBase

Base class for plugins.

« More »

PluginEvent

« More »

PluginEventContent

« More »

PluginManager

Factory for limesurvey plugin objects.

« More »

PluginManagerShutdownFunction

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

« More »

Classes, interfaces and traits

CPDBException

Used to spit out error messages if mapping attributes doesn't work.

« More »

Classes, interfaces and traits

CopyQuestion

Class CopyQuestion

This class is responsible for the copy question process.

« More »

CopySurveyResources

This class is responsible for copying a survey's resources.

Class CopySurveyResources

« More »

CoreQuestionAttributeProvider

Provides question attribute definitions from question types

« More »

CreateSurvey

This class is responsible for creating a new survey.

Class CreateSurvey

« More »

FilterImportedResources

« More »

IpAddressAnonymizer

This class offers a function to anonymize ip addresses.

Class IpAddressAnonymizer

« More »

ParticipantBlacklistHandler

« More »

PasswordManagement

This class contains all functions for the process of password reset and creating new administration users and sending email to those with a link to set the password.

All this functions were implemented in UserManagementController before.

« More »

PluginQuestionAttributeProvider

Provides question attribute definitions from plugins

« More »

QuestionAttributeFetcher

Fetches question attribute definitions from the available providers

« More »

QuestionAttributeHelper

« More »

QuestionAttributeProvider

Base class for question attribute definition providers

« More »

QuickTranslation

This class is responsible for quick translation and all DB actions needed.

« More »

SurveyIntegrity

Service class to fix integrity on a single survey

« More »

SurveyPermissions

This class is responsible for the relationship between permissions, users and surveys.

It could be handled as a specific permissions system for surveys.

« More »

SurveysGroupCreator

Service class for survey group creation.

All dependencies are injected to enable mocking.

« More »

ThemeQuestionAttributeProvider

Provides question attribute definitions from question themes

« More »

UploadValidator

« More »

Classes, interfaces and traits

questionHelper

General helper class for question + question setting system

« More »

questionIndexHelper

« More »

Classes, interfaces and traits

DatabaseUpdateBase

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_133

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_134

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_135

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_136

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_137

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_138

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_139

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_140

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_141

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_142

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_143

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_145

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_146

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_147

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_148

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_149

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_150

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_151

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_152

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_153

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_154

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_155

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_156

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_157

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_158

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_159

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_160

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_161

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_162

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_164

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_165

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_166

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_167

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_168

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_169

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_170

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_171

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_172

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_173

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_174

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_175

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_176

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_177

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_178

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_179

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_180

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_181

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_183

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_184

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_250

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_251

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_252

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_253

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_254

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_255

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_256

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_257

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_258

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_259

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_260

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_261

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_262

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_263

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_290

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_291

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_293

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_294

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_296

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_298

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_304

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_305

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_306

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_307

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_308

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_309

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_310

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_311

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_312

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_313

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_314

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_315

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_316

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_317

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_318

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_319

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_320

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_321

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_322

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_323

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_324

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_325

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_326

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_327

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_328

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_329

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_330

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_331

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_332

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_333

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_334

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_335

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_336

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_337

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_338

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_339

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_340

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_341

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_342

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_343

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_344

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_345

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_346

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_347

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_348

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_349

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_350

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_351

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_352

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_353

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_354

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_355

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_356

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_357

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_358

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_359

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_360

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_363

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_364

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_400

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_401

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_402

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_403

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_404

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_405

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_406

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_407

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_408

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_409

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_410

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_411

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_412

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_413

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_414

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_415

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_416

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_417

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_418

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_419

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_420

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_421

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_422

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_423

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_424

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_425

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_426

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_427

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_428

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_429

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_430

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_431

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_432

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_433

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_434

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_435

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_436

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_437

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_438

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_439

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_440

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_441

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_442

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_443

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_444

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_445

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_446

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_447

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_448

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_449

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_450

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_451

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_452

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_453

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_460

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_470

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_471

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_472

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_473

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_475

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_476

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_477

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_478

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_479

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_480

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_481

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_482

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_483

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_484

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_485

Add missing noTablesOnMobile.css to vanilla configs again. It was done on 428, but the bug on LsDefaultDataSets remained causing problems on new installations.

See more info in README file in same folder.

« More »

Update_486

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_487

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_488

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_489

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_490

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_491

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_492

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_493

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_494

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Update_495

Base class for database migration, inspired by Yii.

See more info in README file in same folder.

« More »

Functions

setSeed

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

package

Default

Arguments

$surveyid

integer

« More »

shuffle

Shuffle an array using MersenneTwister Argument NOT called by reference!

package

Default

Arguments

$arr

array

Response

array

« More »

Classes, interfaces and traits

MersenneTwister

Custom random algorithm to get consistent behaviour between PHP versions.

« More »

Classes, interfaces and traits

AjaxHelper

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

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

« More »

JsonOutput

Base class for json output

« More »

JsonOutputError

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

« More »

JsonOutputHtml

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

« More »

JsonOutputModal

Base class for json output

« More »

JsonOutputNoPermission

Permission set to false

« More »

JsonOutputNotLoggedIn

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

« More »

JsonOutputSuccess

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

« More »

Classes, interfaces and traits

StaticFunctions

« More »

Classes, interfaces and traits

EMFunctions

« More »

Classes, interfaces and traits

countFunctions

« More »

questionCodeHelper

« More »

Classes, interfaces and traits

AnswerOptionsFunctions

« More »

Classes, interfaces and traits

TwoFactorAuth

« More »

TwoFactorAuthException

« More »

Classes, interfaces and traits

IQRCodeProvider

« More »

BaseHTTPQRCodeProvider

« More »

GoogleQRCodeProvider

« More »

QRicketProvider

« More »

QRServerProvider

« More »

Classes, interfaces and traits

IRNGProvider

« More »

CSRNGProvider

« More »

HashRNGProvider

« More »

MCryptRNGProvider

« More »

OpenSSLRNGProvider

« More »

Classes, interfaces and traits

ITimeProvider

« More »

HttpTimeProvider

Takes the time from any webserver by doing a HEAD request on the specified URL and extracting the 'Date:' header

« More »

LocalMachineTimeProvider

« More »

NTPTimeProvider

Takes the time from any NTP server

« More »

Classes, interfaces and traits

CUCMenuClass

« More »