Function Module_admin_cns_post_templates->get_form_fields

Definitions

adminzone/pages/modules/admin_cns_post_templates.php

  • Get Tempcode for a Post Template adding/editing form.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$title SHORT_TEXT Blank (empty string) N/A N/A The title (name) of the Post Template
$text LONG_TEXT Blank (empty string) N/A N/A The actual Post Template text
$forum_multi_code SHORT_TEXT Blank (empty string) N/A N/A Multi-code identifying forums it is applicable to
$use_default_forums BINARY 0 N/A N/A Whether to use as the default post for applicable forums

Return

  • A pair: The input fields, Hidden fields
  • Type: array
  • Set: N/A
  • Range: N/A