modules/survey/controllers/InterviewerController.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Survey_InterviewerController

Package: Survey
Class Survey_InterviewerController Main Controller for Interviewer This is third step Step 1: Login to system Step 2: Choose the project
Parent(s)
\Scout_Controller

Properties

>VPropertyprivate$db
Details
Type
n/a
>VPropertyprivate$meId
Details
Type
n/a
>VPropertyprivate$projId
Details
Type
n/a
>VPropertyprivate$project
Details
Type
n/a
>VPropertyprotected$user
Details
Type
n/a

Methods

methodpublicassignAction() : void

Assign project to interviewer page.

If interviwer assing to more than one project - chow this page. Secod step after login

methodpubliccallPhoneAction() : void

Call phone - info system that need call to this phone. And log this action.

methodpubliccheckAllowNextRespondentAction() : \Json

Check if complete status exist for repondent

Returns
TypeDescription
\Json
methodpubliccheckCompletePhoneAction() : \Json

Check if complete for phone action

Returns
TypeDescription
\Json
methodpublicdeleteCommentAction() : void

Delete comment for respondent param: int commId - ID comment

methodpublicforceCompleteAction() : void

Intermission in the middle of phone process Same as logout. Need just because logout is imposible and need to set right statuses

methodpublicgetCommentsAction() : void

Get commments list param: (int)respId

methodpublicgetGeneralInfoAction() : \Json

Get general interviewer info acion

Returns
TypeDescription
\Json
methodpublicgetInteractiveNewsAction() : void

Get data for interviewers new block 4-5 (Quota news)

methodpublicgetMessagesAction() : void

Get messages (Block 5) param: (int)meId

methodpublicgetNextRespondentAction() : void

Get next respondent aciton, fire on press next respondent Data collected with return policy

methodpublicgetPersonalInfoAction() : void

Get personal info (Block 5) param: (int)meId

methodpublicgetQuotasNewsAction() : void

Get quota news (block 4)

methodpublicgetRespondentInfoAction() : void

Get respondent info data - Repondent profile (block 7) and phones list (block 8) param: (int)respId

methodpublicindexAction() : void

Index controlelr for interviewer

methodpublicinit() : void

Init controller

methodpublicsaveCommentAction() : void

Save comment ction param: int respId - ID repondent param: int commId - ID comment param: string text - comment text

methodpublicsetIntermissionAction() : void

Enter/Exit from intermission for operator intemission = 1 Iternmission type isubtype = 1 just break isubtype = 2 set another target intermission = 0 - back to working time

methodpublicsetPhoneStatusAction() : void

Set phone status after call.

Sttaus get by code and additional parameters if need. For meeting status - its date and time neext callback, for status language its laguage code

methodpublicsetRespondentStatusAction() : void

Set status for current responent action

methodpublicswitchProjectAction() : void

Not ajax action for switch project page

methodpublictoSurveyAction() : void

Not ajax action for strat survey. Get params respondent id, phone id. litsfile id

Documentation was generated by phpDocumentor 2.8.5.