#6408: XML serialization class could be more customizable
---------------------------+------------------------------------------------
Reporter: eglasser | Type: Enhancement
Status: new | Priority: Medium
Milestone: 1.2.x.x | Component: General
Version: 1.2 Final | Severity: Normal
Keywords: | Php_version: n/a
Cake_version: 1.2.3.8166 |
---------------------------+------------------------------------------------
I'm trying to generate XML in a particular format for consumption as a
REST service. One thing I'd like to be able to do is add a type="integer"
attribute for whichever subobjects are integers. While poring over the
code in xml.php, it looks like I can do this by adding some code to the
XmlNode::normalize method -- but I'd much rather not modify Cake libraries
directly. I don't see any way to customize this without knowing in advance
which tags to add this attribute to (and possibly not even then). I'd like
to request a hook that would allow me to do this.
Ethan
--
Ticket URL: <https://trac.cakephp.org/ticket/6408>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---