[PEAR-BUG] Req #20540 [Com]: Generator mandatory include when extending

[email protected] ("[email protected]") Tue, 5 May 2015 12:23:36 +0100 (BST)
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at https://pear.php.net/bugs/bug.php?id=20540&edit=1

 ID:               20540
 Comment by:       [email protected]
 Reported By:      stijnhau at gmail dot com
 Summary:          Generator mandatory include when extending
 Status:           Feedback
 Type:             Feature/Change Request
 Package:          DB_DataObject
 Operating System: Linux
 Package Version:  1.11.4
 PHP Version:      5.6.8
 Roadmap Versions: 
 New Comment:

Patch file has been created and added


Previous Comments:
------------------------------------------------------------------------

[2015-05-05 12:23:12] stijnhau

Added #patch
bug:20540;patch:Fix_possible_empty_include;revision:1430824992;.

------------------------------------------------------------------------

[2015-05-05 05:35:29] alan_k

-Status: Open
+Status: Feedback
Can you suggest a patch.

Regards
Alan

------------------------------------------------------------------------

[2015-05-04 15:12:55] stijnhau

Description:
------------
When we have our custom dataobjects extens the dbdataobject.
The inlcude is set in every DO.
But we have an autoload that can handle this.
We would like that is we pass
$this->databaseDetails['DataObjectConfig']['extends'] =
"PssgDataObject";
        $this->databaseDetails['DataObjectConfig']['extends_location'] =
"'.LIB_DIR.'class/PssgDataObject.php";

The extens_location as null or false that the include isn't added to the
DO

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20540&edit=1