- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Method
- @{function:xsprintf} callback for JavaScript encoding.
- Function
- Function
- Format a Javascript string, using JSON to export complex values. This function behaves like `sprintf`, except that all the normal conversions (like "%s") will be properly escaped, and additional conversions are supported:
- Function
- Method
- Base class for libphutil objects. Enforces stricter object semantics than PHP.
- Class
- Read the value of a class constant.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Class
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Perform some sanity checks against the possible diversity of PHP builds in the wild, like very old versions and builds that were compiled with flags that exclude core functionality.
- Method
- Method
- Method
- Add a file to the list of files to be uploaded.
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Show a progress bar on the console. Usage:
- Class
- Method
- Method
- Method
- Explicitly redraw the bar.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Edit a document interactively, by launching $EDITOR (like vi or nano).
- Class
- Get the name of the editor program to use. The value of the environmental variable $EDITOR will be used if available; otherwise, the `editor` binary if present; otherwise the best editor will be selected.
- Method
- Set the preferred editor program. If set, this will override all other sources of editor configuration, like $EDITOR.
- Method
- Set the fallback editor program to be used if the env variable $EDITOR is not available and there is no `editor` binary in PATH.
- Method
- Retrieve the current content.
- Method
- Set the text content to be edited.
- Method
- Get the current line offset. See setLineOffset().
- Method
- Set the line offset where the cursor should be positioned when the editor opens. By default, the cursor will be positioned at the start of the content.
- Method
- Method
- Launch an editor and edit the content. The edited content will be returned.
- Method
- Thrown when you prompt the user with @{function:phutil_console_prompt} or @{function:phutil_console_confirm} but stdin is not an interactive TTY so the user can't possibly respond. Usually this means the user ran the command with something piped into stdin.
- Class