(class) The properties of a passed Class will be copied into the target Class. (array) An array of Classes, the properties of which will be copied into this Class. Implements is similar to Extends, except that it adopts properties from one or more other classes without inheritance. mootools class examples MooTools MooTools Classes: How to use them This tutorial is an entrylevel introduction on working with classes in MooTools. The tutorial works with a hypothetical scenario (buying a car from a car store) to illustrate the concept of classes.
If you are sharing code with other users, there are certain conventions most mootools authors try to adhere to when releasing plugins or contributing to the core and more forks. for example, if the class relates to an element or an array of elements, always set this. element document. id(el); etc. mootools class examples