|Anonymous | Login | Signup for a new account||04-24-2019 13:07 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0001228||[Quercus]||major||always||07-04-06 05:57||07-18-06 11:25|
|Summary||0001228: Accessing the HashMap return value from java module in PHP|
I tried the java module example and tried to return the HashMap object from Java to the calling php file. I get the return value, but it has been forwarded as resource, and when i tried to access with either as a Object or as an Array i am not able to get values from the return value. But when i have the var_dump, the values are displayed properly.
Can you guide me, how this can be handled.
See also bug 1109. Quercus currently treats a HashMap like any other Java object; you can call its methods. So to get the value for a key, call "get" just like you would in Java:
$value = $map->get("key");
|php/0cc0, basic support|
|07-04-06 05:57||akdeivanaathan||New Issue|
|07-13-06 22:29||koreth||Note Added: 0001399|
|07-18-06 11:25||ferg||Note Added: 0001413|
|07-18-06 11:25||ferg||Assigned To||=> ferg|
|07-18-06 11:25||ferg||Status||new => closed|
|07-18-06 11:25||ferg||Resolution||open => fixed|
|07-18-06 11:25||ferg||Fixed in Version||=> 3.0.20|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.|
28 unique queries executed.