Function Tempcode->attach

Definitions

sources/tempcode.php

  • Attach the specified Tempcode to the right of the current Tempcode object.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$attach mixed No No required parameter N/A N/A The Tempcode/string to attach; no special escaping is performed for you
$enable_child_merge boolean No No True N/A N/A If we've already merged the children from what we're attaching into the child tree (at bind stage) then pass as false

Preview

Code (PHP)

/**
 * Attach the specified Tempcode to the right of the current Tempcode object.
 *
 * @param  mixed $attach The Tempcode/string to attach; no special escaping is performed for you
 * @param  boolean $enable_child_merge If we've already merged the children from what we're attaching into the child tree (at bind stage) then pass as false
 */

public function attach($attach, bool $enable_child_merge = true)