Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F574016
AlmanacDeviceEditor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
AlmanacDeviceEditor.php
View Options
<?php
final
class
AlmanacDeviceEditor
extends
AlmanacEditor
{
public
function
getEditorObjectsDescription
()
{
return
pht
(
'Almanac Device'
);
}
public
function
getCreateObjectTitle
(
$author
,
$object
)
{
return
pht
(
'%s created this device.'
,
$author
);
}
public
function
getCreateObjectTitleForFeed
(
$author
,
$object
)
{
return
pht
(
'%s created %s.'
,
$author
,
$object
);
}
protected
function
supportsSearch
()
{
return
true
;
}
public
function
getTransactionTypes
()
{
$types
=
parent
::
getTransactionTypes
();
$types
[]
=
PhabricatorTransactions
::
TYPE_VIEW_POLICY
;
$types
[]
=
PhabricatorTransactions
::
TYPE_EDIT_POLICY
;
return
$types
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 6:16 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
125242
Default Alt Text
AlmanacDeviceEditor.php (686 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment