Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112010784
PhabricatorSpacesNamespaceEditor.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
Tue, May 6, 19:17
Size
761 B
Mime Type
text/x-php
Expires
Thu, May 8, 19:17 (2 d)
Engine
blob
Format
Raw Data
Handle
26012386
Attached To
rPH Phabricator
PhabricatorSpacesNamespaceEditor.php
View Options
<?php
final
class
PhabricatorSpacesNamespaceEditor
extends
PhabricatorApplicationTransactionEditor
{
public
function
getEditorApplicationClass
()
{
return
pht
(
'PhabricatorSpacesApplication'
);
}
public
function
getEditorObjectsDescription
()
{
return
pht
(
'Spaces'
);
}
public
function
getTransactionTypes
()
{
$types
=
parent
::
getTransactionTypes
();
$types
[]
=
PhabricatorTransactions
::
TYPE_VIEW_POLICY
;
$types
[]
=
PhabricatorTransactions
::
TYPE_EDIT_POLICY
;
return
$types
;
}
public
function
getCreateObjectTitle
(
$author
,
$object
)
{
return
pht
(
'%s created this space.'
,
$author
);
}
public
function
getCreateObjectTitleForFeed
(
$author
,
$object
)
{
return
pht
(
'%s created space %s.'
,
$author
,
$object
);
}
}
Event Timeline
Log In to Comment