Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97229186
PonderEditor.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, Jan 3, 15:21
Size
786 B
Mime Type
text/x-php
Expires
Sun, Jan 5, 15:21 (2 d)
Engine
blob
Format
Raw Data
Handle
23359661
Attached To
rPH Phabricator
PonderEditor.php
View Options
<?php
abstract
class
PonderEditor
extends
PhabricatorApplicationTransactionEditor
{
protected
function
shouldPublishFeedStory
(
PhabricatorLiskDAO
$object
,
array
$xactions
)
{
return
true
;
}
protected
function
buildMailTemplate
(
PhabricatorLiskDAO
$object
)
{
$id
=
$object
->
getID
();
$title
=
$object
->
getTitle
();
$original_title
=
$object
->
getOriginalTitle
();
return
id
(
new
PhabricatorMetaMTAMail
())
->
setSubject
(
"Q{$id}: {$title}"
)
->
addHeader
(
'Thread-Topic'
,
"Q{$id}: {$original_title}"
);
}
protected
function
getMailTo
(
PhabricatorLiskDAO
$object
)
{
return
array
(
$object
->
getAuthorPHID
(),
$this
->
requireActor
()->
getPHID
(),
);
}
protected
function
getMailSubjectPrefix
()
{
return
'[Ponder]'
;
}
}
Event Timeline
Log In to Comment