Page MenuHomePhorge

PHUIDiffOneUpInlineCommentRowScaffold.php
No OneTemporary

Size
713 B
Referenced Files
None
Subscribers
None

PHUIDiffOneUpInlineCommentRowScaffold.php

<?php
/**
* Row scaffold for `1up` (unified) changeset views.
*
* This scaffold is straightforward.
*/
final class PHUIDiffOneUpInlineCommentRowScaffold
extends PHUIDiffInlineCommentRowScaffold {
public function render() {
$inlines = $this->getInlineViews();
if (count($inlines) != 1) {
throw new Exception(
pht('One-up inline row scaffold must have exactly one inline view!'));
}
$inline = head($inlines);
$attrs = array(
'colspan' => 3,
'class' => 'right3',
);
$cells = array(
phutil_tag('th', array()),
phutil_tag('th', array()),
phutil_tag('td', $attrs, $inline),
);
return phutil_tag('tr', array(), $cells);
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jun 18, 4:55 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
229108
Default Alt Text
PHUIDiffOneUpInlineCommentRowScaffold.php (713 B)

Event Timeline