Function __global->do_next_manager_hooked

Definitions

sources/templates_donext.php

  • Get the Tempcode for a do next manager, using hooks. A do next manager is a series of linked icons that are presented after performing an action. Modules that do not use do-next pages, usually use REFRESH_PAGE's.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$title ID_TEXT No No required parameter N/A N/A The title of what we are doing (a language string)
$text ?mixed No No required parameter N/A N/A The language string codename for the docs of the hook defined do-next manager that we're creating OR Tempcode for it (null: none)
$type ID_TEXT No No required parameter N/A N/A The menu 'type' we are doing (filters out any icons that don't match it)
$main_title ?string No No Null N/A N/A The title to use for the main links (a language string) (null: same as title)

Returns

  • The do next manager
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the Tempcode for a do next manager, using hooks. A do next manager is a series of linked icons that are presented after performing an action. Modules that do not use do-next pages, usually use REFRESH_PAGE's.
 *
 * @param  ID_TEXT $title The title of what we are doing (a language string)
 * @param  ?mixed $text The language string codename for the docs of the hook defined do-next manager that we're creating OR Tempcode for it (null: none)
 * @param  ID_TEXT $type The menu 'type' we are doing (filters out any icons that don't match it)
 * @param  ?string $main_title The title to use for the main links (a language string) (null: same as title)
 * @return Tempcode The do next manager
 */

function do_next_manager_hooked(string $title, $text, string $type, ?string $main_title = null) : object