modules/project/models/Table/Log.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_Table_Log

Package: Project\ModelsTable
Created by PhpStorm.

User: Evgeniy Date: 27.03.14 Time: 20:19

Parent(s)
\Scout_Db_Table

Properties

>VPropertyprivateinteger $projectId = 0
Project id
Default value0Details
Type
integer

Methods

methodpublicgetPrevStatus( $phoneId,  $statusId = null) : array

Get previos status for phone. If status RETURNED_* then get returned status Used for calculate call count on LOOP

Parameters
NameTypeDescription
$phoneId
$statusId
Returns
TypeDescription
array
methodpublicinit() : void

Init model

methodpublicinsertLog(integer $interviewerId, integer $phoneId, integer $status) : void

Add and save new log

Parameters
NameTypeDescription
$interviewerIdinteger
$phoneIdinteger
$statusinteger
methodpublicsetProjectId( $projectId) : void

set project id for logginf

Parameters
NameTypeDescription
$projectId
Documentation was generated by phpDocumentor 2.8.5.