Changeset 26
- Timestamp:
- 08/30/06 15:40:54 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/XJConf/converters/AbstractObjectValueConverter.php
r22 r26 27 27 * Add all attributes using the appropriate setter methods 28 28 * 29 * @param mixed instance 30 * @param Tag $tag 29 * @param Tag $tag 30 * @param Definition $def 31 * @param object $instance 31 32 * @throws ValueConversionException 32 33 */ 33 protected function addAttributesToValue(Tag $tag, TagDefinition $def, $instance) { 34 protected function addAttributesToValue(Tag $tag, TagDefinition $def, $instance) 35 { 34 36 $class = new ReflectionClass(get_class($instance)); 35 37 // set all attributes … … 54 56 * Add all children to the created instance 55 57 * 56 * @param mixed instance 57 * @param Tag $tag 58 * @param Tag $tag 59 * @param Definition $def 60 * @param object $instance 58 61 * @throws ValueConversionException 59 62 */ 60 protected function addChildrenToValue(Tag $tag, Definition $def, $instance, $ignore = array()) { 63 protected function addChildrenToValue(Tag $tag, Definition $def, $instance, $ignore = array()) 64 { 61 65 // traverse all children 62 66 $children = $tag->getChildren();
