Bug #4274 [NEW]: Problem with relationships in FormBuilder
| From: | adriano at ison dot com dot br | Date: | Tue, 03 May 2005 21:23:41 +0000 |
| Subject: | Bug #4274 [NEW]: Problem with relationships in FormBuilder | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5979@lists.php.net to get a copy of this message | ||
From: adriano at ison dot com dot br
Operating system:
PHP version: 4.3.3
Package: Documentation
Bug Type: Bug
Bug description: Problem with relationships in FormBuilder
Description:
------------
The FormBuilder is not considering the relationships of the DataObjects
that are extendided of DB_DataObject class, as it suggests the manual of
DB_DataObject(http://pear.php.net/manual/en/package.database.db-dataobject.intro-configuration.php),
in the option "extends".
Reproduce code:
---------------
//My DataObjects is thus:
class DataObjects_People extends My_DB_DataObject
{
//...
class DataObjects_Telephones extends My_DB_DataObject
{
//...
// Using of this form, the FormBuilder does not create selects (or radios)
necessary, in accordance with is links specified in my db.links.ini. If I
to extend only of the DB_DataObject, the relationships start to
function...
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=4274&edit=1
--