modules/survey/controllers/IndexController.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Survey_IndexController

Package: Survey
Survey_IndexController
Parent(s)
\Scout_Controller
Access
public  
Author
Alexander  
Copyright
2011  
Version
$Id$  

Properties

>VPropertyprivate$cur_lang = ''
Default value''Details
Type
n/a
>VPropertyprivate$db
Details
Type
n/a
>VPropertyprivate$qs
Details
Type
n/a
>VPropertyprivate$questionnaire
Details
Type
n/a
>VPropertyprivate$survey
Details
Type
n/a

Methods

methodpubliccontinueAction() : void

Continue survey if it was stopped

methodpublicexitAction() : void

Only display exit page for user

methodpublicfinAction() : void

Real exit from survey and save all data exit survey

methodpublicfinishAction() : void

Finish survey all done

methodpublicindexAction() : void

Main entry point fro starting survey

methodpublicinit() : void

Init controller

methodpublicisquestAction() : void

Checking if question is present

methodpublicmobilesimulateAction() : void

Start simulation for moblie devices action

methodpublicoverQuota( $src,  $quotaType) : void

Exit from survey if over quota

Parameters
NameTypeDescription
$src
$quotaType
methodpublicsetCurLang( $lang) : void

Internal method for setting current language

Parameters
NameTypeDescription
$lang
methodpublicsetlangAction() : void

Set language of survey action

methodpublicsimulation( $src) : array

This method executing full survey logic. Depend on SRC param it generate and returned array of data for external survey machine (like mobile site or device), or use internal template machine

Parameters
NameTypeDescription
$src
Returns
TypeDescription
array
Throws
ExceptionDescription
\Exception
methodpublicsimulationAction() : void

Start simulation

methodpublicstartAction() : void

Start survey action

Documentation was generated by phpDocumentor 2.8.5.