Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Documentation/ContentObjects/LoadRegister/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
LOAD\_REGISTER
==============

This provides a way to load the array :php:`$GLOBALS['TSFE']->register[]`
with values. It does not return anything!

The register is working like a stack: With each call new content can be
put on top of the stack. :ref:`RESTORE_REGISTER <cobj-restore-register>`
can be used to remove the element at the topmost position again.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Functions/Data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ register

.. confval:: register
:name: data-register
:Syntax: register: [field name from the :php:`$GLOBALS['TSFE']->register`]
:Syntax: register: [field name from the register stack]

See :ref:`LOAD_REGISTER <cobj-load-register>`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Further objects

* :ref:`LOAD\_REGISTER <cobj-load-register>` /
:ref:`RESTORE\_REGISTER <cobj-restore-register>` objects allow us to
fill the global array `$GLOBALS['TSFE']->register[]` with content.
fill the register stack with content.
These objects return nothing. Single values and complete TypoScript
objects can be used. In doing so, the register works as a stack: With
every call, a further element is stacked. With
Expand Down