Function Hook_commandr_command_find_commandr_fs_filename_via_id->run
Definitions
sources/hooks/systems/commandr_commands/find_commandr_fs_filename_via_id.php
- Run function for Commandr hooks.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $options | array | No | No | required parameter | N/A | N/A | The options with which the command was called |
| $parameters | array | No | No | required parameter | N/A | N/A | The parameters with which the command was called |
| &$commandr_fs | object | Yes | No | required parameter | N/A | N/A | A reference to the Commandr filesystem object |
Returns
- Array of stdcommand, stdhtml, stdout, and stderr responses
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Run function for Commandr hooks.
*
* @param array $options The options with which the command was called
* @param array $parameters The parameters with which the command was called
* @param object $commandr_fs A reference to the Commandr filesystem object
* @return array Array of stdcommand, stdhtml, stdout, and stderr responses
*/
public function run(array $options, array $parameters, object &$commandr_fs) : array
* Run function for Commandr hooks.
*
* @param array $options The options with which the command was called
* @param array $parameters The parameters with which the command was called
* @param object $commandr_fs A reference to the Commandr filesystem object
* @return array Array of stdcommand, stdhtml, stdout, and stderr responses
*/
public function run(array $options, array $parameters, object &$commandr_fs) : array

