Re: Array and Object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 24, 2008 at 12:50 PM, VamVan <vamseevan@xxxxxxxxx> wrote:
> Hello All,
>
>  I am having an array structure as displayed below, The title is the
>  key and value is the simplexmlelementobject.
>
>   [Advanced Virtualization Technologies in Workstation 6-20080320 1604]
>  => SimpleXMLElement Object
>         (
>             [recordingID] => 932467
>             [hostWebExID] => marketingprograms
>             [name] => Title
>             [createTime] => 03/20/2008 09:04:42
>             [timeZoneID] => 4
>             [size] => 49.441048
>              [recordingType] => 0
>             [duration] => 3218
>         )
>
>
>  I access the array  $this->result["$event->eventName"] = $event;
>
>  But I want to decode all the elements of the object using utf8_decode
>  but still keep the same structure of the array.
>   what i mean can I do this ?
>
>  $this->result["$event->eventName"] = utf_iso($event);
>
>  I appreciate if anyone can help me with this.
>
>  Thanks
>
>  --
>  PHP General Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Can you jump upstream and decode it before you parse the xml?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux