Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93063292
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, Nov 25, 22:21
Size
685 B
Mime Type
text/x-php
Expires
Wed, Nov 27, 22:21 (2 d)
Engine
blob
Format
Raw Data
Handle
22565589
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