commandr_make_normal_html_visible
commandr_script
do_command_help
expunge_resourcefs_moniker
find_commandrfs_filename_via_id
find_guid_via_id
find_id_via_commandrfs_filename
find_id_via_guid
find_id_via_label
find_id_via_moniker
find_ids_via_guids
find_label_via_id
find_moniker_via_id
generate_resourcefs_moniker
get_queued_messages
get_resource_commandrfs_object
remap_portable_as_resource_id
remap_resource_id_as_portable
resourcefs_logging
resourcefs_logging__end
resourcefs_logging__start
ASSIGNMENT
COMMANDRFS_DIR
COMMANDRFS_FILE
COMMAND_LONE
COMMAND_NATIVE
COMMAND_PHP
COMMAND_SCRIPT
COMMAND_SQL
IN_EXTRA_SYNTAX_ASSIGNMENT
IN_EXTRA_SYNTAX_STREAM
IN_EXTRA_VALUE
IN_OPTION
IN_OPTION_SYNTAX
IN_OPTION_VALUE
IN_PARAMETER
MODE_NORMAL
MODE_QUOTES
OUT_EXTRA
OUT_OPTION
OUT_PARAMETER
REDIRECT_APPEND
REDIRECT_IDENTIFIER
REDIRECT_INPUT
REDIRECT_OVERWRITE
REDIRECT_PIPE
RESOURCEFS_DEFAULT_EXTENSION
SECTION_COMMAND
SECTION_EXTRAS
SECTION_OPTIONS
SECTION_PARAMETERS
STREAM_IDENTIFIER
STREAM_STDCOMMAND
STREAM_STDERR
STREAM_STDHTML
STREAM_STDOUT
commandr_make_normal_html_visible(mixed $html) : \Tempcode
do_command_help(string $command, array $options, array $parameters) : \Tempcode
| package | commandr |
|---|
stringCommand name
arrayOptions
arrayParameters (keys are the parameters, values are always set to true, i.e. it is an array of as many trues as there are parameters)
\TempcodeHelp templateexpunge_resourcefs_moniker(\ID_TEXT $resource_type, \ID_TEXT $resource_id)
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
find_commandrfs_filename_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id, boolean $include_subpath = false) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
booleanWhether to include the subpath
\?ID_TEXTThe filename (null: no match)find_guid_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
\?ID_TEXTThe GUID (null: no match)find_id_via_commandrfs_filename(\ID_TEXT $resource_type, \ID_TEXT $filename) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe filename
\?ID_TEXTThe ID (null: no match)find_id_via_guid(\ID_TEXT $resource_guid) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe GUID
\?ID_TEXTThe ID (null: no match)find_id_via_label(\ID_TEXT $resource_type, \LONG_TEXT $_resource_label, \?string $subpath = null) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\LONG_TEXTThe label
\?stringThe subpath (null: don't care). It may end in "/*" if you want to look for a match under a certain directory
\?ID_TEXTThe ID (null: no match)find_id_via_moniker(\ID_TEXT $resource_type, \ID_TEXT $resource_moniker) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe moniker
\?ID_TEXTThe ID (null: no match)find_ids_via_guids(array $guids) : array
| package | commandr |
|---|
arrayThe GUIDs
arrayMapping between GUIDs and IDs (anything where there's no match will result in no array entry being present for that GUID)find_label_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : \?SHORT_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
\?SHORT_TEXTThe label (null: no match)find_moniker_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : \?ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
\?ID_TEXTThe moniker (null: no match)generate_resourcefs_moniker(\ID_TEXT $resource_type, \ID_TEXT $resource_id, \?LONG_TEXT $label= null, \?ID_TEXT $new_guid= null, boolean $definitely_new= false) : array
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
\?LONG_TEXTThe (new) label (null: lookup for specified resource)
\?ID_TEXTGUID to forcibly assign (null: don't force)
booleanIf we know this is new, i.e. has no existing moniker
arrayA triple: The moniker (may be new, or the prior one if the moniker did not need to change), the GUID, the labelget_resource_commandrfs_object(\ID_TEXT $resource_type) : \?object
| package | commandr |
|---|
\ID_TEXTThe resource type
\?objectThe object (null: could not get one)remap_portable_as_resource_id(\ID_TEXT $resource_type, array $portable) : \ID_TEXT
| package | commandr |
|---|
\ID_TEXTThe resource type
arrayPortable ID details
\ID_TEXTThe resource IDremap_resource_id_as_portable(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : array
| package | commandr |
|---|
\ID_TEXTThe resource type
\ID_TEXTThe resource ID
arrayPortable ID detailsresourcefs_logging(string $message, \ID_TEXT $type = 'warn')
| package | commandr |
|---|---|
| set | inform notice warn |
stringThe message
\ID_TEXTThe template to use
resourcefs_logging__start(string $level = 'notice')