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 |
---|
string
Command name
array
Options
array
Parameters (keys are the parameters, values are always set to true, i.e. it is an array of as many trues as there are parameters)
\Tempcode
Help templateexpunge_resourcefs_moniker(\ID_TEXT $resource_type, \ID_TEXT $resource_id)
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The resource ID
find_commandrfs_filename_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id, boolean $include_subpath = false
) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The resource ID
boolean
Whether to include the subpath
\?ID_TEXT
The filename (null: no match)find_guid_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The resource ID
\?ID_TEXT
The GUID (null: no match)find_id_via_commandrfs_filename(\ID_TEXT $resource_type, \ID_TEXT $filename) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The filename
\?ID_TEXT
The ID (null: no match)find_id_via_guid(\ID_TEXT $resource_guid) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The GUID
\?ID_TEXT
The ID (null: no match)find_id_via_label(\ID_TEXT $resource_type, \LONG_TEXT $_resource_label, \?string $subpath = null
) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
\LONG_TEXT
The label
\?string
The subpath (null: don't care). It may end in "/*" if you want to look for a match under a certain directory
\?ID_TEXT
The ID (null: no match)find_id_via_moniker(\ID_TEXT $resource_type, \ID_TEXT $resource_moniker) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The moniker
\?ID_TEXT
The ID (null: no match)find_ids_via_guids(array $guids) : array
package | commandr |
---|
array
The GUIDs
array
Mapping 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_TEXT
The resource type
\ID_TEXT
The resource ID
\?SHORT_TEXT
The label (null: no match)find_moniker_via_id(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : \?ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The resource ID
\?ID_TEXT
The 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_TEXT
The resource type
\ID_TEXT
The resource ID
\?LONG_TEXT
The (new) label (null: lookup for specified resource)
\?ID_TEXT
GUID to forcibly assign (null: don't force)
boolean
If we know this is new, i.e. has no existing moniker
array
A 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_TEXT
The resource type
\?object
The object (null: could not get one)remap_portable_as_resource_id(\ID_TEXT $resource_type, array $portable) : \ID_TEXT
package | commandr |
---|
\ID_TEXT
The resource type
array
Portable ID details
\ID_TEXT
The resource IDremap_resource_id_as_portable(\ID_TEXT $resource_type, \ID_TEXT $resource_id) : array
package | commandr |
---|
\ID_TEXT
The resource type
\ID_TEXT
The resource ID
array
Portable ID detailsresourcefs_logging(string $message, \ID_TEXT $type = 'warn'
)
package | commandr |
---|---|
set | inform notice warn |
string
The message
\ID_TEXT
The template to use
resourcefs_logging__start(string $level = 'notice'
)