Function Module_news->news_cat_select

Definitions

site/pages/modules/news.php

  • The UI to select a news category to view news within.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$blogs ?integer No No required parameter N/A N/A What to show (null: news and blogs, 0: news, 1: blogs)

Returns

  • The UI
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * The UI to select a news category to view news within.
 *
 * @param  ?integer $blogs What to show (null: news and blogs, 0: news, 1: blogs)
 * @return Tempcode The UI
 */

public function news_cat_select(?int $blogs) : object