Function Module_cms_news_cat->get_form_fields

Definitions

cms/pages/modules/cms_news.php

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

Parameters

Name Type Default Set Range Description
$id ?AUTO_LINK Null N/A N/A The news category ID (null: new)
$title SHORT_TEXT Blank (empty string) N/A N/A The title of the news category
$img SHORT_TEXT Blank (empty string) N/A N/A The news category image
$notes LONG_TEXT Blank (empty string) N/A N/A Notes relating to the news category
$owner ?MEMBER Null N/A N/A The owner of the news category (null: public)
$category_id ?AUTO_LINK Null N/A N/A The ID of this news category (null: we haven't added it yet)

Return

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