|
From: <txm...@us...> - 2014-06-07 10:22:33
|
Revision: 12568
http://sourceforge.net/p/xoops/svn/12568
Author: txmodxoops
Date: 2014-06-07 10:22:26 +0000 (Sat, 07 Jun 2014)
Log Message:
-----------
- Fixed bugs
- Deleted duplicated code
- Updated
- Work in progress
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_about.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_changelog.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/formelements.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_comments.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_common.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_install.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_jquery.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_notifications.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_search.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_admin.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_blocks.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_help.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_main.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_modinfo.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql_files.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_footer.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_header.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_index.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_notification_update.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_pages.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_print.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_rss.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_submit.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_templates.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_xoopsversion.php
Added Paths:
-----------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tablefields.php
Removed Paths:
-------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tables_fields.php
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/abstract.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -27,25 +27,32 @@
abstract class TDMCreateAbstract
{
/**
- * "module" attribute of the files
+ * "module" attribute fot files
*
* @var mixed
*/
- private $module = null;
+ protected $module = null;
/**
- * "table" attribute of the files
+ * "table" attribute fot files
*
* @var mixed
*/
- private $table = null;
+ protected $table = null;
/**
- * "field" attribute of the files
+ * "tables" attribute fot files
*
* @var mixed
*/
- private $fields = null;
+ protected $tables = null;
+
+ /**
+ * "fields" attribute fot files
+ *
+ * @var mixed
+ */
+ protected $fields = null;
/**
* public function setFileName
@@ -80,6 +87,22 @@
}
/**
+ * public function setTables
+ * @param mixed $tables
+ */
+ public function setTables($tables) {
+ $this->tables = $tables;
+ }
+
+ /*
+ * @public function getTables
+ * @param null
+ */
+ public function getTables() {
+ return $this->tables;
+ }
+
+ /**
* @public function setFields
* @param mixed $fields
*/
@@ -96,7 +119,7 @@
}
/**
- * Generates output for the files.
+ * Generates output for files.
*
* This method is abstract and must be overwritten by the child classes.
*
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_about.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_about.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_about.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,11 +23,6 @@
class AdminAbout extends TDMCreateFile
{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_footer.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,11 +23,6 @@
class AdminFooter extends TDMCreateFile
{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param string $modules
* @param string $filename
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_header.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,18 +23,6 @@
class AdminHeader extends TDMCreateFile
{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_index.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class AdminIndex extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_menu.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class AdminMenu extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_pages.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -25,16 +25,8 @@
/*
* @var string
*/
- private $adminobjects = null;
+ private $adminobjects = null;
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
@@ -288,7 +280,7 @@
foreach(array_keys($fields_all) as $f)
{
$field_name = $fields_all[$f]->getVar('field_name');
- if($f == 1) {
+ if($f == 0) {
$fpif = $field_name;
}
if($fields_all[$f]->getVar('field_main') == 1) {
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_permissions.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class AdminPermissions extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/admin_templates.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,10 +23,6 @@
class AdminTemplates extends HtmlSmartyCodes
{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/architecture.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -342,23 +342,23 @@
// Include Comments File
$includeComments = IncludeComments::getInstance();
$includeComments->write($module, $table);
- $ret[] = $includeComments->getCommentsIncludes($module, 'comment_edit');
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_edit');
// Include Comments File
$includeComments = IncludeComments::getInstance();
$includeComments->write($module, $table);
- $ret[] = $includeComments->getCommentsIncludes($module, 'comment_delete');
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_delete');
// Include Comments File
$includeComments = IncludeComments::getInstance();
$includeComments->write($module, $table);
- $ret[] = $includeComments->getCommentsIncludes($module, 'comment_post');
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_post');
// Include Comments File
$includeComments = IncludeComments::getInstance();
$includeComments->write($module, $table);
- $ret[] = $includeComments->getCommentsIncludes($module, 'comment_reply');
+ $ret[] = $includeComments->renderCommentsIncludes($module, 'comment_reply');
// Include Comments File
$includeComments = IncludeComments::getInstance();
$includeComments->write($module, $table);
- $ret[] = $includeComments->getCommentsNew($module, 'comment_new');
+ $ret[] = $includeComments->renderCommentsNew($module, 'comment_new');
}
if ( ($table_user == 1) && ($table_notifications == 1)){
// User Notification Update File
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_files.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class BlocksFiles extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/blocks_templates.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class BlocksTemplates extends HtmlSmartyCodes
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/class_files.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,24 +21,13 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
require_once 'formelements.php';
class ClassFiles extends TDMCreateFormElements
-{
+{
/*
* @var string
*/
- private $tdmcfile = null;
+ private $formelements = null;
+
/*
- * @var string
- */
- private $formelements = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/css_styles.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,12 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class CssStyles extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_changelog.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_changelog.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_changelog.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,12 +23,8 @@
}
class DocsChangelog extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/docs_files.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,12 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class DocsFiles extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/file.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -78,6 +78,16 @@
private $mode = null;
/*
+ * @var string
+ */
+ protected $tdmcfile = null;
+
+ /*
+ * @var string
+ */
+ protected $tdmcreate = null;
+
+ /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/formelements.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/formelements.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/formelements.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class TDMCreateFormElements extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $module = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
@@ -256,6 +248,7 @@
* @param string $language
* @param string $module_name
* @param string $table_name
+ * @param string $fields
* @param string $required
*/
public function getXoopsFormTopic($language, $module_name, $table_name, $fields, $required = 'false')
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_comments.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_comments.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_comments.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeComments extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
@@ -61,9 +53,10 @@
}
/*
* @public function getCommentsIncludes
+ * @param string $module
* @param string $filename
*/
- public function getCommentsIncludes($module, $filename)
+ public function renderCommentsIncludes($module, $filename)
{
$module_name = strtolower($module->getVar('mod_name'));
$content = $this->getHeaderFilesComments($module, $filename.'.php');
@@ -77,9 +70,9 @@
/*
* @public function getCommentsNew
* @param string $module
- * @param string $file_name
+ * @param string $filename
*/
- public function getCommentsNew($module, $filename)
+ public function renderCommentsNew($module, $filename)
{
$module_name = strtolower($module->getVar('mod_name'));
$table_name = $this->table->getVar('table_name');
@@ -116,7 +109,7 @@
* @public function render
* @param null
*/
- public function render() {
+ /*public function render() {
$module = $this->getModule();
//$fields = $this->getFields();
$filename = $this->getFileName();
@@ -150,5 +143,5 @@
return $this->tdmcfile->renderFile();
break;
}
- }
+ }*/
}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_common.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_common.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_common.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,12 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeCommon extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_functions.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_functions.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,12 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeFunctions extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_install.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_install.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_install.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeInstall extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_jquery.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_jquery.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_jquery.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,12 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeJquery extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_notifications.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_notifications.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_notifications.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeNotifications extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_search.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_search.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/include_search.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class IncludeSearch extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_admin.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_admin.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_admin.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class LanguageAdmin extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_blocks.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_blocks.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_blocks.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class LanguageBlocks extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_help.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_help.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_help.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,11 +23,6 @@
class LanguageHelp extends TDMCreateFile
{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_main.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_main.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_main.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class LanguageMain extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_modinfo.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_modinfo.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/language_modinfo.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class LanguageModinfo extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql_files.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql_files.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/sql_files.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,24 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class SqlFile extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $tdmcreate = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Added: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tablefields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tablefields.php (rev 0)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tablefields.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -0,0 +1,77 @@
+<?php
+/*
+ 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.
+ */
+/**
+ * tdmcreate module
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package tdmcreate
+ * @since 2.5.0
+ * @author Txmod Xoops http://www.txmodxoops.org
+ * @version $Id: tablefields.php 12258 2014-01-02 09:33:29Z timgno $
+ */
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+require_once 'abstract.php';
+class TableFields extends TDMCreateAbstract
+{
+ /*
+ * @public function constructor
+ * @param mixed $table
+ */
+ public function __construct() {
+
+ }
+ /*
+ * @param string $method
+ * @param array $args
+ */
+ public function __call($method, $args)
+ {
+ $arg = isset($args[0]) ? $args[0] : null;
+ return $this->getVar($method, $arg);
+ }
+ /*
+ * @static function &getInstance
+ * @param null
+ */
+ public static function &getInstance()
+ {
+ static $instance = false;
+ if (!$instance) {
+ $instance = new self();
+ }
+ return $instance;
+ }
+ /*
+ * @public function getTableFields
+ * @param integer $index
+ */
+ public function getTableFields(integer $index) {
+ if(!is_array($this->table)) {
+ $fields = $this->table->getVar('table_fields');
+ } else {
+ $fields = $this->table[$index]->getVar('table_fields');
+ }
+ return explode('|', $fields);
+ }
+ /*
+ * @public function getTableParameters
+ * @param integer $index
+ */
+ public function getTableParameters(integer $index) {
+ if(!is_array($this->table)) {
+ $parameters = $this->table->getVar('table_parameters');
+ } else {
+ $parameters = $this->table[$index]->getVar('table_parameters');
+ }
+ return explode('|', $parameters);
+ }
+}
\ No newline at end of file
Deleted: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tables_fields.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tables_fields.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/tables_fields.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -1,83 +0,0 @@
-<?php
-/*
- 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.
- */
-/**
- * tdmcreate module
- *
- * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
- * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
- * @package tdmcreate
- * @since 2.5.0
- * @author Txmod Xoops http://www.txmodxoops.org
- * @version $Id: tables_fields.php 12258 2014-01-02 09:33:29Z timgno $
- */
-if (!defined('XOOPS_ROOT_PATH')) {
- die('XOOPS root path not defined');
-}
-
-class TablesFields
-{
- /*
- * @var mixed
- */
- public $table = null;
- /*
- * @public function constructor
- * @param mixed $table
- */
- public function __construct($table = null) {
- $this->table = $table;
- }
- /*
- * @param string $method
- * @param array $args
- */
- public function __call($method, $args)
- {
- $arg = isset($args[0]) ? $args[0] : null;
- return $this->getVar($method, $arg);
- }
- /*
- * @static function &getInstance
- * @param null
- */
- public static function &getInstance()
- {
- static $instance = false;
- if (!$instance) {
- $instance = new self();
- }
- return $instance;
- }
- /*
- * @public function getTableFields
- * @param integer $index
- */
- public function getTableFields(integer $index) {
- if(!is_array($this->table)) {
- $fields = $this->table->getVar('table_fields');
- } else {
- $fields = $this->table[$index]->getVar('table_fields');
- }
- return explode('|', $fields);
- }
- /*
- * @public function getTableParameters
- * @param integer $index
- */
- public function getTableParameters(integer $index) {
- if(!is_array($this->table)) {
- $parameters = $this->table->getVar('table_parameters');
- } else {
- $parameters = $this->table[$index]->getVar('table_parameters');
- }
- return explode('|', $parameters);
- }
-}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_footer.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_footer.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class TemplatesFooter extends HtmlSmartyCodes
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_header.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_header.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class TemplatesHeader extends HtmlSmartyCodes
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_index.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_index.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,13 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class TemplatesIndex extends HtmlSmartyCodes
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_pages.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/templates_pages.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,16 +23,8 @@
}
class TemplatesPages extends HeaderFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_footer.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_footer.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_footer.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,13 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserFooter extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_header.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_header.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_header.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,13 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserHeader extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_index.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_index.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_index.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserIndex extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_notification_update.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_notification_update.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_notification_update.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -23,11 +23,6 @@
class UserNotificationUpdate extends TDMCreateFile
{
/*
- * @var string
- */
- private $tdmcfile = null;
-
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_pages.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_pages.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_pages.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserPages extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
* @public function constructor
* @param null
*/
@@ -174,13 +166,13 @@
}
}
$lp_field_name = substr($field_name, 0, strpos($field_name, '_'));
- if(( $f > 1 ) && ($this->table->getVar('table_autoincrement') == 1)){
+ if(( $f > 0 ) && ($this->table->getVar('table_autoincrement') == 1)){
$fpe = $fields_all[$f]->getVar('field_element');
- } else {
- if ( $fields_all[$f]->getVar('field_main') == 1 ) {
- $fpmf = $field_name; // fpmf = fields parameters main field
- }
+ }
+ if ( $fields_all[$f]->getVar('field_main') == 1 ) {
+ $fpmf = $field_name; // fpmf = fields parameters main field
}
+
// Verify if this is a textarea or dhtmltextarea
if ( $fpe == 2 || $fpe == 3 ) {
$content .= <<<EOT
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_print.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_print.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_print.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserPrint extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $fields = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_rss.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_rss.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_rss.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserRss extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $fields = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_submit.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_submit.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_submit.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,20 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserSubmit extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $fields = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_templates.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_templates.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_templates.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,16 +21,8 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserTemplates extends HtmlSmartyCodes
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_xoopsversion.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_xoopsversion.php 2014-06-06 15:19:10 UTC (rev 12567)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/class/files/user_xoopsversion.php 2014-06-07 10:22:26 UTC (rev 12568)
@@ -21,24 +21,13 @@
defined('XOOPS_ROOT_PATH') or die('Restricted access');
class UserXoopsVersion extends TDMCreateFile
-{
+{
/*
- * @var string
- */
- private $tdmcfile = null;
- /*
* @var array
*/
- private $keywords = array();
+ private $keywords = array();
+
/*
- * @var string
- */
- private $table = null;
- /*
- * @var string
- */
- private $tables = null;
- /*
* @public function constructor
* @param null
*/
|