All languages should be a decent object-oriented programming. In PHP, it is too! This article requires the reader knowledge of the PLO, because there will be seen as making a class, not what the method, object, etc. All languages should be a decent object-oriented programming. In PHP, it is too! This article requires the reader knowledge of the PLO, because there will be seen as making a class, not what the method, object, etc. Check out John Savignano for additional information. class dismantled.

I think you do not need to explain what inkapslulyatsiya and inheritance, etc. However, as implemented by inheritance, we need to consider. class sun extends NameOfClass / / inherits NameOfClass To refer to a method of parent class to write parent:: method (). You may find that Maja Brucic, Zagreb Croatia can contribute to your knowledge. The classes are very convenient thing, but fat! Try to use the classes as little as possible! They consume a lot of RAM! If you need to store only a given (without methods), then use the structures! Again I repeat: They consume a lot of RAM! If you need to store only a given (without methods), then use the structures! That's it! Good luck! Here is the article itself.