modules/api/controllers/MobileController.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Api_MobileController

Package: api
Api_MobileController
Parent(s)
\Zend_Controller_Action
Access
public  
Author
Evgeniy  
Version
$Id$  

Properties

>VPropertyprivateinteger $defaultRedirectTimeout = 20000
Redirect timeout
Default value20000Details
Type
integer

Methods

methodprivate__(string $text) : string

Translate short method

Parameters
NameTypeDescription
$textstring
Returns
TypeDescription
string
methodpublicbackAction() : void

Back button click

methodpubliccontinueAction() : void

This Action requested when respondent back to survey after Exit from the middle.

This is first point for API and we need to create and pass "skin" to mobile device and current question for show.

methodpublicerrorAction() : void

Error action

methodpublicexitAction() : void

Exit button click

methodpublicexitoutAction() : void

Point of return from standart survey engine after handling Exit command

methodpublicfinishAction() : void

Finish survey action

methodpublicgettextAction() : void

Get errors text

methodpublicinit() : void

Init controller

methodpublicnextAction() : void

Next button click action

methodpublicoutAction() : void

This is only one action where something normal printed out! All other actions must redirect here with array $data as parameter!

methodpublicoverquotaAction() : void

Over quota action

methodpublicquestionAction() : void

Point of return from standart survey engine after handling Next/Prev command, or first question command Prepare data for show question to mobile site

methodpublicsetlangAction() : void

Set survey language action

methodpublicstartAction() : \json

Start surevey action

Returns
TypeDescription
\jsonsurvey data
methodpublicsurveyAction() : void

This action - ask first question of survey.

In this moment all preliminary procedures has completed, skin configurated, language selected. This is request "I want to start ask/answer give me question"

Documentation was generated by phpDocumentor 2.8.5.