Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108052831
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, Apr 13, 16:38
Size
479 B
Mime Type
text/x-php
Expires
Tue, Apr 15, 16:38 (2 d)
Engine
blob
Format
Raw Data
Handle
25529165
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