Page MenuHomePhorge

abstract class PhutilConsoleView
Arcanist Technical Documentation ()

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

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