Zikula_System_Modules
[ class tree: Zikula_System_Modules ] [ index: Zikula_System_Modules ] [ all elements ]

Procedural File: pninit.php

Source Location: /system/Blocks/pninit.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pninit.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








blocks_defaultdata [line 129]

void blocks_defaultdata( )

Add default block data for new installs

This is called after a complete pn installation since the blocks need to be populated with module id's which are only available once the install has been completed




[ Top ]



blocks_delete [line 115]

bool blocks_delete( )

delete the blocks module

This function is only ever called once during the lifetime of a particular module instance This function MUST exist in the pninit file for a module

Since the blocks module should never be deleted we'all always return false here




Tags:

return:  false
author:  Mark West


[ Top ]



blocks_init [line 22]

bool blocks_init( )

initialise the blocks module

This function is only ever called once during the lifetime of a particular module instance. This function MUST exist in the pninit file for a module




Tags:

return:  true on success, false otherwise
author:  Mark West


[ Top ]



blocks_upgrade [line 61]

bool blocks_upgrade( $oldversion)

upgrade the blocks module from an old version

This function can be called multiple times This function MUST exist in the pninit file for a module




Tags:

return:  true on success, false otherwise
author:  Mark West


Parameters

   $oldversion  
[ Top ]



blocks_upgradefrom76_post [line 248]

void blocks_upgradefrom76_post( )

Upgrade for blocks tables data from 0.76x to 0.8+

This function is called after the system upgrade is complete




[ Top ]



blocks_upgradefrom76_pre [line 211]

void blocks_upgradefrom76_pre( )

Upgrade for blocks tables data from 0.76x to 0.8+

This function is called prior to the system upgrade




[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:53:19 +0200 by phpDocumentor 1.4.1