Page MenuHomeIsabelle/Phabricator
Diviner Phabricator Tech Docs DifferentialChangesetRenderer

abstract class DifferentialChangesetRenderer
Phabricator Technical Documentation (Differential)

This class is not documented.

Methods

abstract public function getRendererKey()

This method is not documented.
Return
wild

public function setShowEditAndReplyLinks($bool)

This method is not documented.
Parameters
$bool
Return
wild

public function getShowEditAndReplyLinks()

This method is not documented.
Return
wild

public function setHighlightingDisabled($highlighting_disabled)

This method is not documented.
Parameters
$highlighting_disabled
Return
wild

public function getHighlightingDisabled()

This method is not documented.
Return
wild

public function setOriginalCharacterEncoding($original_character_encoding)

This method is not documented.
Parameters
$original_character_encoding
Return
wild
This method is not documented.
Return
wild

public function setIsUndershield($is_undershield)

This method is not documented.
Parameters
$is_undershield
Return
wild

public function getIsUndershield()

This method is not documented.
Return
wild

public function setMask($mask)

This method is not documented.
Parameters
$mask
Return
wild

protected function getMask()

This method is not documented.
Return
wild

public function setGaps($gaps)

This method is not documented.
Parameters
$gaps
Return
wild

protected function getGaps()

This method is not documented.
Return
wild

public function setDepthOnlyLines($lines)

This method is not documented.
Parameters
array$lines
Return
wild

public function getDepthOnlyLines()

This method is not documented.
Return
wild

public function attachOldFile($old)

This method is not documented.
Parameters
PhabricatorFile$old
Return
wild

public function getOldFile()

This method is not documented.
Return
wild

public function hasOldFile()

This method is not documented.
Return
wild

public function attachNewFile($new)

This method is not documented.
Parameters
PhabricatorFile$new
Return
wild

public function getNewFile()

This method is not documented.
Return
wild

public function hasNewFile()

This method is not documented.
Return
wild

public function setOriginalNew($original_new)

This method is not documented.
Parameters
$original_new
Return
wild

protected function getOriginalNew()

This method is not documented.
Return
wild

public function setOriginalOld($original_old)

This method is not documented.
Parameters
$original_old
Return
wild

protected function getOriginalOld()

This method is not documented.
Return
wild

public function setNewRender($new_render)

This method is not documented.
Parameters
$new_render
Return
wild

protected function getNewRender()

This method is not documented.
Return
wild

public function setOldRender($old_render)

This method is not documented.
Parameters
$old_render
Return
wild

protected function getOldRender()

This method is not documented.
Return
wild

public function setMarkupEngine($markup_engine)

This method is not documented.
Parameters
PhabricatorMarkupEngine$markup_engine
Return
wild

public function getMarkupEngine()

This method is not documented.
Return
wild

public function setHandles($handles)

This method is not documented.
Parameters
array$handles
Return
wild

protected function getHandles()

This method is not documented.
Return
wild

public function setCodeCoverage($code_coverage)

This method is not documented.
Parameters
$code_coverage
Return
wild

protected function getCodeCoverage()

This method is not documented.
Return
wild

public function setHighlightNew($highlight_new)

This method is not documented.
Parameters
$highlight_new
Return
wild

protected function getHighlightNew()

This method is not documented.
Return
wild

public function setHighlightOld($highlight_old)

This method is not documented.
Parameters
$highlight_old
Return
wild

protected function getHighlightOld()

This method is not documented.
Return
wild

public function setNewAttachesToNewFile($attaches)

This method is not documented.
Parameters
$attaches
Return
wild

protected function getNewAttachesToNewFile()

This method is not documented.
Return
wild

public function setOldAttachesToNewFile($attaches)

This method is not documented.
Parameters
$attaches
Return
wild

protected function getOldAttachesToNewFile()

This method is not documented.
Return
wild

public function setNewChangesetID($new_changeset_id)

This method is not documented.
Parameters
$new_changeset_id
Return
wild

protected function getNewChangesetID()

This method is not documented.
Return
wild

public function setOldChangesetID($old_changeset_id)

This method is not documented.
Parameters
$old_changeset_id
Return
wild

protected function getOldChangesetID()

This method is not documented.
Return
wild

public function setDocumentEngine($engine)

This method is not documented.
Parameters
PhabricatorDocumentEngine$engine
Return
wild

public function getDocumentEngine()

This method is not documented.
Return
wild

public function setDocumentEngineBlocks($blocks)

This method is not documented.
Parameters
PhabricatorDocumentEngineBlocks$blocks
Return
wild

public function getDocumentEngineBlocks()

This method is not documented.
Return
wild

public function setNewComments($new_comments)

This method is not documented.
Parameters
array$new_comments
Return
wild

protected function getNewComments()

This method is not documented.
Return
wild

public function setOldComments($old_comments)

This method is not documented.
Parameters
array$old_comments
Return
wild

protected function getOldComments()

This method is not documented.
Return
wild

public function setNewLines($new_lines)

This method is not documented.
Parameters
array$new_lines
Return
wild

protected function getNewLines()

This method is not documented.
Return
wild

public function setOldLines($old_lines)

This method is not documented.
Parameters
array$old_lines
Return
wild

protected function getOldLines()

This method is not documented.
Return
wild

public function setHunkStartLines($hunk_start_lines)

This method is not documented.
Parameters
array$hunk_start_lines
Return
wild

protected function getHunkStartLines()

This method is not documented.
Return
wild

public function setUser($user)

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

protected function getUser()

This method is not documented.
Return
wild

public function setChangeset($changeset)

This method is not documented.
Parameters
DifferentialChangeset$changeset
Return
wild

protected function getChangeset()

This method is not documented.
Return
wild

public function setRenderingReference($rendering_reference)

This method is not documented.
Parameters
$rendering_reference
Return
wild

protected function getRenderingReference()

This method is not documented.
Return
wild

public function setRenderPropertyChangeHeader($should_render)

This method is not documented.
Parameters
$should_render
Return
wild
This method is not documented.
Return
wild

public function setIsTopLevel($is)

This method is not documented.
Parameters
$is
Return
wild

private function getIsTopLevel()

This method is not documented.
Return
wild

public function setCanMarkDone($can_mark_done)

This method is not documented.
Parameters
$can_mark_done
Return
wild

public function getCanMarkDone()

This method is not documented.
Return
wild

public function setObjectOwnerPHID($phid)

This method is not documented.
Parameters
$phid
Return
wild

public function getObjectOwnerPHID()

This method is not documented.
Return
wild

final public function renderChangesetTable($content)

This method is not documented.
Parameters
$content
Return
wild

abstract public function isOneUpRenderer()

This method is not documented.
Return
wild

abstract public function renderTextChange($range_start, $range_len, $rows)

This method is not documented.
Parameters
$range_start
$range_len
$rows
Return
wild

public function renderDocumentEngineBlocks($blocks, $old_changeset_key, $new_changeset_key)

This method is not documented.
Parameters
PhabricatorDocumentEngineBlocks$blocks
$old_changeset_key
$new_changeset_key
Return
wild

abstract protected function renderChangeTypeHeader($force)

This method is not documented.
Parameters
$force
Return
wild

abstract protected function renderUndershieldHeader()

This method is not documented.
Return
wild

protected function didRenderChangesetTableContents($contents)

This method is not documented.
Parameters
$contents
Return
wild

abstract public function renderShield($message, $force)

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$messageMessage explaining why the diff is hidden.
string|null$forceForce mode, see above.
Return
stringShield markup.

abstract protected function renderPropertyChangeHeader()

This method is not documented.
Return
wild

protected function buildPrimitives($range_start, $range_len)

This method is not documented.
Parameters
$range_start
$range_len
Return
wild

private function processPrimitivesForOneUp($primitives)

This method is not documented.
Parameters
array$primitives
Return
wild

protected function getChangesetProperties($changeset)

This method is not documented.
Parameters
$changeset
Return
wild

public function renderUndoTemplates()

This method is not documented.
Return
wild

final protected function getScopeEngine()

This method is not documented.
Return
wild

private function getNewLineTextMap()

This method is not documented.
Return
wild