Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72748527
PhabricatorCoreCreateTransaction.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, Jul 16, 20:54
Size
704 B
Mime Type
text/x-php
Expires
Thu, Jul 18, 20:54 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19098070
Attached To
rPH Phabricator
PhabricatorCoreCreateTransaction.php
View Options
<?php
final
class
PhabricatorCoreCreateTransaction
extends
PhabricatorCoreTransactionType
{
const
TRANSACTIONTYPE
=
'core:create'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
getTitle
()
{
$editor
=
$this
->
getObject
()->
getApplicationTransactionEditor
();
$author
=
$this
->
renderAuthor
();
$object
=
$this
->
renderObject
();
return
$editor
->
getCreateObjectTitle
(
$author
,
$object
);
}
public
function
getTitleForFeed
()
{
$editor
=
$this
->
getObject
()->
getApplicationTransactionEditor
();
$author
=
$this
->
renderAuthor
();
$object
=
$this
->
renderObject
();
return
$editor
->
getCreateObjectTitleForFeed
(
$author
,
$object
);
}
}
Event Timeline
Log In to Comment