Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106903283
AlmanacDeviceEditor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Apr 2, 07:58
Size
686 B
Mime Type
text/x-php
Expires
Fri, Apr 4, 07:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25301955
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment