public static function getHTMLRendererByKey($key)
public static function getHTMLRendererByKey($key)
Parameters
| $key |
Return
| wild |
abstract protected function getRendererTableClass()
abstract protected function getRendererTableClass()
Return
| wild |
abstract public function getRowScaffoldForInline($view)
abstract public function getRowScaffoldForInline($view)
Parameters
| PHUIDiffInlineCommentView | $view |
Return
| wild |
protected function renderChangeTypeHeader($force)
protected function renderChangeTypeHeader($force)
Parameters
| $force |
Return
| wild |
protected function renderUndershieldHeader()
protected function renderUndershieldHeader()
Return
| wild |
private function formatHeaderMessages($messages)
private function formatHeaderMessages($messages)
Parameters
| array | $messages |
Return
| wild |
protected function renderPropertyChangeHeader()
protected function renderPropertyChangeHeader()
Return
| wild |
public function renderShield($message, $force)
public function renderShield($message, $force)
Parameters
| $message | ||
| $force |
Return
| wild |
abstract protected function renderColgroup()
abstract protected function renderColgroup()
Return
| wild |
protected function wrapChangeInTable($content)
protected function wrapChangeInTable($content)
Parameters
| $content |
Return
| wild |
protected function getTableSigils()
protected function getTableSigils()
Return
| wild |
protected function buildInlineComment($comment, $on_right)
protected function buildInlineComment($comment, $on_right)
Parameters
| PhabricatorInlineComment | $comment | |
| $on_right |
Return
| wild |
protected function renderShowContextLinks($top, $len, $changeset_length, $is_blocks)
protected function renderShowContextLinks($top, $len, $changeset_length, $is_blocks)
Build links which users can click to show more context in a changeset.
Parameters
| int | $top | Beginning of the line range to build links for. |
| int | $len | Length of the line range to build links for. |
| int | $changeset_length | Total number of lines in the changeset. |
| $is_blocks |
Return
| markup | Rendered links. |
private function renderShowContextLink($is_all, $range, $text)
private function renderShowContextLink($is_all, $range, $text)
Build a link that shows more context in a changeset.
Parameters
| bool | $is_all | Does this link show all context when clicked? |
| string | $range | Range specification for lines to show. |
| string | $text | Text of the link. |
Return
| markup | Rendered link. |
protected function getLineIDPrefixes()
protected function getLineIDPrefixes()
Build the prefixes for line IDs used to track inline comments.
Return
| pair<wild, wild> | Left and right prefixes. |