Function __global->lorem_globalise

Definitions

sources/lorem.php

  • Lorem version of globalise. It will wrap the input into something that is "stable XHTML" and thus can work inside an XHTML editor.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$middle Tempcode No No required parameter N/A N/A The Tempcode to put into a nice frame
$message ?mixed No No Null N/A N/A 'Additional' message (null: none)
$type string No No Blank (empty string) inform warn "" N/A The type of special message
$include_header_and_footer boolean No No False N/A N/A Whether to include the header/footer/panels

Returns

  • Standalone page
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Lorem version of globalise. It will wrap the input into something that is "stable XHTML" and thus can work inside an XHTML editor.
 *
 * @param  Tempcode $middle The Tempcode to put into a nice frame
 * @param  ?mixed $message 'Additional' message (null: none)
 * @param  string $type The type of special message
 * @set inform warn ""
 * @param  boolean $include_header_and_footer Whether to include the header/footer/panels
 * @return Tempcode Standalone page
 */

function lorem_globalise(object $middle, $message = null, string $type = '', bool $include_header_and_footer = false) : object