Visibility of Methods in Models |
Question? If i load model (Xpto_model) that extends MY_Model, that extends CI_Model and call a protected method from MY_Model. Should be work? $this->load->model("Xpto_model"); $this->Xpto_model->protectedMethodFromMyModel(); Its actual working, but i think it should not work. Because if i transfer the method to Xpto_model a correct errors appears. |
Messages In This Thread |
Visibility of Methods in Models - by solanogalema - 12-18-2016, 11:45 PM
RE: Visibility of Methods in Models - by HTLove - 12-19-2016, 06:17 AM
RE: Visibility of Methods in Models - by solanogalema - 12-19-2016, 09:12 AM
|