I'm looking to make a site that extends the Groups class into an Organization class. I want to do this because I want to draw a distinction between user created groups and official organization pages. I figured that extending Groups was the best way to get all the Group functionality.
There is an example in the docs that shows a simple example of extending groups and it includes the elgg_register_entity_type call. I looked it up and it says that this is to register the entity as a subtype for search results. I do not want this functionality. So I'm going to just declare the subclass as it's own type. I just wanted to make sure there were no extraneous repercussions. Would leaving this call out of the class definition mess up the system in any other way?
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.
- Matt Beckett@Beck24

Matt Beckett - 0 likes
You must log in to post replies.Look at how the blog plugin extends the ElggObject class, just do the same thing with ElggGroup