Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Using typed variables in a cell view
Post: Using typed variables in a cell view

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 (https://www.php.net/manual/ja/...
222 Views
1 Replies
06-03-2024, 02:17 AM
Fabio-Zeus-Soft
    Thread: Unable to use typed variables in a cell
Post: RE: Unable to use typed variables in a cell

kenjis Wrote: (05-30-2024, 05:21 AM) -- Try: PHP Code: -- class JustATestCell extends Cell {     public $typedVariable; } -- or PHP Code: -- class JustATestCell extends Cell {     public ...
412 Views
5 Replies
05-30-2024, 07:56 AM
Fabio-Zeus-Soft
    Thread: Unable to use typed variables in a cell
Post: RE: Unable to use typed variables in a cell

Bosborne Wrote: (05-29-2024, 04:00 AM) -- How are you passing the variable to the view? -- As you can read here (https://codeigniter4.github.io/userguide/outgoing/view_cells.html), those are made a...
412 Views
5 Replies
05-30-2024, 04:22 AM
Fabio-Zeus-Soft
  Bug Thread: Unable to use typed variables in a cell
Post: Unable to use typed variables in a cell

Hi everyone! I like using Cells in my project, especially the controlled ones. And I'd rather to use typed variables in my project. But when i try to use typed peroperties in controlled cells, I get...
412 Views
5 Replies
05-29-2024, 01:49 AM
Fabio-Zeus-Soft

Theme © iAndrew 2016 - Forum software by © MyBB