We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba63308 commit 2b530feCopy full SHA for 2b530fe
1 file changed
user_guide_src/source/outgoing/view_renderer.rst
@@ -46,6 +46,20 @@ script. You will have to give each escaped value a unique parameter name.
46
No special meaning is attached to parameters whose value is an array. It is up
47
to you to process the array appropriately in your PHP code.
48
49
+Setting View Parameters
50
+=======================
51
+
52
+The :php:meth:`setVar() <CodeIgniter\\View\\View::setVar()>` method sets a view parameter.
53
54
+.. literalinclude:: view_renderer/008.php
55
+ :lines: 2-
56
57
+The :php:meth:`setData() <CodeIgniter\\View\\View::setData()>` method sets multiple view
58
+parameters at once.
59
60
+.. literalinclude:: view_renderer/007.php
61
62
63
Method Chaining
64
===============
65
0 commit comments