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. |
public function setConsole($console)
public function setConsole($console)
Parameters
PhutilConsole | $console |
Return
wild |
private function getConsole()
private function getConsole()
Return
wild |
public function setTotal($work)
public function setTotal($work)
Parameters
$work |
Return
wild |
public function setQuiet($quiet)
public function setQuiet($quiet)
Parameters
$quiet |
Return
wild |
public function update($work)
public function update($work)
Parameters
$work |
Return
wild |
private function redraw()
private function redraw()
Return
wild |
public function draw()
public function draw()
Explicitly redraw the bar.
Normally, the progress bar is automatically redrawn periodically, but you may want to force it to draw.
For example, we force a draw after pre-filling the bar when resuming large file uploads in arc upload. Otherwise, the bar may sit at 0% until the first chunk completes.
Return
wild |
public function done($clean_exit)
public function done($clean_exit)
Parameters
$clean_exit |
Return
wild |
private function eraseLine()
private function eraseLine()
Return
wild |
private function getWidth()
private function getWidth()
Return
wild |
public function __destruct()
public function __destruct()
Return
wild |