Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F115659036
ConpherenceParticipant.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jun 2, 09:08
Size
685 B
Mime Type
text/x-php
Expires
Wed, Jun 4, 09:08 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26536171
Attached To
rPH Phabricator
ConpherenceParticipant.php
View Options
<?php
/**
* @group conpherence
*/
final
class
ConpherenceParticipant
extends
ConpherenceDAO
{
protected
$participantPHID
;
protected
$conpherencePHID
;
protected
$participationStatus
;
protected
$behindTransactionPHID
;
protected
$dateTouched
;
public
function
markUpToDate
(
ConpherenceTransaction
$xaction
)
{
if
(!
$this
->
isUpToDate
())
{
$this
->
setParticipationStatus
(
ConpherenceParticipationStatus
::
UP_TO_DATE
);
$this
->
setBehindTransactionPHID
(
$xaction
->
getPHID
());
$this
->
save
();
}
return
$this
;
}
public
function
isUpToDate
()
{
return
$this
->
getParticipationStatus
()
==
ConpherenceParticipationStatus
::
UP_TO_DATE
;
}
}
Event Timeline
Log In to Comment