CI4 libaries function call in VIEW |
In this example, they pass an array because the function expect an array as the only parameter.
For a list of parameters, I think you need to use the second example and specify the name of the parameters in a string. Try this: PHP Code: <?= view_cell('\App\Libraries\Product::Check_operation', 'final=4, operation=7']) ?> |
Messages In This Thread |
CI4 libaries function call in VIEW - by shashi - 10-26-2020, 06:15 AM
RE: CI4 libaries function call in VIEW - by includebeer - 10-26-2020, 02:28 PM
RE: CI4 libaries function call in VIEW - by shashi - 10-26-2020, 09:55 PM
RE: CI4 libaries function call in VIEW - by includebeer - 10-27-2020, 04:25 AM
RE: CI4 libaries function call in VIEW - by shashi - 10-27-2020, 05:02 AM
RE: CI4 libaries function call in VIEW - by includebeer - 10-27-2020, 02:47 PM
RE: CI4 libaries function call in VIEW - by shashi - 10-27-2020, 11:01 PM
RE: CI4 libaries function call in VIEW - by includebeer - 10-28-2020, 02:12 PM
RE: CI4 libaries function call in VIEW - by InsiteFX - 10-29-2020, 03:27 AM
RE: CI4 libaries function call in VIEW - by includebeer - 10-29-2020, 02:59 PM
RE: CI4 libaries function call in VIEW - by InsiteFX - 10-30-2020, 12:20 AM
|