object &admin_panel::instance (&$admin_panel_object = 0);
When called without arguments this function returns the reference to the existing admin_panel instance or null. If there's no instance, it can be set using the optional argument. This function dies if an instance is set twice.
You should create an admin_panel instance in your application's init() function.
function init () { $ui =& new admin_panel ( $this, $GLOBALS['SERVER_NAME'] . ' archive administration' ); admin_panel::instance ($ui); }