This plugin is for demonstration purposes only. It will get you started on how to create and manage your own Entity type with the phloor framework.
All in all it consists of ~100 lines of actual php code (without comments and language strings)! You will see how easy it is to create your own entity type using phloor.
This example is kept short and simple and just for your understanding of the inner mechanismns of phloor - it will only show you the minimum of whats possible to create your own entity.
If you want to see more sophisticated examples view the 1.8.3 versions of the following plugins:
An entity controlled by phloor is automatically able to be: created/edited/deleted/viewed/listed! Everything from routing and displaying the pages 'all', 'owner', 'friends', 'edit', 'add', 'view' to defining the create/update/delete actions is done by phloor.
The only thing you need to do is:
You will not lose the flexibility given to you by Elgg since you can always take the whole control over your entity back. You can also implement partial things which would otherwise be automatically handled by phloor - but that will not be covered in this plugin.
Attributes of the starter ENTITY are:
It uses the following phloors entity object hooks:
Any suggestions are very welcome. Dont hesitate to ask questions!
/** * @version 1.8.3-12.02.22b */