CI4 libaries function call in VIEW |
(10-27-2020, 02:47 PM)includebeer Wrote: I have an error in my example, remove the ] at the end: Sorry sir, my bad again but still getting below message ArgumentCountError Too few arguments to function App\Libraries\Product::__construct(), 0 passed in H:\xampp749\htdocs\aks\system\View\Cell.php on line 123 and exactly 2 expected after reading Quote:The only restriction is that the class can not have any constructor parameters. This is intended to be used within views, and is a great aid to modularizing your code. is that what error ??? |
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
|