Source for file pntables.php
Documentation is available at pntables.php
* Zikula Application Framework
* @copyright (c) 2002, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: pntables.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_System_Modules
* @license http://www.gnu.org/copyleft/gpl.html
* This function is called internally by the core whenever the module is
* loaded. It adds in the information
* @return array pntables array
// Set the column names. Note that the array has been formatted
// on-screen to be very easy to read by a user.
$pntable['admin_category_column'] = array('cid' => 'pn_cid',
'description' => 'pn_description');
$pntable['admin_category_column_def'] = array('cid' => "I NOTNULL AUTO PRIMARY",
'catname' => "C(32) NOTNULL DEFAULT ''",
'description' => "C(254) NOTNULL DEFAULT ''");
// Set the column names. Note that the array has been formatted
// on-screen to be very easy to read by a user.
$pntable['admin_module'] = $admin_category;
$pntable['admin_module_column'] = array('id' => 'pn_amid',
$pntable['admin_module_column_def'] = array('id' => "I NOTNULL AUTO PRIMARY",
'mid' => "I NOTNULL DEFAULT 0",
'cid' => "I NOTNULL DEFAULT 0");
$pntable['admin_module_column_idx'] = array ('mid_cid' => array('mid', 'cid'),
// Return the table information
|