Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120556453
PhabricatorMailEngineExtension.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
Sat, Jul 5, 05:13
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Jul 7, 05:13 (2 d)
Engine
blob
Format
Raw Data
Handle
27206079
Attached To
rPH Phabricator
PhabricatorMailEngineExtension.php
View Options
<?php
abstract
class
PhabricatorMailEngineExtension
extends
Phobject
{
private
$viewer
;
private
$editor
;
final
public
function
getExtensionKey
()
{
return
$this
->
getPhobjectClassConstant
(
'EXTENSIONKEY'
);
}
final
public
function
setViewer
(
$viewer
)
{
$this
->
viewer
=
$viewer
;
return
$this
;
}
final
public
function
getViewer
()
{
return
$this
->
viewer
;
}
final
public
function
setEditor
(
PhabricatorApplicationTransactionEditor
$editor
)
{
$this
->
editor
=
$editor
;
return
$this
;
}
final
public
function
getEditor
()
{
return
$this
->
editor
;
}
abstract
public
function
supportsObject
(
$object
);
abstract
public
function
newMailStampTemplates
(
$object
);
abstract
public
function
newMailStamps
(
$object
,
array
$xactions
);
final
public
static
function
getAllExtensions
()
{
return
id
(
new
PhutilClassMapQuery
())
->
setAncestorClass
(
__CLASS__
)
->
setUniqueMethod
(
'getExtensionKey'
)
->
execute
();
}
final
protected
function
getMailStamp
(
$key
)
{
return
$this
->
getEditor
()->
getMailStamp
(
$key
);
}
}
Event Timeline
Log In to Comment