Closed xbgmsharp closed 12 years ago
I did it in a different way - you can now specify an option to the constructor that let's you access the values without the additional array, if there is only one value for an element. I wrote up on that in the wiki, see the second question here: https://github.com/nuovo/vCard-parser/wiki/Usage
Hello,
I add a public function to allow easier access to data. The idea to to avoid the array inside each value.
As an example: from: [profile] => Array ( [0] => VCARD ) [n] => Array ( [0] => Array ( [LastName] => Last [FirstName] => First ) )
to: [profile] => VCARD [n] => Array ( [LastName] => Last [FirstName] => First )