Problem with Model()->find() and Model()->findAll() |
(10-06-2019, 01:22 PM)dave friend Wrote: Tell us about BaseModel. Does it extend CodeIgniter\Model? What are your namespace statements? I have app/Models/BaseModel which extends CodeIgniter\Model and contains some methods specific for my project. PHP Code: namespace App\Models; All my model extends BaseModel, and before update to last version I don't call __construct() in sub classes. For example, i put code of one class which building menu. I rewrited it with MenuModel()->get()->getResutArray(), because findAll() don't work after all. PHP Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |