I have created a class which extends ElggObject. I have put this in
'classes' folder of my plugin.
I can instantiate( new MyClass() ) this class like this works fine .And I
can save the details in to my class instance, works fine.
I can retrieve all my class objects using elgg_get_entities() with type as
'object' and subtype as sub type defined in my class.
Issue is, objects returned by elgg_get_entities() are not an 'instanceof'
of my class but instance of ElggObject.
Please tell me if I need to take care any thing for this to work