Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101388324
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
Sun, Feb 9, 23:31
Size
528 B
Mime Type
text/x-php
Expires
Tue, Feb 11, 23:31 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24149937
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 mainipulate (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