public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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 | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
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 |