modules/project/models/ExprtStatuses.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_ExprtStatuses

Package: Project\Models
Project_Model_ExprtStatuses
Parent(s)
\Scout_Model
Author
Evgeniy  

Properties

>VPropertyprivate$db
Details
Type
n/a
>VPropertyprivate$exportLang = ''
Default value''Details
Type
n/a
>VPropertyprivate$filePath
Details
Type
n/a
>VPropertyprivate$mainDbName
Details
Type
n/a
>VPropertyprivate$projectDbName
Details
Type
n/a

Methods

methodpublic__construct() : void

Throws
ExceptionDescription
\Zend_Exception
methodprivatesaveProjectStatusesCati( $oProject, integer $exportType = 1) : string

Save projects statuses for CATICproject type

Parameters
NameTypeDescription
$oProject
$exportTypeinteger
Returns
TypeDescription
string
Throws
ExceptionDescription
\Exception
methodprivatesaveProjectStatusesWapi( $oProject,  $exportType) : string

Save project statuses fow WAPI projects type

Parameters
NameTypeDescription
$oProject
$exportType
Returns
TypeDescription
string
Throws
ExceptionDescription
\Exception
methodpublicsaveStatuses(array $aProjects, integer $statusType, integer $exportType,  $lang) : array

Create XLS file with survey statuses export data.

Parameters
NameTypeDescription
$aProjectsarray
  • array of projects for export
$statusTypeinteger
  • types for export (CATI, WAPI, Both)
$exportTypeinteger
  • status export variant, enum { 1: History, 2: Last}
$lang
Returns
TypeDescription
array
methodprivatesaveSurveyStatusesCati( $sheet,  $rowNumber,  $data) : mixed

Save survery statuses cati from xls

Parameters
NameTypeDescription
$sheet
$rowNumber
$data
Returns
TypeDescription
mixed
methodprivatesaveSurveyStatusesWapi(\PHPExcel_Worksheet $sheet, integer $rowNumber,  $data) : integer

Save survery statuses from xls

Parameters
NameTypeDescription
$sheet\PHPExcel_Worksheet
$rowNumberinteger
$data
Returns
TypeDescription
integer
Documentation was generated by phpDocumentor 2.8.5.