Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99431814
DrydockBlueprintEditor.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
Fri, Jan 24, 12:40
Size
819 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 12:40 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23799489
Attached To
rPH Phabricator
DrydockBlueprintEditor.php
View Options
<?php
final
class
DrydockBlueprintEditor
extends
PhabricatorApplicationTransactionEditor
{
public
function
getEditorApplicationClass
()
{
return
'PhabricatorDrydockApplication'
;
}
public
function
getEditorObjectsDescription
()
{
return
pht
(
'Drydock Blueprints'
);
}
public
function
getCreateObjectTitle
(
$author
,
$object
)
{
return
pht
(
'%s created this blueprint.'
,
$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