Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F449432
PhabricatorCalendarImportDisableTransaction.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
PhabricatorCalendarImportDisableTransaction.php
View Options
<?php
final
class
PhabricatorCalendarImportDisableTransaction
extends
PhabricatorCalendarImportTransactionType
{
const
TRANSACTIONTYPE
=
'calendar.import.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 import.'
,
$this
->
renderAuthor
());
}
else
{
return
pht
(
'%s enabled this import.'
,
$this
->
renderAuthor
());
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 7:23 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
67448
Default Alt Text
PhabricatorCalendarImportDisableTransaction.php (628 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment