Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93828793
PassphraseCredentialTransactionEditor.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
Sun, Dec 1, 20:26
Size
841 B
Mime Type
text/x-php
Expires
Tue, Dec 3, 20:26 (2 d)
Engine
blob
Format
Raw Data
Handle
22711394
Attached To
rPH Phabricator
PassphraseCredentialTransactionEditor.php
View Options
<?php
final
class
PassphraseCredentialTransactionEditor
extends
PhabricatorApplicationTransactionEditor
{
public
function
getEditorApplicationClass
()
{
return
'PhabricatorPassphraseApplication'
;
}
public
function
getEditorObjectsDescription
()
{
return
pht
(
'Passphrase Credentials'
);
}
public
function
getTransactionTypes
()
{
$types
=
parent
::
getTransactionTypes
();
$types
[]
=
PhabricatorTransactions
::
TYPE_VIEW_POLICY
;
$types
[]
=
PhabricatorTransactions
::
TYPE_EDIT_POLICY
;
return
$types
;
}
public
function
getCreateObjectTitle
(
$author
,
$object
)
{
return
pht
(
'%s created this credential.'
,
$author
);
}
public
function
getCreateObjectTitleForFeed
(
$author
,
$object
)
{
return
pht
(
'%s created %s.'
,
$author
,
$object
);
}
protected
function
supportsSearch
()
{
return
true
;
}
}
Event Timeline
Log In to Comment