Thoughts on sending data to library from view |
I think view_cell() was made exactly for something like that. You call a method from a library directly in a view. It returns a block of HTML generated by your library based on the parameters it received. See http://codeigniter.com/user_guide/outgoi...cells.html
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Thoughts on sending data to library from view - by Geeklabs - 12-16-2020, 06:53 PM
RE: Thoughts on sending data to library from view - by bivanbi - 12-17-2020, 12:05 AM
RE: Thoughts on sending data to library from view - by Geeklabs - 12-17-2020, 03:08 AM
RE: Thoughts on sending data to library from view - by bivanbi - 12-17-2020, 04:08 AM
RE: Thoughts on sending data to library from view - by InsiteFX - 12-17-2020, 10:06 PM
RE: Thoughts on sending data to library from view - by includebeer - 12-18-2020, 05:05 AM
|