Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77863211
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
Fri, Aug 16, 21:08
Size
704 B
Mime Type
text/x-php
Expires
Sun, Aug 18, 21:08 (2 d)
Engine
blob
Format
Raw Data
Handle
19935773
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