Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F568349
ManiphestTaskEditEngineLock.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
ManiphestTaskEditEngineLock.php
View Options
<?php
final
class
ManiphestTaskEditEngineLock
extends
PhabricatorEditEngineLock
{
public
function
willPromptUserForLockOverrideWithDialog
(
AphrontDialogView
$dialog
)
{
return
$dialog
->
setTitle
(
pht
(
'Edit Locked Task'
))
->
appendParagraph
(
pht
(
'This task is locked. Edit it anyway?'
))
->
addSubmitButton
(
pht
(
'Override Task Lock'
));
}
public
function
willBlockUserInteractionWithDialog
(
AphrontDialogView
$dialog
)
{
return
$dialog
->
setTitle
(
pht
(
'Task Locked'
))
->
appendParagraph
(
pht
(
'You can not interact with this task because it is locked.'
));
}
public
function
getLockedObjectDisplayText
()
{
return
pht
(
'This task has been locked.'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 1:23 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
99516
Default Alt Text
ManiphestTaskEditEngineLock.php (717 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment