Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F491459
PhamePostEditEngineLock.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
747 B
Referenced Files
None
Subscribers
None
PhamePostEditEngineLock.php
View Options
<?php
final
class
PhamePostEditEngineLock
extends
PhabricatorEditEngineLock
{
public
function
willPromptUserForLockOverrideWithDialog
(
AphrontDialogView
$dialog
)
{
return
$dialog
->
setTitle
(
pht
(
'Edit Locked Post'
))
->
appendParagraph
(
pht
(
'Comments are disabled for this post. Edit it anyway?'
))
->
addSubmitButton
(
pht
(
'Edit Post'
));
}
public
function
willBlockUserInteractionWithDialog
(
AphrontDialogView
$dialog
)
{
return
$dialog
->
setTitle
(
pht
(
'Post Locked'
))
->
appendParagraph
(
pht
(
'You can not interact with this post because it is locked.'
));
}
public
function
getLockedObjectDisplayText
()
{
return
pht
(
'Comments have been disabled for this post.'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, May 7, 9:32 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
92966
Default Alt Text
PhamePostEditEngineLock.php (747 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment