Commandr.
package | commandr |
---|
__construct(string $inputted_command, \?array $prior_output= null
, \?array $parameters= null
)
string
The inputted command, unparsed
\?array
An array of prior output to be prepended (null: none)
\?array
An array of prior parameters (null: none)
output_html(boolean $blank_ok = false
) : \~Tempcode
boolean
Whether it is okay to have blank output
\~Tempcode
The HTML (false: error)output_xml() : boolean
boolean
Success?parse_input()
return_output() : \~array
\~array
The output (false: failure)return_parse_tree() : \~array
\~array
The parse tree (false: failure)_array_to_html(array $array) : \Tempcode
array
Array to display
\Tempcode
Tempcode for array_array_to_text(array $array, integer $indentation = 0
) : string
array
Array to display
integer
Global indentation
string
Text representation of array_check_is_redirection() : boolean
boolean
Redirection instruction?_combine_streams(array $stream1, array $stream2) : array
array
Stream 1
array
Stream 2
array
Combined streams_do_indentation(integer $indentation) : string
integer
Number of tabs to return
string
Tabs_extract_command()
_extract_extras()
_extract_parameters()
_find_script_file(string $script_name, \?string $dir = null
) : \~string
string
Script name
\?string
Directory (null: Commandr module data dir)
\~string
Path or failure (false: failure)_handle_php_command()
$current_input
$fs
$input_parameters
$output
$parse_runtime
$parsed_input