Function __global->push_output_state
Definitions
sources/global3.php
- Push the output state on the stack and create a fresh one.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $just_tempcode | boolean | No | No | False | N/A | N/A | Whether to only restore the Tempcode execution part of the state |
| $true_blank | boolean | No | No | False | N/A | N/A | Whether to go for a completely blank state (no defaults!), not just a default fresh state |
Preview
Code (PHP)
/**
* Push the output state on the stack and create a fresh one.
*
* @param boolean $just_tempcode Whether to only restore the Tempcode execution part of the state
* @param boolean $true_blank Whether to go for a completely blank state (no defaults!), not just a default fresh state
*/
function push_output_state(bool $just_tempcode = false, bool $true_blank = false)
* Push the output state on the stack and create a fresh one.
*
* @param boolean $just_tempcode Whether to only restore the Tempcode execution part of the state
* @param boolean $true_blank Whether to go for a completely blank state (no defaults!), not just a default fresh state
*/
function push_output_state(bool $just_tempcode = false, bool $true_blank = false)

