Page MenuHomePhabricator

final class PHUIRemarkupView
Phabricator Technical Documentation (Remarkup)

Simple API for rendering blocks of Remarkup.

Example usage:

$fancy_text = new PHUIRemarkupView($viewer, $raw_remarkup);
$view->appendChild($fancy_text);

Methods

public function __construct($viewer, $corpus)

This method is not documented.
Parameters
PhabricatorUser$viewer
$corpus
Return
this//Implicit.//

private function setMarkupType($type)

This method is not documented.
Parameters
$type
Return
wild

public function setContextObject($context_object)

This method is not documented.
Parameters
$context_object
Return
wild

public function getContextObject()

This method is not documented.
Return
wild

public function render()

This method is not documented.
Return
wild