Hi,
I have implemented two different objects which are Node (extends ElggObject) and Club (extends ElggGroup). The Nodes are used to build a tree and have a method move() to change parent Node in the tree. The Clubs are leaves to the tree and can also move from one Node to another.
I would like to reuse the move() method between these classes (horizontal re-use). Do you have any suggestions how to best implement this?
Thanks in advance!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.