Function __global->do_next_manager

Definitions

sources/templates_donext.php

  • Get the Tempcode for a do next manager. 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 ?Tempcode No No required parameter N/A N/A The title of what we just did (should have been passed through get_screen_title already) (null: don't do full page)
$text Tempcode No No required parameter N/A N/A The 'text' (actually, a full HTML lump) to show on the page, provided in HTML format
$main array No No [] N/A N/A An array of entry types, with each array entry being -- an array consisting of the type codename and a URL array as per following parameters
$main_title ?string No No Null N/A N/A The title to use for the main links (null: none)
$url_add_one ?array No No Null N/A N/A The URL used to 'add-one' (null: impossible) (format: array of page, param, zone[, custom label])
$url_edit_this ?array No No Null N/A N/A The URL used to 'edit-this' (null: impossible) (format: array of page, param, zone[, custom label])
$url_edit_one ?array No No Null N/A N/A The URL used to 'edit-one' (null: impossible) (format: array of page, param, zone[, custom label])
$url_view_this ?array No No Null N/A N/A The URL used to 'view-this' (null: impossible) (format: array of page, param, zone[, custom label])
$url_view_archive ?array No No Null N/A N/A The URL used to 'view-archive' (null: impossible) (format: array of page, param, zone[, custom label])
$url_add_one_category ?array No No Null N/A N/A The URL used to 'add-one-category' (null: impossible) (format: array of page, param, zone[, custom label])
$url_edit_one_category ?array No No Null N/A N/A The URL used to 'edit-one-category' (null: impossible) (format: array of page, param, zone[, custom label])
$url_edit_this_category ?array No No Null N/A N/A The URL used to 'edit-this-category' (null: impossible) (format: array of page, param, zone[, custom label])
$url_view_this_category ?array No No Null N/A N/A The URL used to 'view-this-category' (null: impossible) (format: array of page, param, zone[, custom label])
$entry_extras array No No [] N/A N/A An array of additional entry types, with each array entry being -- an array of type codename and a URL array as before
$category_extras array No No [] N/A N/A As before, but with category types
$additional_extras array No No [] N/A N/A As before, but for an 'extra types' box of do next actions
$additional_title ?mixed No No Null N/A N/A The title to use for the extra types (null: none)
$intro ?Tempcode No No Null N/A N/A Introductory text (null: none)
$entries_title ?mixed No No Null N/A N/A Entries section title (null: default, Entries)
$categories_title ?mixed No No Null N/A N/A Categories section title (null: default, Categories)
$entry_content_type ?string No No Null N/A N/A Entry content type (null: unknown)
$category_content_type ?string No No Null N/A N/A Category content type (null: unknown)

Returns

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

Preview

Code (PHP)

/**
 * Get the Tempcode for a do next manager. 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  ?Tempcode $title The title of what we just did (should have been passed through get_screen_title already) (null: don't do full page)
 * @param  Tempcode $text The 'text' (actually, a full HTML lump) to show on the page, provided in HTML format
 * @param  array $main An array of entry types, with each array entry being -- an array consisting of the type codename and a URL array as per following parameters
 * @param  ?string $main_title The title to use for the main links (null: none)
 * @param  ?array $url_add_one The URL used to 'add-one' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_edit_this The URL used to 'edit-this' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_edit_one The URL used to 'edit-one' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_view_this The URL used to 'view-this' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_view_archive The URL used to 'view-archive' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_add_one_category The URL used to 'add-one-category' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_edit_one_category The URL used to 'edit-one-category' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_edit_this_category The URL used to 'edit-this-category' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  ?array $url_view_this_category The URL used to 'view-this-category' (null: impossible) (format: array of page, param, zone[, custom label])
 * @param  array $entry_extras An array of additional entry types, with each array entry being -- an array of type codename and a URL array as before
 * @param  array $category_extras As before, but with category types
 * @param  array $additional_extras As before, but for an 'extra types' box of do next actions
 * @param  ?mixed $additional_title The title to use for the extra types (null: none)
 * @param  ?Tempcode $intro Introductory text (null: none)
 * @param  ?mixed $entries_title Entries section title (null: default, Entries)
 * @param  ?mixed $categories_title Categories section title (null: default, Categories)
 * @param  ?string $entry_content_type Entry content type (null: unknown)
 * @param  ?string $category_content_type Category content type (null: unknown)
 * @return Tempcode The do next manager
 */

function do_next_manager(?object $title, object $text, array $main = [], ?string $main_title = null, ?array $url_add_one = null, ?array $url_edit_this = null, ?array $url_edit_one = null, ?array $url_view_this = null, ?array $url_view_archive = null, ?array $url_add_one_category = null, ?array $url_edit_one_category = null, ?array $url_edit_this_category = null, ?array $url_view_this_category = null, array $entry_extras = [], array $category_extras = [], array $additional_extras = [], $additional_title = null, ?object $intro = null, $entries_title = null, $categories_title = null, ?string $entry_content_type = null, ?string $category_content_type = null) : object