Changeset 685
- Timestamp:
- 05/29/07 21:39:03 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/stubBaseObject.php
r522 r685 84 84 public function __toString() 85 85 { 86 return self:: toString($this, get_object_vars($this));86 return self::getStringRepresentationOf($this, get_object_vars($this)); 87 87 } 88 88 … … 111 111 * @XMLIgnore 112 112 */ 113 public static function toString(stubObject $object, array $properties = null)113 public static function getStringRepresentationOf(stubObject $object, array $properties = null) 114 114 { 115 115 if (null === $properties) { 116 116 $properties = get_object_vars($object); 117 117 } 118 $string = $object->getClassName() . " {\n"; 118 119 $string = $object->getClassName() . " {\n"; 119 120 foreach ($properties as $name => $value) { 120 121 if ('_serializedProperties' == $name) {
