Using typed variables in a cell view - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Using typed variables in a cell view (/showthread.php?tid=90999) |
Using typed variables in a cell view - Fabio-Zeus-Soft - 06-03-2024 Hi there! At the moment you cannot use typed variables in cells (unless you initialize them) because they rely on get_object_vars() PHP function, which, as stated here, ignored such values. Would it be possible to replace get_object_vars with the Reflection API so such values can be considered? Source RE: Using typed variables in a cell view - Bosborne - 06-03-2024 I am sure a pull request with the solution would be appreciated. There are currently few CI4 maintainers. |