Skip to content

Commit

Permalink
docs: fix incorrect description
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Sniatala <[email protected]>
  • Loading branch information
kenjis and michalsn authored Nov 1, 2023
1 parent 7a04c51 commit b0534cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/outgoing/view_cells.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Calling a View Cell

No matter which type of View Cell you are using, you can call it from any view by using the ``view_cell()`` helper function.

The first parameter is (1) *the name of the class and method* (Simple Cell) or (2) *the name of the class* (Controlled Cell) to call,
and the second parameter is an array of parameters to pass to the method:
The first parameter is (1) *the name of the class and method* (Simple Cell) or (2) *the name of the class and optional method* (Controlled Cell) to call,
and the second parameter is an array or string of parameters to pass to the method:

.. literalinclude:: view_cells/001.php

Expand Down

0 comments on commit b0534cc

Please sign in to comment.