Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Command line utility functions and classes. More...
Functions | |
cli_error ($text, $errorcode=1) | |
Write to standard error output and exit with the given code. More... | |
cli_get_params (array $longoptions, array $shortmapping=null) | |
Returns cli script parameters. More... | |
cli_heading ($string, $return=false) | |
Print or return section heading string. More... | |
cli_input ($prompt, $default='', array $options=null, $casesensitiveoptions=false) | |
Get input from user. More... | |
cli_logo ($padding=2, $return=false) | |
Print an ASCII version of the Moodle logo. More... | |
cli_problem ($text) | |
Write error notification. More... | |
cli_separator ($return=false) | |
Print or return section separator string. More... | |
cli_write ($text, $stream=STDOUT) | |
Write a text to the given stream. More... | |
cli_writeln ($text, $stream=STDOUT) | |
Write a text followed by an end of line symbol to the given stream. More... | |
Command line utility functions and classes.
@subpackage cli