Source for file pninit.php
Documentation is available at pninit.php
* Zikula Application Framework
* @copyright (c) 2002, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: pninit.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_Value_Addons
* initialise the AvantGo module
* This function is only ever called once during the lifetime of a particular
* @link http://www.markwest.me.uk
* @return bool true if initalisation successful, false otherwise
// Set up an initial value for a module variable. Note that all module
// variables should be initialised with some value in this way rather
// than just left blank, this helps the user-side code and means that
// there doesn't need to be a check to see if the variable is set in
// the rest of the code as it always will be
// Initialisation successful
* upgrade the AvantGo module from an old version
* This function can be called multiple times
* @link http://www.markwest.me.uk
* @param 'oldversion' the previous version number of the module
* @return bool true if upgrade successful, false otherwise
// Upgrade dependent on old version number
// Code to upgrade from version 1.3 goes here
* Delete the AvantGo module
* This function is only ever called once during the lifetime of a particular
* @link http://www.markwest.me.uk
* @return bool true if deletion successful, false otherwise
// Delete any module variables
|