public function getRendererKey()
public function getRendererKey()
Return
wild |
public function setShowEditAndReplyLinks($bool)Inherited
public function setShowEditAndReplyLinks($bool)
Inherited
Parameters
$bool |
Return
wild |
public function getShowEditAndReplyLinks()Inherited
public function getShowEditAndReplyLinks()
Inherited
Return
wild |
public function setHighlightingDisabled($highlighting_disabled)Inherited
public function setHighlightingDisabled($highlighting_disabled)
Inherited
Parameters
$highlighting_disabled |
Return
wild |
public function getHighlightingDisabled()Inherited
public function getHighlightingDisabled()
Inherited
Return
wild |
public function setOriginalCharacterEncoding($original_character_encoding)Inherited
public function setOriginalCharacterEncoding($original_character_encoding)
Inherited
Parameters
$original_character_encoding |
Return
wild |
public function getOriginalCharacterEncoding()Inherited
public function getOriginalCharacterEncoding()
Inherited
Return
wild |
public function setIsUndershield($is_undershield)Inherited
public function setIsUndershield($is_undershield)
Inherited
Parameters
$is_undershield |
Return
wild |
public function getIsUndershield()Inherited
public function getIsUndershield()
Inherited
Return
wild |
public function setMask($mask)Inherited
public function setMask($mask)
Inherited
Parameters
$mask |
Return
wild |
protected function getMask()Inherited
protected function getMask()
Inherited
Return
wild |
public function setGaps($gaps)Inherited
public function setGaps($gaps)
Inherited
Parameters
$gaps |
Return
wild |
protected function getGaps()Inherited
protected function getGaps()
Inherited
Return
wild |
public function setDepthOnlyLines($lines)Inherited
public function setDepthOnlyLines($lines)
Inherited
Parameters
array | $lines |
Return
wild |
public function getDepthOnlyLines()Inherited
public function getDepthOnlyLines()
Inherited
Return
wild |
public function attachOldFile($old)Inherited
public function attachOldFile($old)
Inherited
Parameters
PhabricatorFile | $old |
Return
wild |
public function getOldFile()Inherited
public function getOldFile()
Inherited
Return
wild |
public function hasOldFile()Inherited
public function hasOldFile()
Inherited
Return
wild |
public function attachNewFile($new)Inherited
public function attachNewFile($new)
Inherited
Parameters
PhabricatorFile | $new |
Return
wild |
public function getNewFile()Inherited
public function getNewFile()
Inherited
Return
wild |
public function hasNewFile()Inherited
public function hasNewFile()
Inherited
Return
wild |
public function setOriginalNew($original_new)Inherited
public function setOriginalNew($original_new)
Inherited
Parameters
$original_new |
Return
wild |
protected function getOriginalNew()Inherited
protected function getOriginalNew()
Inherited
Return
wild |
public function setOriginalOld($original_old)Inherited
public function setOriginalOld($original_old)
Inherited
Parameters
$original_old |
Return
wild |
protected function getOriginalOld()Inherited
protected function getOriginalOld()
Inherited
Return
wild |
public function setNewRender($new_render)Inherited
public function setNewRender($new_render)
Inherited
Parameters
$new_render |
Return
wild |
protected function getNewRender()Inherited
protected function getNewRender()
Inherited
Return
wild |
public function setOldRender($old_render)Inherited
public function setOldRender($old_render)
Inherited
Parameters
$old_render |
Return
wild |
protected function getOldRender()Inherited
protected function getOldRender()
Inherited
Return
wild |
public function setMarkupEngine($markup_engine)Inherited
public function setMarkupEngine($markup_engine)
Inherited
Parameters
PhabricatorMarkupEngine | $markup_engine |
Return
wild |
public function getMarkupEngine()Inherited
public function getMarkupEngine()
Inherited
Return
wild |
public function setHandles($handles)Inherited
public function setHandles($handles)
Inherited
Parameters
array | $handles |
Return
wild |
protected function getHandles()Inherited
protected function getHandles()
Inherited
Return
wild |
public function setCodeCoverage($code_coverage)Inherited
public function setCodeCoverage($code_coverage)
Inherited
Parameters
$code_coverage |
Return
wild |
protected function getCodeCoverage()Inherited
protected function getCodeCoverage()
Inherited
Return
wild |
public function setHighlightNew($highlight_new)Inherited
public function setHighlightNew($highlight_new)
Inherited
Parameters
$highlight_new |
Return
wild |
protected function getHighlightNew()Inherited
protected function getHighlightNew()
Inherited
Return
wild |
public function setHighlightOld($highlight_old)Inherited
public function setHighlightOld($highlight_old)
Inherited
Parameters
$highlight_old |
Return
wild |
protected function getHighlightOld()Inherited
protected function getHighlightOld()
Inherited
Return
wild |
public function setNewAttachesToNewFile($attaches)Inherited
public function setNewAttachesToNewFile($attaches)
Inherited
Parameters
$attaches |
Return
wild |
protected function getNewAttachesToNewFile()Inherited
protected function getNewAttachesToNewFile()
Inherited
Return
wild |
public function setOldAttachesToNewFile($attaches)Inherited
public function setOldAttachesToNewFile($attaches)
Inherited
Parameters
$attaches |
Return
wild |
protected function getOldAttachesToNewFile()Inherited
protected function getOldAttachesToNewFile()
Inherited
Return
wild |
public function setNewChangesetID($new_changeset_id)Inherited
public function setNewChangesetID($new_changeset_id)
Inherited
Parameters
$new_changeset_id |
Return
wild |
protected function getNewChangesetID()Inherited
protected function getNewChangesetID()
Inherited
Return
wild |
public function setOldChangesetID($old_changeset_id)Inherited
public function setOldChangesetID($old_changeset_id)
Inherited
Parameters
$old_changeset_id |
Return
wild |
protected function getOldChangesetID()Inherited
protected function getOldChangesetID()
Inherited
Return
wild |
public function setDocumentEngine($engine)Inherited
public function setDocumentEngine($engine)
Inherited
Parameters
PhabricatorDocumentEngine | $engine |
Return
wild |
public function getDocumentEngine()Inherited
public function getDocumentEngine()
Inherited
Return
wild |
public function setDocumentEngineBlocks($blocks)Inherited
public function setDocumentEngineBlocks($blocks)
Inherited
Parameters
PhabricatorDocumentEngineBlocks | $blocks |
Return
wild |
public function getDocumentEngineBlocks()Inherited
public function getDocumentEngineBlocks()
Inherited
Return
wild |
public function setNewComments($new_comments)Inherited
public function setNewComments($new_comments)
Inherited
Parameters
array | $new_comments |
Return
wild |
protected function getNewComments()Inherited
protected function getNewComments()
Inherited
Return
wild |
public function setOldComments($old_comments)Inherited
public function setOldComments($old_comments)
Inherited
Parameters
array | $old_comments |
Return
wild |
protected function getOldComments()Inherited
protected function getOldComments()
Inherited
Return
wild |
public function setNewLines($new_lines)Inherited
public function setNewLines($new_lines)
Inherited
Parameters
array | $new_lines |
Return
wild |
protected function getNewLines()Inherited
protected function getNewLines()
Inherited
Return
wild |
public function setOldLines($old_lines)Inherited
public function setOldLines($old_lines)
Inherited
Parameters
array | $old_lines |
Return
wild |
protected function getOldLines()Inherited
protected function getOldLines()
Inherited
Return
wild |
public function setHunkStartLines($hunk_start_lines)Inherited
public function setHunkStartLines($hunk_start_lines)
Inherited
Parameters
array | $hunk_start_lines |
Return
wild |
protected function getHunkStartLines()Inherited
protected function getHunkStartLines()
Inherited
Return
wild |
public function setUser($user)Inherited
public function setUser($user)
Inherited
Parameters
PhabricatorUser | $user |
Return
wild |
protected function getUser()Inherited
protected function getUser()
Inherited
Return
wild |
public function setChangeset($changeset)Inherited
public function setChangeset($changeset)
Inherited
Parameters
DifferentialChangeset | $changeset |
Return
wild |
protected function getChangeset()Inherited
protected function getChangeset()
Inherited
Return
wild |
public function setRenderingReference($rendering_reference)Inherited
public function setRenderingReference($rendering_reference)
Inherited
Parameters
$rendering_reference |
Return
wild |
protected function getRenderingReference()Inherited
protected function getRenderingReference()
Inherited
Return
wild |
public function setRenderPropertyChangeHeader($should_render)Inherited
public function setRenderPropertyChangeHeader($should_render)
Inherited
Parameters
$should_render |
Return
wild |
private function shouldRenderPropertyChangeHeader()Inherited
private function shouldRenderPropertyChangeHeader()
Inherited
Return
wild |
public function setIsTopLevel($is)Inherited
public function setIsTopLevel($is)
Inherited
Parameters
$is |
Return
wild |
private function getIsTopLevel()Inherited
private function getIsTopLevel()
Inherited
Return
wild |
public function setCanMarkDone($can_mark_done)Inherited
public function setCanMarkDone($can_mark_done)
Inherited
Parameters
$can_mark_done |
Return
wild |
public function getCanMarkDone()Inherited
public function getCanMarkDone()
Inherited
Return
wild |
public function setObjectOwnerPHID($phid)Inherited
public function setObjectOwnerPHID($phid)
Inherited
Parameters
$phid |
Return
wild |
public function getObjectOwnerPHID()Inherited
public function getObjectOwnerPHID()
Inherited
Return
wild |
final public function renderChangesetTable($content)Inherited
final public function renderChangesetTable($content)
Inherited
Parameters
$content |
Return
wild |
public function isOneUpRenderer()
public function isOneUpRenderer()
Return
wild |
public function renderTextChange($range_start, $range_len, $rows)
public function renderTextChange($range_start, $range_len, $rows)
Parameters
$range_start | ||
$range_len | ||
$rows |
Return
wild |
public function renderDocumentEngineBlocks($block_list, $old_changeset_key, $new_changeset_key)
public function renderDocumentEngineBlocks($block_list, $old_changeset_key, $new_changeset_key)
Parameters
PhabricatorDocumentEngineBlocks | $blocks | |
$old_changeset_key | ||
$new_changeset_key |
Return
wild |
protected function renderChangeTypeHeader($force)Inherited
protected function renderChangeTypeHeader($force)
Inherited
Parameters
$force |
Return
wild |
protected function renderUndershieldHeader()Inherited
protected function renderUndershieldHeader()
Inherited
Return
wild |
protected function didRenderChangesetTableContents($contents)Inherited
protected function didRenderChangesetTableContents($contents)
Inherited
Parameters
$contents |
Return
wild |
public function renderShield($message, $force)Inherited
public function renderShield($message, $force)
Inherited
DifferentialChangesetRenderer
Render a "shield" over the diff, with a message like "This file is generated and does not need to be reviewed." or "This file was completely deleted." This UI element hides unimportant text so the reviewer doesn't need to scroll past it.
The shield includes a link to view the underlying content. This link may force certain rendering modes when the link is clicked:
- "default": Render the diff normally, as though it was not shielded. This is the default and appropriate if the underlying diff is a normal change, but was hidden for reasons of not being important (e.g., generated code).
- "text": Force the text to be shown. This is probably only relevant when a file is not changed.
- "none": Don't show the link (e.g., text not available).
Parameters
string | $message | Message explaining why the diff is hidden. |
string|null | $force | Force mode, see above. |
Return
string | Shield markup. |
protected function renderPropertyChangeHeader()Inherited
protected function renderPropertyChangeHeader()
Inherited
Return
wild |
protected function buildPrimitives($range_start, $range_len)Inherited
protected function buildPrimitives($range_start, $range_len)
Inherited
Parameters
$range_start | ||
$range_len |
Return
wild |
private function processPrimitivesForOneUp($primitives)Inherited
private function processPrimitivesForOneUp($primitives)
Inherited
Parameters
array | $primitives |
Return
wild |
protected function getChangesetProperties($changeset)Inherited
protected function getChangesetProperties($changeset)
Inherited
Parameters
$changeset |
Return
wild |
public function renderUndoTemplates()Inherited
public function renderUndoTemplates()
Inherited
Return
wild |
final protected function getScopeEngine()Inherited
final protected function getScopeEngine()
Inherited
Return
wild |
private function getNewLineTextMap()Inherited
private function getNewLineTextMap()
Inherited
Return
wild |
public static function getHTMLRendererByKey($key)Inherited
public static function getHTMLRendererByKey($key)
Inherited
Parameters
$key |
Return
wild |
protected function getRendererTableClass()
protected function getRendererTableClass()
Return
wild |
public function getRowScaffoldForInline($view)
public function getRowScaffoldForInline($view)
Parameters
PHUIDiffInlineCommentView | $view |
Return
wild |
private function formatHeaderMessages($messages)Inherited
private function formatHeaderMessages($messages)
Inherited
Parameters
array | $messages |
Return
wild |
protected function renderColgroup()
protected function renderColgroup()
Return
wild |
protected function wrapChangeInTable($content)Inherited
protected function wrapChangeInTable($content)
Inherited
Parameters
$content |
Return
wild |
protected function getTableSigils()Inherited
protected function getTableSigils()
Inherited
Return
wild |
protected function buildInlineComment($comment, $on_right)Inherited
protected function buildInlineComment($comment, $on_right)
Inherited
Parameters
PhabricatorInlineComment | $comment | |
$on_right |
Return
wild |
protected function renderShowContextLinks($top, $len, $changeset_length, $is_blocks)Inherited
protected function renderShowContextLinks($top, $len, $changeset_length, $is_blocks)
Inherited
DifferentialChangesetHTMLRenderer
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)Inherited
private function renderShowContextLink($is_all, $range, $text)
Inherited
DifferentialChangesetHTMLRenderer
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()Inherited
protected function getLineIDPrefixes()
Inherited
DifferentialChangesetHTMLRenderer
Build the prefixes for line IDs used to track inline comments.
Return
pair<wild, wild> | Left and right prefixes. |
public function setSimpleMode($simple_mode)
public function setSimpleMode($simple_mode)
Parameters
$simple_mode |
Return
wild |
public function getSimpleMode()
public function getSimpleMode()
Return
wild |
protected function renderPrimitives($primitives, $rows)
protected function renderPrimitives($primitives, $rows)
Parameters
array | $primitives | |
$rows |
Return
wild |
private function newSimpleTable($content)
private function newSimpleTable($content)
Parameters
$content |
Return
wild |