nuovo / vCard-parser

Easier and more concise vCard (.vcf) parser for PHP
http://nuovo.lv/
MIT License
123 stars 54 forks source link

improved support for extensions using get_called_class() for new instances name #18

Closed mircobabini closed 11 years ago

mircobabini commented 11 years ago

added some comments to the top with retro-support and an example

pilsetnieks commented 11 years ago

I made a change to the library in a similar vein but used "get_class($this)", because that is supported by older PHP versions that some may still have and because it isn't a static method where it's called.

Thanks for the input!