Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
810 B · 31 lines
PHP
at commit 2cc898a6
1234567891011121314151617181920212223242526272829303132<?php
/** * Wraps an inline comment in a table row. * * Inline comments need different wrapping cells when shown in unified vs * side-by-side diffs, as the two tables have different layouts. This wraps * an inline comment element in an appropriate table row. */abstract class PHUIDiffInlineCommentRowScaffold extends AphrontView {
private $views = array();
public function getInlineViews() { return $this->views; }
public function addInlineView(PHUIDiffInlineCommentView $view) { $this->views[] = $view; return $this; }
protected function getRowAttributes() { // TODO: This is semantic information used by the JS when placing comments // and using keyboard navigation; we should move it out of class names. return array( 'class' => 'inline', ); }
}