Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95881246
NuanceQueueTransaction.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, Dec 20, 06:07
Size
914 B
Mime Type
text/x-php
Expires
Sun, Dec 22, 06:07 (2 d)
Engine
blob
Format
Raw Data
Handle
23067966
Attached To
rPH Phabricator
NuanceQueueTransaction.php
View Options
<?php
final
class
NuanceQueueTransaction
extends
NuanceTransaction
{
const
TYPE_NAME
=
'nuance.queue.name'
;
public
function
getApplicationTransactionType
()
{
return
NuanceQueuePHIDType
::
TYPECONST
;
}
public
function
getApplicationTransactionCommentObject
()
{
return
new
NuanceQueueTransactionComment
();
}
public
function
getTitle
()
{
$old
=
$this
->
getOldValue
();
$new
=
$this
->
getNewValue
();
$type
=
$this
->
getTransactionType
();
$author_phid
=
$this
->
getAuthorPHID
();
switch
(
$type
)
{
case
PhabricatorTransactions
::
TYPE_CREATE
:
return
pht
(
'%s created this queue.'
,
$this
->
renderHandleLink
(
$author_phid
));
case
self
::
TYPE_NAME
:
return
pht
(
'%s renamed this queue from "%s" to "%s".'
,
$this
->
renderHandleLink
(
$author_phid
),
$old
,
$new
);
}
return
parent
::
getTitle
();
}
}
Event Timeline
Log In to Comment