Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F449427
PhabricatorCalendarExportDisableTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
628 B
Referenced Files
None
Subscribers
None
PhabricatorCalendarExportDisableTransaction.php
View Options
<?php
final
class
PhabricatorCalendarExportDisableTransaction
extends
PhabricatorCalendarExportTransactionType
{
const
TRANSACTIONTYPE
=
'calendar.export.disable'
;
public
function
generateOldValue
(
$object
)
{
return
(
int
)
$object
->
getIsDisabled
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setIsDisabled
((
int
)
$value
);
}
public
function
getTitle
()
{
if
(
$this
->
getNewValue
())
{
return
pht
(
'%s disabled this export.'
,
$this
->
renderAuthor
());
}
else
{
return
pht
(
'%s enabled this export.'
,
$this
->
renderAuthor
());
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 7:23 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
66808
Default Alt Text
PhabricatorCalendarExportDisableTransaction.php (628 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment