From 1e40ddd2025df559be8f4cc14c54ce816a979e84 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 23 Jun 2010 12:08:18 +0000 Subject: [PATCH] Doc --- dev/skeletons/build_class_from_table.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dev/skeletons/build_class_from_table.php b/dev/skeletons/build_class_from_table.php index 010aff951a9..6527041c43f 100644 --- a/dev/skeletons/build_class_from_table.php +++ b/dev/skeletons/build_class_from_table.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2008-2010 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -66,6 +66,12 @@ if ($db->type != 'mysql' && $db->type != 'mysqli') // Show parameters print 'Tablename='.$argv[1]."\n"; + + +//-------------------------------- +// Build skeleton_class.class.php +//-------------------------------- + $table=$argv[1]; $property=array(); $foundprimary=0; @@ -355,8 +361,11 @@ if ($fp) else $error++; +//-------------------------------- +// Build skeleton_script.php +//-------------------------------- -// Read skeleton_class.class.php file +// Read skeleton_script.php file $skeletonfile='skeleton_script.php'; $sourcecontent=file_get_contents($skeletonfile); if (! $sourcecontent)