I have to models that are practically the same, just diferent table in db and a new field,
So is there a way in zend framework so I can inhert from the first class? and just change these two things?
The same for the controlles and view.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can extends those classes like any other php class by using the “extend” call.
the same goes for controllers, but not views, as those are not classes, just php files, but You could use render method inside one view to render another view.