@@ -21,7 +21,7 @@ public function reply($comment)
21
21
{
22
22
$ parameter = new ClientValueObject ();
23
23
$ parameter ->setProperty ("Comment " ,$ comment );
24
- $ qry = new InvokePostMethodQuery ($ this ,"Reply " ,null ,$ parameter );
24
+ $ qry = new InvokePostMethodQuery ($ this -> getResourcePath () ,"Reply " ,null ,$ parameter );
25
25
$ this ->getContext ()->addQuery ($ qry );
26
26
}
27
27
@@ -34,7 +34,7 @@ public function replyAll($comment)
34
34
{
35
35
$ parameter = new ClientValueObject ();
36
36
$ parameter ->setProperty ("Comment " ,$ comment );
37
- $ qry = new InvokePostMethodQuery ($ this ,"ReplyAll " ,null ,$ parameter );
37
+ $ qry = new InvokePostMethodQuery ($ this -> getResourcePath () ,"ReplyAll " ,null ,$ parameter );
38
38
$ this ->getContext ()->addQuery ($ qry );
39
39
}
40
40
@@ -49,7 +49,7 @@ public function forward($comment,$toRecipients)
49
49
$ parameter = new ClientValueObject ();
50
50
$ parameter ->setProperty ("Comment " ,$ comment );
51
51
$ parameter ->setProperty ("ToRecipients " ,$ toRecipients );
52
- $ qry = new InvokePostMethodQuery ($ this ,"Forward " ,null ,$ parameter );
52
+ $ qry = new InvokePostMethodQuery ($ this -> getResourcePath () ,"Forward " ,null ,$ parameter );
53
53
$ this ->getContext ()->addQuery ($ qry );
54
54
}
55
55
@@ -62,7 +62,7 @@ public function forward($comment,$toRecipients)
62
62
public function move ($ destinationId ){
63
63
$ parameter = new ClientValueObject ();
64
64
$ parameter ->setProperty ("DestinationId " ,$ destinationId );
65
- $ qry = new InvokePostMethodQuery ($ this ,"Move " ,null ,$ parameter );
65
+ $ qry = new InvokePostMethodQuery ($ this -> getResourcePath () ,"Move " ,null ,$ parameter );
66
66
$ this ->getContext ()->addQuery ($ qry );
67
67
}
68
68
0 commit comments