From a8ddee58335a5c7b21a50e68fb5ac8d8e50bdc8c Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 1 Aug 2017 13:43:40 +0000 Subject: [PATCH] domci update git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3859 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayeroo.php | 2 +- tools/sqlMigrate.php | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dblayeroo.php b/dblayeroo.php index 5f880d4..600a93e 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -2848,7 +2848,7 @@ class dblayeroo $this->DBException ("execute : command not defined : no RC"); } } - /* }}} */ + /* }}} */ /** Execute a non prepared query in the database context. * As there is no verification, this method is DANGEROUS and should not be diff --git a/tools/sqlMigrate.php b/tools/sqlMigrate.php index c095c79..4ec61aa 100755 --- a/tools/sqlMigrate.php +++ b/tools/sqlMigrate.php @@ -1,8 +1,10 @@ #!/usr/bin/php + * + * SQL Migrate * This tool allow to migrate the data from one SQL database to another. * The DB engine can also be different. * @@ -16,8 +18,12 @@ require_once ("domframework/dblayeroo.php"); require_once ("domframework/getopts.php"); require_once ("domframework/config.php"); +/** Manage the configuration file + */ class configuration extends \config { + /** The constructor of the configuration set the differents params + */ function __construct () { $this->default = array ( @@ -42,8 +48,12 @@ class configuration extends \config } } +/** The main class + */ class main { + /** The constructor of the class do the main job + */ public function __construct () { global $argv;