Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2891805
PhabricatorMailEngineExtension.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
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
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 15:46 (3 w, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126145
Default Alt Text
PhabricatorMailEngineExtension.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment