Updating A Task
Adam Tauno Williams <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Organization | Morrison Industries |
| Message-ID | <[email protected]> |
I've gotten my PHP code to update persons, enterprises, and
appointments. But updating tasks seems strange. If I pass
person.updateJob two parameters - 1 a person document and 2 a task
document - I either get no change to the task or a new task created
equal to the contents of the modified task object passed to the method.
Anyone performed a job-update from PHP?
----
$_person = $_personManager->getById($this->server->getCurrentActorId());
$_response = $this->server->rpc_call('person.updateJob',
array($_person->getDocument(),
$_task->getDocument()));
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCTbRELRePpNle04MRAsp+AJsFNQlz8ZZJ/vy1iljzdr6RJCAtdACfdIkY ZRT/hHumCpbHMzYQWWkRXGk= =0ZrE -----END PGP SIGNATURE-----