Changeset 85
- Timestamp:
- 01/17/07 17:47:08 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/xml/serializer/stubXMLSerializer.php
r84 r85 43 43 * @param mixed $data The data to serialize 44 44 * @param stubXMLStreamWriter $xmlWriter The XML Writer to use 45 * @param array $opts Options to influence the serializing , not used yet45 * @param array $opts Options to influence the serializing 46 46 */ 47 47 public function serialize($data, stubXMLStreamWriter $xmlWriter, $opts = array()) { … … 61 61 */ 62 62 protected function serializeDispatcher($data, stubXMLStreamWriter $xmlWriter, $tagName = null) { 63 $this->depth++;64 63 switch (gettype($data)) { 65 64 case 'NULL': … … 97 96 break; 98 97 } 99 $this->depth--;100 98 } 101 99
