When an application is finished, pop it off the application stack.
This returns the state of most global variables - preferences, the
configuration hash, the locale files - to where they were before
this application was pushed:
<?php $registry->popApp(); ?>
Routines can determine the current application:
<?php $curapp = $registry->getApp(); ?>
Find out if the current application allows guests:
<?php if ($registry->allowGuests()) { // Guest access allowed // allowGuests() checks the current app, if one is not specified } ?>
|