Welcome Guest, Not a member yet? Register   Sign In
call to different models placed in different folders
#1

[eluser]amitweb1[/eluser]
Hi,
In my project there is two types of users admin and clients each one is placed in different folders,one in admin and one in client folder. My question is can i access client's model from the admin's controller or vice-versa.If yes than how
#2

[eluser]mast3rpyr0[/eluser]
Are you not able to use a database to determine what type of user they are, either admin or client? That way you can use the same models for both, just make necessary changes based on what the database tells you they are.




Theme © iAndrew 2016 - Forum software by © MyBB