Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F570263
PhabricatorAuditInlineComment.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorAuditInlineComment.php
View Options
<?php
final
class
PhabricatorAuditInlineComment
extends
PhabricatorInlineComment
{
protected
function
newStorageObject
()
{
return
new
PhabricatorAuditTransactionComment
();
}
public
function
getControllerURI
()
{
return
urisprintf
(
'/diffusion/inline/edit/%s/'
,
$this
->
getCommitPHID
());
}
public
function
supportsHiding
()
{
return
false
;
}
public
function
isHidden
()
{
return
false
;
}
public
function
getTransactionCommentForSave
()
{
$content_source
=
PhabricatorContentSource
::
newForSource
(
PhabricatorOldWorldContentSource
::
SOURCECONST
);
$this
->
getStorageObject
()
->
setViewPolicy
(
'public'
)
->
setEditPolicy
(
$this
->
getAuthorPHID
())
->
setContentSource
(
$content_source
)
->
setCommentVersion
(
1
);
return
$this
->
getStorageObject
();
}
public
static
function
newFromModernComment
(
PhabricatorAuditTransactionComment
$comment
)
{
$obj
=
new
PhabricatorAuditInlineComment
();
$obj
->
setStorageObject
(
$comment
);
return
$obj
;
}
public
function
setPathID
(
$id
)
{
$this
->
getStorageObject
()->
setPathID
(
$id
);
return
$this
;
}
public
function
getPathID
()
{
return
$this
->
getStorageObject
()->
getPathID
();
}
public
function
setCommitPHID
(
$commit_phid
)
{
$this
->
getStorageObject
()->
setCommitPHID
(
$commit_phid
);
return
$this
;
}
public
function
getCommitPHID
()
{
return
$this
->
getStorageObject
()->
getCommitPHID
();
}
public
function
setChangesetID
(
$id
)
{
return
$this
->
setPathID
(
$id
);
}
public
function
getChangesetID
()
{
return
$this
->
getPathID
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 3:21 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
106995
Default Alt Text
PhabricatorAuditInlineComment.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment