Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pninit.php

Procedural File: pninit.php

Source Location: /News/pninit.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pninit.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








News_delete [line 145]

bool News_delete( )

delete the News 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:  Xiaoyu Huang


[ Top ]



News_init [line 23]

bool News_init( )

initialise the News 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:  Xiaoyu Huang


[ Top ]



News_upgrade [line 56]

bool News_upgrade( $oldversion)

upgrade the News 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:  Xiaoyu Huang


Parameters

   $oldversion  
[ Top ]



_news_createdefaultcategory [line 272]

void _news_createdefaultcategory( [ $regpath = '/__SYSTEM__/Modules/Global'])





Parameters

   $regpath  
[ Top ]



_news_createtopicscategory [line 317]

void _news_createtopicscategory( [ $regpath = '/__SYSTEM__/Modules/Topics'])





Parameters

   $regpath  
[ Top ]



_news_migratecategories [line 168]

void _news_migratecategories( )

migrate old local categories to the categories module





[ Top ]


Packages:

Files:

Classes: