Welcome!

This community is for professionals and enthusiasts of our products and services.Share and discuss the best content and new marketing ideas,build your professional profile and become a better marketer together.

Register
1

How can I change an inherit method on an extended model?

By
Diogo Duarte
on 11/4/15, 10:25 PM396 views

How can I change an inherit method on an extended model?


0
Diogo Duarte
On11/4/15, 10:25 PM

By declaring a method with the same name, the method will replace the previous one. In this case, it's best to avoid changing the method's parameters so the existing calls on it will keep working properly. In case you need to add additional parameters, you can make them optional with the default value keyword. 


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, justuse the commenting tool. Please remember that you can alwaysrevise your answers - no need to answer the same question twice. Also, pleasedon't forget to vote - it really helps to select the best questions and answers!

Keep Informed

About This Community

This community is for professionals and enthusiasts of our products and services.Share and discuss the best content and new marketing ideas,build your professional profile and become a better marketer together.

Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/4/15, 10:25 PM
Seen: 396 times
Last updated: 11/5/15, 1:25 AM