register
package | LimeSurvey |
---|---|
copyright | 2011 |
access | public |
__construct(string $id,\CWebModule $module = null)
access | public |
---|---|
string
\CWebModule
_checkInstallation(): void
access | protected |
---|---|
actionAJAXRegisterForm( $surveyid)
actionIndex( $sid = null):
Survey Id to register
actions()
createAbsoluteUrl(string $route,array $params = array(),string $schema = '',string $ampersand = '&'): string
string
the URL route. This should be in the format of 'ControllerID/ActionID'.
array
additional GET parameters (name=>value). Both the name and value will be URL-encoded.
string
schema to use (e.g. http, https). If empty, the schema used for the current request will be used.
string
the token separating name-value pairs in the URL.
string
the constructed URL
customInit()
display( $iSurveyId, $iTokenId,string $registerContent)
string
getExtraAttributeInfo( $iSurveyId): array
array
getFieldValue( $iSurveyId): array
array
: if email is set to sent (before SMTP problem)
getRegisterErrors( $iSurveyId): array
Survey Id to register
array
of errors when try to register (empty array => no error)
getRegisterForm(Integer $iSurveyId): array
Integer
The surey id
array
The rendereable array
getRegisterSuccess(Integer $iSurveyId,Integer $iTokenId): array
Integer
The survey id
Integer
The token id
array
The rendereable array
getStartDate(integer $iSurveyId): null|string
integer
null|string
date
getTokenId( $iSurveyId): integer
integer
: the token id created
loadHelper(string $helper): void
access | public |
---|
string
loadLibrary(string $library): void
access | public |
---|
string
loadPageStates(): array
array
the loaded page states
sendRegistrationEmail( $iSurveyId, $iTokenId): boolean
Survey Id to register
boolean
: if email is set to sent (before SMTP problem)
layout :
sTemplate :
aReplacementData :
aGlobalData :
aRegisterErrors :
sMessage :
sMailMessage :
navData :array
var |
---|
array