Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96179988
PHUIDiffInlineCommentTableScaffold.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
Mon, Dec 23, 12:41
Size
527 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 12:41 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23132205
Attached To
rPH Phabricator
PHUIDiffInlineCommentTableScaffold.php
View Options
<?php
/**
* Wraps an inline comment row scaffold in a table.
*
* This scaffold is used to ship inlines over the wire to the client, so they
* arrive in a form that's easy to manipulate (a valid table node).
*/
final
class
PHUIDiffInlineCommentTableScaffold
extends
AphrontView
{
private
$rows
=
array
();
public
function
addRowScaffold
(
PHUIDiffInlineCommentRowScaffold
$row
)
{
$this
->
rows
[]
=
$row
;
return
$this
;
}
public
function
render
()
{
return
phutil_tag
(
'table'
,
array
(),
$this
->
rows
);
}
}
Event Timeline
Log In to Comment