CodeIgniter v4.0.4 released |
Fail when entity->fill($data) from Array
CodeIgniter v4.0.4 Entity fill $data = $this->request->getPost(); $user = new App\Entities\User(); $user->fill($data); Original CodeIgniter v4.0.4 vendor/codeigniter4/framework/system/Entity.php Line: 118 /** * Takes an array of key/value pairs and sets them as * class properties, using any `setCamelCasedProperty()` methods * that may or may not exist. * * @param array $data * * @return \CodeIgniter\Entity */ public function fill(array $data = null) { if (! is_array($data)) { return $this; } foreach ($data as $key => $value) { $this->$key = $value; } return $this; } ------------ Es: Estoy muy agradecido, muy contento de trabajar con CI desde hace mucho tiempo, esto es un trabajo fantastico. Gracias. En: I am very grateful, very happy to work with CI for a long time, this is a fantastic job. Thank you
Thanks CI Teams
Only Use CI4 for my works Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams
Amazing work team!
Cheers
Soy Pili Rodríguez, y este es mi pequeño rincón de decoración en el mundo online. Tomando como referencia los mejores blogs de decoración, www.decorarcongusto.com nace de mi incesante búsqueda de inspiración a través de internet para decorar mi propia casa.
Good to hear this.
Please, can anyone guide me how to update my App to be compatible with PHP 7 and above. It is presently on PHP 5.6 Thanks so much.
I am familiar with WordPress and Laravel, but when it comes to CodeIgniter, I start behaving like a newbie. I might get accustomed to it within a few days.
|
Welcome Guest, Not a member yet? Register Sign In |