Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92121391
PhameBlogReplyHandler.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, Nov 17, 13:24
Size
479 B
Mime Type
text/x-php
Expires
Tue, Nov 19, 13:24 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
22377469
Attached To
rPH Phabricator
PhameBlogReplyHandler.php
View Options
<?php
final
class
PhameBlogReplyHandler
extends
PhabricatorApplicationTransactionReplyHandler
{
public
function
validateMailReceiver
(
$mail_receiver
)
{
if
(!(
$mail_receiver
instanceof
PhameBlog
))
{
throw
new
Exception
(
pht
(
'Mail receiver is not a %s.'
,
'PhameBlog'
));
}
}
public
function
getObjectPrefix
()
{
return
PhabricatorPhameBlogPHIDType
::
TYPECONST
;
}
protected
function
shouldCreateCommentFromMailBody
()
{
return
false
;
}
}
Event Timeline
Log In to Comment