[Patch] DB_DataObject
| From: | Layet Benjamin | Date: | Thu, 05 Aug 2004 04:42:46 +0000 |
| Subject: | [Patch] DB_DataObject | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-32451@lists.php.net to get a copy of this message | ||
Hi,
I had a problem with createTables.php that did not create any file.
I went through the code of Generator.php and I changed on line 127:
foreach(get_class_methods($class) as $method) {
by
foreach(get_class_methods("DB_DataObject_Generator") as $method)
{
and it worked properly afterward.
I think the problem was that get_class_methods did not return inherited
method with me...
I am using php 4.3.3 with Miracle Linux Standard Edition V2.1 and MySql
3.23.56.
I am sorry I did not have the cvs software, so I did not create a diff
file...
Thank you for your great work by the way !
Ben