joomla - How does my MVC controller query one database table before writing to another? -
i working on custom joomla mvc component.
my view has form user enters id. have retrieved id ($input_id) in controller. need query database name id = $input_id, write name different database table.
can done within controller or have pass variables model somehow? not sure of correct way achieve within mvc framework.
all data , data manipulation should done in model (e.g. model data). controller there determine path of execution , methods should called (e.g. manager aka controller determines needs done).
have @ tutorial understand mvc joomla better taking through development of simple component.
Comments
Post a Comment