modules.mymvc.MVC Class
the class for to implement the MVC design pattern
Methods
init
MVC
public
the initial entry for a new MVC instance,and it will inital the model/view/controller/notify when the instance is created!
Parameters:
-
view
View
-
controller
Controller
-
model
Model
Returns:
MVC:
an instance of MVC