Pascal Borreli
|
8c0beea677
|
[Phpdoc] Cleaning/fixing
|
2011-04-23 15:18:47 +00:00 |
|
Pascal Borreli
|
b5769c52d6
|
Fixed various typo
|
2011-04-22 23:12:50 +00:00 |
|
Fabien Potencier
|
e09a0f9f80
|
Merge remote branch 'brikou/coding_standards'
* brikou/coding_standards:
removed empty lines/trailing spaces
|
2011-04-19 14:06:30 +02:00 |
|
Lukas Kahwe Smith
|
874c4b6e07
|
added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding
|
2011-04-17 17:00:42 +02:00 |
|
Brikou CARRE
|
e898445b94
|
removed empty lines/trailing spaces
|
2011-04-15 21:12:02 +02:00 |
|
Brouznouf
|
86343b43ec
|
[Serializer] Revert DOMElement to SimpleXmlElement
|
2011-04-12 11:18:17 +02:00 |
|
Brouznouf
|
8e6233e9c2
|
[Serializer] Using DOMElement instead of SimpleXmlElement in XmlEncoder to permit some behavior
|
2011-04-12 00:58:21 +02:00 |
|
Jordi Boggiano
|
47733d08a1
|
[Serializer] Move private methods below protected ones
|
2011-04-03 16:21:53 +02:00 |
|
Jordi Boggiano
|
424a1dad27
|
[Serializer] Switched most protected to private or final
|
2011-04-03 15:13:21 +02:00 |
|
Fabien Potencier
|
411a382d80
|
[Serializer] fixed XmlEncoder for single char tags
|
2011-03-12 15:23:30 +01:00 |
|
Fabien Potencier
|
8c423edfef
|
replaced symfony-project.org by symfony.com
|
2011-03-06 12:40:06 +01:00 |
|
Christophe Coevoet
|
92bfbf575c
|
Fixed CS
|
2011-02-27 20:56:29 +01:00 |
|
John Wards
|
73cd26e2ca
|
[Serializer] added the ability to add attributes to nodes using an array key begining with @
Example:
array(
'foo-bar' => array(
'@id' => 1,
'@name' => 'Bar'
),
Foo' => array(
'Bar' => "Test",
'@Type' => 'test'
)
)
Parse XML now creates @ attribites for the array.
$rss = array(
"channel" => array(
"title" => "Test RSS",
"description" => "Test description",
"item" => array(
0 => array(
"title" => "Test Title 1",
"link" => "http://foo.com"
),
1 => array(
"title" => "Test Title 2",
"link" => "http://bar.com"
)
)
)
);
<channel>
<title>Test RSS</title>
<description>Test description</description>
<item>
<title>Test Title 1</title>
<link>http://foo.com</link>
</item>
<item>
<title>Test Title 2</title>
<link>http://bar.com</title>
</item>
</channel>
|
2011-02-14 22:20:03 +01:00 |
|
Jordi Boggiano
|
f5f41696ec
|
[Serializer] Allow for more flexible element names
|
2011-02-13 17:47:22 +01:00 |
|
Jordi Boggiano
|
8216a6ef3d
|
[Serializer] Added XmlEncoder::setRootNodeName
|
2011-02-13 17:47:22 +01:00 |
|
Fabian Vogler
|
9caa17823a
|
Fix for SimpleXML in XmlEncoder
Check first for special objects like SimpleXMLElement and Traversable and the check for is_object.
|
2011-02-12 21:54:27 +01:00 |
|
Lukas Kahwe Smith
|
dd71501f54
|
some fixes by just "blindly" trying to make phpStorm code analysis happier
|
2011-02-04 19:30:28 +01:00 |
|
Lukas Kahwe Smith
|
46d900682f
|
is_scalar(null) !== true
|
2011-02-01 13:55:10 +01:00 |
|
Jordi Boggiano
|
6f5c2e2d8b
|
[Serializer] Abstract classes now implement their respective interfaces
|
2011-01-25 11:06:18 +01:00 |
|
Jordi Boggiano
|
005c1d9df8
|
[Serializer] Added initial version of the Serializer component
|
2011-01-23 12:34:47 +01:00 |
|