Home » File Formats » File_IMC
Create and parse Internet Mail Consortium-style files (like vCard and vCalendar)
Download latest release 0.5.0 (archived versions might be outdated)
License: The BSD License
Description
Allows you to programmatically create a vCard or vCalendar, and fetch the text.
IMPORTANT: The array structure has changed slightly from Contact_Vcard_Parse.
See the example output for the new structure. Also different from Contact_Vcard
is the use of a factory pattern. Again, see the examples.
Maintainers
- Marshall Roch (mroch) — lead, inactive
- Paul Jones (pmjones) — lead, inactive
- Till Klampaeckel (till) — lead, active
Dependencies
Required
- PHP (>= 5.0.0)
- PEAR Installer (>= 1.6.0)
Releases
- 0.5.0 (beta, 2012-08-15)
Release notes
License: The BSD License
* various bug fixes and improvements by Brad Kent: https://github.com/pear/File_IMC/pull/5
- 0.4.3 (beta, 2011-10-30)
Release notes
License: The BSD License
* Fix Bug #17656: New Lines [till]
* Fix Bug #18375: Undefined index EMAIL in Build/Vcard.php on line 1155 [till]
* Fix Bug #18802: Undefined index [till] - 0.4.2 (beta, 2011-03-11)
Release notes
License: The BSD License
* Fix Bug #15608: IMC.php can't locate drivers [till]
* Fix Bug #16637: Does not handle Carriage Return (\r) [till]
* Fix Bug #17115: Tests fail [till]
* Implement Feature #17080: Avoid setting include path in unit tests [till] - 0.4.1 (beta, 2010-06-29)
Release notes
License: The BSD License
* #15608: fixed file loading (again)
* fixed class-/file-naming (a slight BC break)
* raised dependency to PHP5
* changed license from PHP to BSD - 0.4.0 (beta, 2009-06-29)
- 0.3 (beta, 2003-09-30)
Release notes
License: PHP License
* Added file_exists() check to prevent E_NOTICE errors in factory if file doesnt exist (thanks, Davey)
* Cleaned up error handling to let the user app have control (File_IMC_Build::raiseError() no longer passes a PEAR_ERROR_* to PEAR::raiseError()) (thanks, Greg)
* Minor documentation additions/modifications (thanks, Greg)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #911 | Closed | Bug | 2004-02-26 | PEAR QA: improvement for get_class()-usage | |
| #2228 | No Feedback | Bug | 2004-08-26 | File_IMC::build() file_exists call fails | |
| #3178 | Wont fix | Req | 2005-01-12 | Refactoring chance... | |
| #4861 | Suspended | Bug | 2005-07-19 | vcalendar_parse_example.php fails | |
| #6536 | Suspended | Bug | 2006-01-19 | checking if driver file exists wont work using file_exists | |
| #6540 | Suspended | Req | 2006-01-20 | Array output of vcalendar parse is not the expected output | |
| #14969 | Analyzed | Req | 2008-11-07 | Property groups not supported | |
| #15522 | Feedback | Req | 2009-01-06 | a proposition to parse LARGE VCARD data | |
| #16637 | Closed | Bug | 0.4.0 | 2009-09-23 | Does not handle Carriage Return (\r) |
| #17080 | Closed | Req | CVS | 2010-02-09 | Avoid setting include path in unit tests |
| #17115 | Closed | Bug | CVS | 2010-02-16 | Tests fail |
| #17656 | Closed | Bug | 0.4.1 | 2010-08-05 | New Lines |
| #18128 | Closed | Bug | 2010-12-20 | error notice while importing vcards | |
| #18129 | Closed | Bug | 2010-12-20 | interfere with other autoloaders | |
| #18155 | Closed | Bug | SVN | 2010-12-28 | Value strings inside arrays are not escaped |
| #18188 | Closed | Bug | 0.4.1 | 2011-01-12 | Patch:many undefined indexes, like TEL in File_IMC_Build_Vcard->addTelephone() |
| #18189 | Duplicate | Bug | 0.4.1 | 2011-01-12 | Patch:many undefined indexes, like TEL in File_IMC_Build_Vcard->addTelephone() |
| #18375 | Closed | Bug | 0.4.2 | 2011-03-18 | Undefined index EMAIL in Build/Vcard.php on line 1155 |
| #18802 | Closed | Bug | 0.4.2 | 2011-09-07 | Undefined index |
| #19275 | Closed | Bug | 0.4.3 | 2012-02-03 | unfold lines of quote printable text parsed wrong values! |
| #19297 | Closed | Bug | 0.4.3 | 2012-02-18 | Chokes on vcard: KEY;ENCODING=BASE64;X509: |
| #19511 | Duplicate | Bug | 0.4.3 | 2012-07-17 | vcard fetch method incorrectly requires FN component for vcard 2.1 |
| #19526 | Closed | Bug | 0.4.3 | 2012-07-22 | vcard build drops extension properties |
| #19559 | Closed | Bug | 0.4.3 | 2012-08-10 | build->escape() is broken |