Source for file pnadmin.php
Documentation is available at pnadmin.php
* Zikula Application Framework
* @copyright (c) 2001, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: pnadmin.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_System_Modules
* the main administration function
* This function is the default function, and is called whenever the
* module is called without defining arguments.
* As such it can be used for a number of things, but most commonly
* it either just shows the module menu and returns or calls whatever
* the module designer feels should be the default function (often this
* is the view() function)
* @author The Zikula Development Team
* @return output The main module admin page.
// create an output object
// Return the output that has been generated by this function
return $pnRender->fetch('authpn_admin_main.htm');
* This is a standard function to modify the configuration parameters of the
* @author The Zikula Development Team
* @return output The configuration page
// Assign all module variables
// Return the output that has been generated by this function
return $pnRender->fetch('authpn_admin_modifyconfig.htm');
* Update the configuration
* This is a standard function to update the configuration parameters of the
* module given the information passed back by the modification form
* @author The Zikula Development Team
* @param bold print items in bold
* @param itemsperpage number of items per page
// confirm the forms auth key
// Let any other modules know that the modules configuration has been updated
pnModCallHooks('module','updateconfig', 'AuthPN', array('module' => 'AuthPN'));
// the module configuration has been updated successfuly
|