| @@ 56-62 (lines=7) @@ | ||
| 53 | * @param object $object1 @string=$name @int=$id |
|
| 54 | * @return object $return @string=$new_name @int=$new_id |
|
| 55 | */ |
|
| 56 | public function arrayTest($object1) |
|
| 57 | { |
|
| 58 | $o = new stdClass(); |
|
| 59 | $o->new_name = 'new:' . $object1->name; |
|
| 60 | $o->new_id = $object1->id + 2; |
|
| 61 | return $o; |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @WebMethod |
|
| @@ 37-43 (lines=7) @@ | ||
| 34 | * @param object $object1 @string=name @int=id |
|
| 35 | * @return object $return @string=new_name @int=new_id |
|
| 36 | */ |
|
| 37 | public function arrayTest($object1) |
|
| 38 | { |
|
| 39 | $o = new stdClass(); |
|
| 40 | $o->new_name = 'new:' . $object1->name; |
|
| 41 | $o->new_id = $object1->id + 2; |
|
| 42 | return $o; |
|
| 43 | } |
|
| 44 | } |
|
| 45 | ||