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_Value_Addons
* Hit count table information
// Initialise table array
$pntable['hitcount_column'] = array('hitcountid' => 'pn_hitcountid',
'moduleid' => 'pn_moduleid',
'itemtype' => 'pn_itemtype',
$pntable['hitcount_column_def'] = array('hitcountid' => 'I NOTNULL AUTO PRIMARY',
'moduleid' => "I NOTNULL DEFAULT '0'",
'itemtype' => "I NOTNULL DEFAULT '0'",
'itemid' => "I NOTNULL DEFAULT '0'",
'hits' => "I8 NOTNULL DEFAULT '0'");
$pntable['hitcount_column_idx'] = array ('moduleid_itemtype_itemid' => array('moduleid', 'itemtype', 'itemid'),
// Return table information
|