Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F568186
PhabricatorPhurlURLTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorPhurlURLTransaction.php
View Options
<?php
final
class
PhabricatorPhurlURLTransaction
extends
PhabricatorModularTransaction
{
const
MAILTAG_DETAILS
=
'phurl-details'
;
public
function
getApplicationName
()
{
return
'phurl'
;
}
public
function
getApplicationTransactionType
()
{
return
PhabricatorPhurlURLPHIDType
::
TYPECONST
;
}
public
function
getApplicationTransactionCommentObject
()
{
return
new
PhabricatorPhurlURLTransactionComment
();
}
public
function
getBaseTransactionClass
()
{
return
'PhabricatorPhurlURLTransactionType'
;
}
public
function
getRequiredHandlePHIDs
()
{
$phids
=
parent
::
getRequiredHandlePHIDs
();
switch
(
$this
->
getTransactionType
())
{
case
PhabricatorPhurlURLNameTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorPhurlURLLongURLTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorPhurlURLAliasTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorPhurlURLDescriptionTransaction
::
TRANSACTIONTYPE
:
$phids
[]
=
$this
->
getObjectPHID
();
break
;
}
return
$phids
;
}
public
function
getMailTags
()
{
$tags
=
array
();
switch
(
$this
->
getTransactionType
())
{
case
PhabricatorPhurlURLNameTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorPhurlURLLongURLTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorPhurlURLAliasTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorPhurlURLDescriptionTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_DETAILS
;
break
;
}
return
$tags
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 1:17 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
113170
Default Alt Text
PhabricatorPhurlURLTransaction.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment