Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99299978
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
Thu, Jan 23, 05:55
Size
1 KB
Mime Type
text/x-php
Expires
Sat, Jan 25, 05:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23725889
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