Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.3

Bug #15209 Property for classes could not be mixed or object
Submitted: 2008-12-02 13:46 UTC
From: metal3d Assigned:
Status: Open Package: CodeGen_PECL (version 1.1.2)
PHP Version: 5.2.6 OS: Linux Fedora 9
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-02 13:46 UTC] metal3d (Patrice Ferlet)
Description: ------------ I need to add other type on class as property, like object or array... But It doesn't works at all. Only intergers, doubles and strings are allowed... Booleans don't works. Test script: --------------- <!-- trying to set test property to be other than int or string --> <class name="Person"> <property name="test" type="array" access="public"/> </class> Expected result: ---------------- working Actual result: -------------- [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'object' is not a valid property type in ./monextension.xml on line 71:35 [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'mixed' is not a valid property type in ./monextension.xml on line 71:35 [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'array' is not a valid property type in ./monextension.xml on line 71:35 [pafer@localhost extension2]$ pecl-gen -f ./monextension.xml 'bool' is not a valid property type in ./monextension.xml on line 71:35

Comments