cerberus478 Posted September 7, 2011 Share Posted September 7, 2011 Can a person instantiate a model? If so how do you do it. I already know how to instantiate a class thank you Quote Link to comment https://forums.phpfreaks.com/topic/246640-how-to-instantiate-a-model/ Share on other sites More sharing options...
premiso Posted September 7, 2011 Share Posted September 7, 2011 You are going to need to be less vague. A model in what sense? MVC? In order to do that you would need some type of framework assistance. If you elaborate on what your goal is etc, we can provide you with a more thorough answer. Quote Link to comment https://forums.phpfreaks.com/topic/246640-how-to-instantiate-a-model/#findComment-1266483 Share on other sites More sharing options...
xyph Posted September 7, 2011 Share Posted September 7, 2011 There's no much thing as a 'PHP model'. The term model was created to describe a type of PHP class or group of PHP classes used in the MVC design pattern. Quote Link to comment https://forums.phpfreaks.com/topic/246640-how-to-instantiate-a-model/#findComment-1266537 Share on other sites More sharing options...
cerberus478 Posted September 9, 2011 Author Share Posted September 9, 2011 hi I'm so sorry for the late reply. But I have sorted out the problem, but thank you for helping me Quote Link to comment https://forums.phpfreaks.com/topic/246640-how-to-instantiate-a-model/#findComment-1267237 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.