modules/project/models/PQuestion.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_PQuestion

Package: Project\Models
Project_Model_PQuestion
Author
Evgeniy  

Properties

>VPropertyprivate$_db
db instance
Details
Type
n/a
>VPropertyprivatestring $_main_schema = "mydomains_scout"
Main scout db name
Default value"mydomains_scout"Details
Type
string
>VPropertyprivateinteger $_proj_id
project id
Details
Type
integer
>VPropertyprivateinteger $_qs_id
questionnaire id
Details
Type
integer
>VPropertyprivatestring $_schema
db name
Details
Type
string
>VPropertyprivatestring $_tblActions
Project table actions
Details
Type
string
>VPropertyprivatestring $_tblAnswers
project table answers
Details
Type
string

Methods

methodpublic__construct(integer $proj_id, integer $qs_id) : void

Constructor

Parameters
NameTypeDescription
$proj_idinteger
$qs_idinteger
methodpublicnormalizeAnswers() : void

When project has many questionnaires I need to translate all questions ID to id of main questionnaire.

Documentation was generated by phpDocumentor 2.8.5.