Hello,
I am working on upgrading plugin to elgg3.0, and here i found elgg_is_registered_viewtype() & elgg_register_viewtype(), but i couldn't find alternate function of these functions or what should be instead of those functions.
Thanks.
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.
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
You must log in to post replies.Since we don't use different view types much these functions have been dropped.
I think viewtypes are automatically detected based on the folders in /views. If you wish to check if a view exists in a viewtype you can use elgg_view_exists('someview', 'your_viewtype');