modules/supervision/models/Supervision.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Supervision_Model_Supervision

Package: Supervision\Models
Supervision_Model_Supervision
Access
public  
Author
Evgeniy  
Version
$Id$  

Properties

>VPropertyprivate$db
db instance
Details
Type
n/a
>VPropertyprivatearray $listIds = array()
list ads
Default valuearray()Details
Type
array
>VPropertyprivatestring $projDbName
prject db name
Details
Type
string
>VPropertyprivateinteger $projId = 0
current project id
Default value0Details
Type
integer
>VPropertyprivateinteger $user
current user
Details
Type
integer

Methods

methodpublic__construct(string $projId = "") : void

Contructor

Parameters
NameTypeDescription
$projIdstring
methodpubliccreateArrayForProjectListByInterviewers(string $filter = "", string $oDate = "", string $oDateEnd = "", string $name = "") : array

Get projects lists by interviewers

Parameters
NameTypeDescription
$filterstring
$oDatestring
$oDateEndstring
$namestring
Returns
TypeDescription
array
methodpubliccreateSelectForProjectList(string $filter = "", string $sqlDateStart = "", string $sqlDateEnd = "", string $type = "all", boolean $allocatedOnly = true) : object

List project filtered by params

Parameters
NameTypeDescription
$filterstring
$sqlDateStartstring
$sqlDateEndstring
$typestring
$allocatedOnlyboolean
Returns
TypeDescription
object
methodpublicgetQuotasReport(array $qdata, integer $dataSource, array $inFields, integer $qsId) : array

Get data dro disaply in qutas report

Parameters
NameTypeDescription
$qdataarray
$dataSourceinteger
$inFieldsarray
$qsIdinteger
Returns
TypeDescription
array
methodpublicgetReportingAdditionalData(array $items, array $columnsSpecific) : array

Get addition data for diplay in reporting

Parameters
NameTypeDescription
$itemsarray
$columnsSpecificarray
Returns
TypeDescription
array
methodpublicsetListIds(array $ids = array()) : void

Set property list ids

Parameters
NameTypeDescription
$idsarray
Documentation was generated by phpDocumentor 2.8.5.