These functions help you provide functionality for Administrators.
You can use syntax of the form:
functionName()
to call these functions in your PHP code.
Name in Zenario 8
ze\admin::id()
This returns the id of the Administrator who is currently logged in.
Name in Zenario 8
ze\admin::setting()
If an administrator is logged in, this function will return the value of the named admin setting.
Name in Zenario 8
ze\priv::check()
Checks whether the current visitor is logged in as an admin, and if they have the rights to perform a named action.
Name in Zenario 8
ze\pluginAdm::paginationOptions()
You will need to make a call to function in your fillAdminBox() Method if you have a Plugin that has the option to choose a pagination style as a setting, in order to populate the pagination options.
Name in Zenario 8
ze\admin::setSetting()
This lets you update the saved value of an admin setting for the current administrator.