modules/api/models/Mobile.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Api_Model_Mobile

Package: api\Models
Api_Model_Mobile
Access
public  
Author
Evgeniy  
Version
$Id$  

Constants

>VConstant  BadRequest = 400
Bad request status code
>VConstant  Success = 200
Success request status code

Methods

methodpublicgetButtons(string $langs) : array

Get all buttons data

Parameters
NameTypeDescription
$langsstring
Returns
TypeDescription
array
methodpublicgetExit(\QuestionModel $quest) : void

Exit methos

Parameters
NameTypeDescription
$quest\QuestionModel
methodpublicgetQuestion(\QuestionModel $oQuestion, boolean $isChild = false) : array

Get question

Parameters
NameTypeDescription
$oQuestion\QuestionModel
$isChildboolean
Returns
TypeDescription
array
methodpublicgetQuestionOrPage(\QuestionModel $oQuestion) : array

Get question or page

Parameters
NameTypeDescription
$oQuestion\QuestionModel
Returns
TypeDescription
array
methodpublicgetSkin( $quest) : array

Get information about Skin parameters for mobile survey

Parameters
NameTypeDescription
$quest
Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.8.5.