Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99187897
AlmanacNetworkEditor.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, Jan 22, 04:20
Size
689 B
Mime Type
text/x-php
Expires
Fri, Jan 24, 04:20 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23727353
Attached To
rPH Phabricator
AlmanacNetworkEditor.php
View Options
<?php
final
class
AlmanacNetworkEditor
extends
AlmanacEditor
{
public
function
getEditorObjectsDescription
()
{
return
pht
(
'Almanac Network'
);
}
public
function
getCreateObjectTitle
(
$author
,
$object
)
{
return
pht
(
'%s created this network.'
,
$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