nciri / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator
0 stars 0 forks source link

namespace does not work. #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $./zend-db-model-generator.php --database reddot --table products --zfv 1 
--namespace A
2. shows the warning message:
PHP Warning:  Missing argument 3 for MakeDbTableAbstract::__construct(), called 
in /zendDBModelGen/class/MakeDbTablev1.php on line 45 and defined in 
/zendDBModelGen/class/MakeDbTableAbstract.php on line 375
PHP Notice:  Undefined variable: namespace in 
/zendDBModelGen/class/MakeDbTableAbstract.php on line 379
done!

3. codes were generated with class name without namespace.

What is the expected output? What do you see instead?
Ans: no warning message.

What version of the product are you using? On what operating system?
Ans: 0.7, Mac OS 10.7

Please provide any additional information below.
in file MakeDbTablev1.php line #45:
        parent::__construct($config, $dbname,$namespace); // <-- updated
        //parent::__construct($config, $dbname); // <-- original defect

Original issue reported on code.google.com by cotton5...@gmail.com on 8 Jul 2012 at 3:19

Attachments:

GoogleCodeExporter commented 8 years ago
thanks. committed the fixed.

Original comment by kfirufk@gmail.com on 26 Jul 2012 at 9:08