From: <wis...@us...> - 2015-12-07 13:02:54
|
Revision: 13177 http://sourceforge.net/p/xoops/svn/13177 Author: wishcraft Date: 2015-12-07 13:02:52 +0000 (Mon, 07 Dec 2015) Log Message: ----------- PingTrax Pre-alpha :: More done\!\!\! Removed Paths: ------------- XoopsModules/pingtrax/trunk/class/pings_sitemaps.php Deleted: XoopsModules/pingtrax/trunk/class/pings_sitemaps.php =================================================================== --- XoopsModules/pingtrax/trunk/class/pings_sitemaps.php 2015-12-07 13:02:17 UTC (rev 13176) +++ XoopsModules/pingtrax/trunk/class/pings_sitemaps.php 2015-12-07 13:02:52 UTC (rev 13177) @@ -1,73 +0,0 @@ -<?php -/** - * Pingtrax Database Class Handler module - * - * You may not change or alter any portion of this comment or credits - * of supporting developers from this source code or any supporting source code - * which is considered copyrighted (c) material of the original comment or credit authors. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * @copyright Chronolabs Cooperative http://sourceforge.net/projects/chronolabs/ - * @license GNU GPL 3 (http://labs.coop/briefs/legal/general-public-licence/13,3.html) - * @author Simon Antony Roberts <wis...@us...> - * @see http://sourceforge.net/projects/xoops/ - * @see http://sourceforge.net/projects/chronolabs/ - * @see http://sourceforge.net/projects/chronolabsapi/ - * @see http://labs.coop - * @version 1.0.1 - * @since 1.0.1 - */ - - -/** - * Class PingtraxPings_sitemaps - * - * @subpackage pingtrax - * - * Database MySQL Table:- - * - * CREATE TABLE `pingtrax_pings_sitemaps` ( - * `id` mediumint(32) NOT NULL AUTO_INCREMENT, - * `map-referer` varchar(44) NOT NULL DEFAULT '', - * `ping-referer` varchar(44) NOT NULL DEFAULT '', - * `when` int(12) NOT NULL DEFAULT '0', - * PRIMARY KEY (`id`), - * KEY `SEARCH` (`id`,`map-referer`,`ping-referer`) USING BTREE, - * KEY `CHRONOLOGISTICS` (`map-referer`,`ping-referer`,`when`) USING BTREE KEY_BLOCK_SIZE=64 - * ) ENGINE=InnoDB DEFAULT CHARSET=utf8 PACK_KEYS=1 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC KEY_BLOCK_SIZE=8; - * - */ -class PingtraxPings_sitemaps extends XoopsObject -{ - /** - * - */ - function __construct() - { - $this->XoopsObject(); - $this->initVar('id', XOBJ_DTYPE_INT, null, false); - $this->initVar('map-referer', XOBJ_DTYPE_TXTBOX, null, true, 44); - $this->initVar('ping-referer', XOBJ_DTYPE_TXTBOX, null, true, 44); - $this->initVar('when', XOBJ_DTYPE_INT, 0, false); - } - -} - -/** - * Class PingtraxPings_sitemapsHandler - */ -class PingtraxPings_sitemapsHandler extends XoopsPersistableObjectHandler -{ - - /** - * @param null|object $db - */ - function __construct(&$db) - { - parent::__construct($db, "pingtrax_pings_sitemaps", 'PingtraxPings_sitemaps', 'id', 'map-referer'); - } - - -} |