abstract protected function drawView()
abstract protected function drawView()
Return
wild |
final public function setConsole($console)
final public function setConsole($console)
Parameters
PhutilConsole | $console |
Return
wild |
final public function getConsole()
final public function getConsole()
Return
wild |
final public function draw()
final public function draw()
Draw a view to the console.
Return
this |
final public function drawConsoleString()
final public function drawConsoleString()
Draw a view to a string and return it.
Return
string | Console-printable string. |
private function reduceView($view)
private function reduceView($view)
Reduce a view to a list of simple, unnested parts.
Parameters
wild | $view | Any drawable view. |
Return
list<wild> | List of unnested drawables. |
final protected function drawLines($parts)
final protected function drawLines($parts)
Parameters
list<wild> | $parts | List of views, one per line. |
Return
wild | Each view rendered on a separate line. |
final protected function implode($separator, $items)
final protected function implode($separator, $items)
Parameters
$separator | ||
array | $items |
Return
wild |