Page MenuHomePhabricator

abstract class PhutilConsoleView
libphutil Technical Documentation (Console)

This class is not documented.

Methods

abstract protected function drawView()

This method is not documented.
Return
wild

final public function setConsole($console)

This method is not documented.
Parameters
PhutilConsole$console
Return
wild

final public function getConsole()

This method is not documented.
Return
wild

final public function draw()

Draw a view to the console.

Return
this

final public function drawConsoleString()

Draw a view to a string and return it.

Return
stringConsole-printable string.

private function reduceView($view)

Reduce a view to a list of simple, unnested parts.

Parameters
wild$viewAny drawable view.
Return
list<wild>List of unnested drawables.

final protected function drawLines($parts)

This method is not documented.
Parameters
list<wild>$partsList of views, one per line.
Return
wildEach view rendered on a separate line.

final protected function implode($separator, $items)

This method is not documented.
Parameters
$separator
array$items
Return
wild