Function Module_admin_custom_comcode->get_form_fields

Definitions

adminzone/pages/modules/admin_custom_comcode.php

  • Get Tempcode for a Custom Comcode tag 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 Custom Comcode tag
$description LONG_TEXT Blank (empty string) N/A N/A The description of the tag
$enabled BINARY 1 N/A N/A Whether the tag is enabled
$tag ID_TEXT this N/A N/A The actual tag code
$replace LONG_TEXT <span class="example" style="color: {color}">{content}</span> N/A N/A What to replace the tag with
$example LONG_TEXT [this color="red"]blah[/this] N/A N/A Example usage
$parameters SHORT_TEXT color=black N/A N/A Comma-separated list of accepted parameters
$dangerous_tag BINARY 0 N/A N/A Whether it is a dangerous tag
$block_tag BINARY 0 N/A N/A Whether it is a block tag
$textual_tag BINARY 1 N/A N/A Whether it is a textual tag

Return

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