$ S = $ this-> read (620) / / access the method from parent class
_debug_array ($ s); / / print
Output
Array
(
[Ts_id] => 620
[Ts_project] => xxxx.
[Ts_title] => xxxx
[Ts_description] => Conclusãoc test case.
[Ts_start] => 1281699000
[Ts_duration] => 210
[Ts_quantity] => 3.5
[Ts_unitprice] =>
[Cat_id] =>
[Ts_owner] => 180
[Ts_modified] => 1281828420
[Ts_modifier] => 57
[Pl_id] =>
)
e want to print only one position in the array do so
echo “Handle.” $ s [‘ts_id’];
function read (“id”) is the parent of this class I’m working.
e have another class that I need to use and is in another folder
include_once ‘/ var / www / html / egroupware / phpwapi / inc / class.accounts.inc.php’, / / include
$ This-> obj = new accounts ($ s [‘ts_modifier’]) / / create object
$ Y = $ this-> obj-> get_account_data ($ s [‘ts_modifier’]) / / access to the class accounts
_debug_array ($ y) / / print
Output array
Array
(
[57] => Array
(
[Lid] => xxxxx
[Firstname] => xxxx
[Lastname] => xxxx
[Fullname] => xxxx
[Type] => u
)
)
until all ok, when having access to and so the position of the array not leave anything like
echo “Modified by full name.” $ y [‘ts_modifier’];
nothing comes out because guys ???