Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F573726
PassphraseCredentialLockTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
806 B
Referenced Files
None
Subscribers
None
PassphraseCredentialLockTransaction.php
View Options
<?php
final
class
PassphraseCredentialLockTransaction
extends
PassphraseCredentialTransactionType
{
const
TRANSACTIONTYPE
=
'passphrase:lock'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getIsLocked
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setIsLocked
((
int
)
$value
);
}
public
function
shouldHide
()
{
$new
=
$this
->
getNewValue
();
if
(
$new
===
null
)
{
return
true
;
}
return
false
;
}
public
function
getTitle
()
{
return
pht
(
'%s locked this credential.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s locked credential %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-lock'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 6:07 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
119632
Default Alt Text
PassphraseCredentialLockTransaction.php (806 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment