Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93825877
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
Sun, Dec 1, 19:53
Size
685 B
Mime Type
text/x-php
Expires
Tue, Dec 3, 19:53 (2 d)
Engine
blob
Format
Raw Data
Handle
22710919
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