コントローラーから同じモジュール内にモデルをロードしようとしています。
$this->load->model('pendingAccountModel');
しかし、モデルをロードできませんでした。
モジュール dir はアカウントです。
モデル ファイルのパスは次のとおりです: app/modules/accounts/models/pendingAccountModel.php
モデルの宣言は次のとおりです。
class PendingAccountModel extends Model {
function __construct(){
parent::__construct();
}
}
これは、モデルをロードするコントローラーです。
class PendingAccount extends MX_Controller {
function __construct(){
parent::__construct();
}
function register($data_arr)
{
$this->load->model('pendingAccountModel');
}
}
CI 1.72 と最新の hmvc ありがとう