SQLite PHP Generator online Help
Prev | Return to chapter overview | Next |
IsLoggedInAsAdmin
![](/i/tour-under-title.gif)
Checks whether currently logged in user has admin permissions for a page.
Signature:
function IsLoggedInAsAdmin()
Example
if (!$this->IsLoggedInAsAdmin()) {
// perform some actions on a page for ordinal users
}
Prev | Return to chapter overview | Next |