Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91904436
ConpherenceThreadMailReceiver.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
Fri, Nov 15, 15:04
Size
652 B
Mime Type
text/x-php
Expires
Sun, Nov 17, 15:04 (2 d)
Engine
blob
Format
Raw Data
Handle
22344571
Attached To
rPH Phabricator
ConpherenceThreadMailReceiver.php
View Options
<?php
final
class
ConpherenceThreadMailReceiver
extends
PhabricatorObjectMailReceiver
{
public
function
isEnabled
()
{
$app_class
=
'PhabricatorConpherenceApplication'
;
return
PhabricatorApplication
::
isClassInstalled
(
$app_class
);
}
protected
function
getObjectPattern
()
{
return
'Z[1-9]
\d
*'
;
}
protected
function
loadObject
(
$pattern
,
PhabricatorUser
$viewer
)
{
$id
=
(
int
)
trim
(
$pattern
,
'Z'
);
return
id
(
new
ConpherenceThreadQuery
())
->
setViewer
(
$viewer
)
->
withIDs
(
array
(
$id
))
->
executeOne
();
}
protected
function
getTransactionReplyHandler
()
{
return
new
ConpherenceReplyHandler
();
}
}
Event Timeline
Log In to Comment