Welcome Guest, Not a member yet? Register   Sign In
Visibility of Methods in Models
#2

Cạn lời...

You can't call $this->Xpto_model->protectedMethodFromMyModel(); because protectedMethodFromMyModel() method protected,
Method cant call is extends class.

Link: http://php.net/manual/en/language.oop5.visibility.php
http://stackoverflow.com/questions/43615...-protected
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB