Problem with returned from the database in class |
Hello. CodeIgniter 3.1.3 problem in the following
PHP Code: class User_lib { model PHP Code: public function get_customer() controller PHP Code: public function index() results PHP Code: D:\Ampps\www\igniter\application\controllers\Welcome.php:26: PHP Code: D:\Ampps\www\igniter\application\controllers\Welcome.php:30: Why are set value to non-public properties. In guide: The object will have all values returned from the database set as properties. If these have been declared and are non-public then you should provide a __set() method to allow them to be set. Sorry for my English |
Messages In This Thread |
Problem with returned from the database in class - by phpforever2017 - 02-24-2017, 06:19 AM
RE: Problem with returned from the database in class - by Wouter60 - 02-25-2017, 03:58 AM
RE: Problem with returned from the database in class - by ignitedcms - 02-26-2017, 08:47 AM
RE: Problem with returned from the database in class - by Wouter60 - 02-27-2017, 12:19 AM
RE: Problem with returned from the database in class - by phpforever2017 - 02-27-2017, 05:06 AM
RE: Problem with returned from the database in class - by Wouter60 - 02-27-2017, 12:42 PM
RE: Problem with returned from the database in class - by phpforever2017 - 02-28-2017, 01:57 AM
|