Function Module_admin_cns_post_templates->_import_stock_response

Definitions

adminzone/pages/modules/admin_cns_post_templates.php

  • Import a stock response.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$path PATH No No required parameter N/A N/A Path of the file (not on disk, just for reference as a title)
$data string No No required parameter N/A N/A Data
$target_forum SHORT_TEXT No No required parameter N/A N/A The forum multicode identifying where the multi-moderation is applicable

Preview

Code (PHP)

/**
 * Import a stock response.
 *
 * @param  PATH $path Path of the file (not on disk, just for reference as a title)
 * @param  string $data Data
 * @param  SHORT_TEXT $target_forum The forum multicode identifying where the multi-moderation is applicable
 */

public function _import_stock_response(string $path, string $data, string $target_forum)