modules/project/models/Exprt.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_Exprt

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

Properties

>VPropertyprivate$db
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

methodprivatesaveProjectStatusesCati(object $oProject, integer $exportType = 1) : \srray

Save project statuses for CATI project types

Parameters
NameTypeDescription
$oProjectobject
$exportTypeinteger
Returns
TypeDescription
\srray
methodprivatesaveProjectStatusesWapi(object $oProject, string $exportType) : array

Save project statuses foe wapi projects

Parameters
NameTypeDescription
$oProjectobject
$exportTypestring
Returns
TypeDescription
array
methodpublicsaveSPSSExport( $exportTypes,  $aProjects,  $bCompleted,  $encoding,  $categoryType,  $lang,  $experToCode) : array

Save spps export to files

Parameters
NameTypeDescription
$exportTypes
$aProjects
$bCompleted
$encoding
$categoryType
$lang
$experToCode
Returns
TypeDescription
array
methodpublicsaveStatuses(array $aProjectIds, integer $statusType, integer $exportType) : \PHPExcel

Create XLS file with survey statuses export data.

Parameters
NameTypeDescription
$aProjectIdsarray
  • array of Id of project for export
$statusTypeinteger
  • types for export (CATI, WAPI, Both)
$exportTypeinteger
  • status export variant, enum { 1: History, 2: Last}
Returns
TypeDescription
\PHPExcel
methodprivatesaveSurveyStatusesCati(array $sheet, integer $rowNumber, array $data) : \[integer

Save survey statuses for Cati to XLS

Parameters
NameTypeDescription
$sheetarray
$rowNumberinteger
$dataarray
Returns
TypeDescription
\[integer
methodprivatesaveSurveyStatusesWapi(array $sheet, integer $rowNumber, array $data) : \[integer

Save survey statuses for wapi to XLS

Parameters
NameTypeDescription
$sheetarray
$rowNumberinteger
$dataarray
Returns
TypeDescription
\[integer
methodpublicsaveTokensExport(object $aProjects, array $bCompleted, string $lang) : array

Save tokens for eporting data

Parameters
NameTypeDescription
$aProjectsobject
$bCompletedarray
$langstring
Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.8.5.