abstract public function getRendererKey()
abstract public function getRendererKey()
Return
wild |
public function setShowEditAndReplyLinks($bool)
public function setShowEditAndReplyLinks($bool)
Parameters
$bool |
Return
wild |
public function getShowEditAndReplyLinks()
public function getShowEditAndReplyLinks()
Return
wild |
public function setHighlightingDisabled($highlighting_disabled)
public function setHighlightingDisabled($highlighting_disabled)
Parameters
$highlighting_disabled |
Return
wild |
public function getHighlightingDisabled()
public function getHighlightingDisabled()
Return
wild |
public function setOriginalCharacterEncoding($original_character_encoding)
public function setOriginalCharacterEncoding($original_character_encoding)
Parameters
$original_character_encoding |
Return
wild |
public function getOriginalCharacterEncoding()
public function getOriginalCharacterEncoding()
Return
wild |
public function setIsUndershield($is_undershield)
public function setIsUndershield($is_undershield)
Parameters
$is_undershield |
Return
wild |
public function getIsUndershield()
public function getIsUndershield()
Return
wild |
public function setMask($mask)
public function setMask($mask)
Parameters
$mask |
Return
wild |
protected function getMask()
protected function getMask()
Return
wild |
public function setGaps($gaps)
public function setGaps($gaps)
Parameters
$gaps |
Return
wild |
protected function getGaps()
protected function getGaps()
Return
wild |
public function setDepthOnlyLines($lines)
public function setDepthOnlyLines($lines)
Parameters
array | $lines |
Return
wild |
public function getDepthOnlyLines()
public function getDepthOnlyLines()
Return
wild |
public function attachOldFile($old)
public function attachOldFile($old)
Parameters
PhabricatorFile | $old |
Return
wild |
public function getOldFile()
public function getOldFile()
Return
wild |
public function hasOldFile()
public function hasOldFile()
Return
wild |
public function attachNewFile($new)
public function attachNewFile($new)
Parameters
PhabricatorFile | $new |
Return
wild |
public function getNewFile()
public function getNewFile()
Return
wild |
public function hasNewFile()
public function hasNewFile()
Return
wild |
public function setOriginalNew($original_new)
public function setOriginalNew($original_new)
Parameters
$original_new |
Return
wild |
protected function getOriginalNew()
protected function getOriginalNew()
Return
wild |
public function setOriginalOld($original_old)
public function setOriginalOld($original_old)
Parameters
$original_old |
Return
wild |
protected function getOriginalOld()
protected function getOriginalOld()
Return
wild |
public function setNewRender($new_render)
public function setNewRender($new_render)
Parameters
$new_render |
Return
wild |
protected function getNewRender()
protected function getNewRender()
Return
wild |
public function setOldRender($old_render)
public function setOldRender($old_render)
Parameters
$old_render |
Return
wild |
protected function getOldRender()
protected function getOldRender()
Return
wild |
public function setMarkupEngine($markup_engine)
public function setMarkupEngine($markup_engine)
Parameters
PhabricatorMarkupEngine | $markup_engine |
Return
wild |
public function getMarkupEngine()
public function getMarkupEngine()
Return
wild |
public function setHandles($handles)
public function setHandles($handles)
Parameters
array | $handles |
Return
wild |
protected function getHandles()
protected function getHandles()
Return
wild |
public function setCodeCoverage($code_coverage)
public function setCodeCoverage($code_coverage)
Parameters
$code_coverage |
Return
wild |
protected function getCodeCoverage()
protected function getCodeCoverage()
Return
wild |
public function setHighlightNew($highlight_new)
public function setHighlightNew($highlight_new)
Parameters
$highlight_new |
Return
wild |
protected function getHighlightNew()
protected function getHighlightNew()
Return
wild |
public function setHighlightOld($highlight_old)
public function setHighlightOld($highlight_old)
Parameters
$highlight_old |
Return
wild |
protected function getHighlightOld()
protected function getHighlightOld()
Return
wild |
public function setNewAttachesToNewFile($attaches)
public function setNewAttachesToNewFile($attaches)
Parameters
$attaches |
Return
wild |
protected function getNewAttachesToNewFile()
protected function getNewAttachesToNewFile()
Return
wild |
public function setOldAttachesToNewFile($attaches)
public function setOldAttachesToNewFile($attaches)
Parameters
$attaches |
Return
wild |
protected function getOldAttachesToNewFile()
protected function getOldAttachesToNewFile()
Return
wild |
public function setNewChangesetID($new_changeset_id)
public function setNewChangesetID($new_changeset_id)
Parameters
$new_changeset_id |
Return
wild |
protected function getNewChangesetID()
protected function getNewChangesetID()
Return
wild |
public function setOldChangesetID($old_changeset_id)
public function setOldChangesetID($old_changeset_id)
Parameters
$old_changeset_id |
Return
wild |
protected function getOldChangesetID()
protected function getOldChangesetID()
Return
wild |
public function setDocumentEngine($engine)
public function setDocumentEngine($engine)
Parameters
PhabricatorDocumentEngine | $engine |
Return
wild |
public function getDocumentEngine()
public function getDocumentEngine()
Return
wild |
public function setDocumentEngineBlocks($blocks)
public function setDocumentEngineBlocks($blocks)
Parameters
PhabricatorDocumentEngineBlocks | $blocks |
Return
wild |
public function getDocumentEngineBlocks()
public function getDocumentEngineBlocks()
Return
wild |
public function setNewComments($new_comments)
public function setNewComments($new_comments)
Parameters
array | $new_comments |
Return
wild |
protected function getNewComments()
protected function getNewComments()
Return
wild |
public function setOldComments($old_comments)
public function setOldComments($old_comments)
Parameters
array | $old_comments |
Return
wild |
protected function getOldComments()
protected function getOldComments()
Return
wild |
public function setNewLines($new_lines)
public function setNewLines($new_lines)
Parameters
array | $new_lines |
Return
wild |
protected function getNewLines()
protected function getNewLines()
Return
wild |
public function setOldLines($old_lines)
public function setOldLines($old_lines)
Parameters
array | $old_lines |
Return
wild |
protected function getOldLines()
protected function getOldLines()
Return
wild |
public function setHunkStartLines($hunk_start_lines)
public function setHunkStartLines($hunk_start_lines)
Parameters
array | $hunk_start_lines |
Return
wild |
protected function getHunkStartLines()
protected function getHunkStartLines()
Return
wild |
public function setUser($user)
public function setUser($user)
Parameters
PhabricatorUser | $user |
Return
wild |
protected function getUser()
protected function getUser()
Return
wild |
public function setChangeset($changeset)
public function setChangeset($changeset)
Parameters
DifferentialChangeset | $changeset |
Return
wild |
protected function getChangeset()
protected function getChangeset()
Return
wild |
public function setRenderingReference($rendering_reference)
public function setRenderingReference($rendering_reference)
Parameters
$rendering_reference |
Return
wild |
protected function getRenderingReference()
protected function getRenderingReference()
Return
wild |
public function setRenderPropertyChangeHeader($should_render)
public function setRenderPropertyChangeHeader($should_render)
Parameters
$should_render |
Return
wild |
private function shouldRenderPropertyChangeHeader()
private function shouldRenderPropertyChangeHeader()
Return
wild |
public function setIsTopLevel($is)
public function setIsTopLevel($is)
Parameters
$is |
Return
wild |
private function getIsTopLevel()
private function getIsTopLevel()
Return
wild |
public function setCanMarkDone($can_mark_done)
public function setCanMarkDone($can_mark_done)
Parameters
$can_mark_done |
Return
wild |
public function getCanMarkDone()
public function getCanMarkDone()
Return
wild |
public function setObjectOwnerPHID($phid)
public function setObjectOwnerPHID($phid)
Parameters
$phid |
Return
wild |
public function getObjectOwnerPHID()
public function getObjectOwnerPHID()
Return
wild |
final public function renderChangesetTable($content)
final public function renderChangesetTable($content)
Parameters
$content |
Return
wild |
abstract public function isOneUpRenderer()
abstract public function isOneUpRenderer()
Return
wild |
abstract public function renderTextChange($range_start, $range_len, $rows)
abstract public function renderTextChange($range_start, $range_len, $rows)
Parameters
$range_start | ||
$range_len | ||
$rows |
Return
wild |
public function renderDocumentEngineBlocks($blocks, $old_changeset_key, $new_changeset_key)
public function renderDocumentEngineBlocks($blocks, $old_changeset_key, $new_changeset_key)
Parameters
PhabricatorDocumentEngineBlocks | $blocks | |
$old_changeset_key | ||
$new_changeset_key |
Return
wild |
abstract protected function renderChangeTypeHeader($force)
abstract protected function renderChangeTypeHeader($force)
Parameters
$force |
Return
wild |
abstract protected function renderUndershieldHeader()
abstract protected function renderUndershieldHeader()
Return
wild |
protected function didRenderChangesetTableContents($contents)
protected function didRenderChangesetTableContents($contents)
Parameters
$contents |
Return
wild |
abstract public function renderShield($message, $force)
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 | $message | Message explaining why the diff is hidden. |
string|null | $force | Force mode, see above. |
Return
string | Shield markup. |
abstract protected function renderPropertyChangeHeader()
abstract protected function renderPropertyChangeHeader()
Return
wild |
protected function buildPrimitives($range_start, $range_len)
protected function buildPrimitives($range_start, $range_len)
Parameters
$range_start | ||
$range_len |
Return
wild |
private function processPrimitivesForOneUp($primitives)
private function processPrimitivesForOneUp($primitives)
Parameters
array | $primitives |
Return
wild |
protected function getChangesetProperties($changeset)
protected function getChangesetProperties($changeset)
Parameters
$changeset |
Return
wild |
public function renderUndoTemplates()
public function renderUndoTemplates()
Return
wild |
final protected function getScopeEngine()
final protected function getScopeEngine()
Return
wild |
private function getNewLineTextMap()
private function getNewLineTextMap()
Return
wild |