ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\VObject Namespace Reference

Namespaces

 Component
 
 ICalendar
 
 ITip
 
 Parser
 
 Property
 
 Recur
 
 RecurrenceIterator
 
 Splitter
 

Data Structures

class  AttachIssueTest
 
class  BirthdayCalendarGenerator
 This class generates birthday calendars. More...
 
class  BirthdayCalendarGeneratorTest
 
class  Cli
 This is the CLI interface for sabre-vobject. More...
 
class  CliMock
 
class  CliTest
 Tests the cli. More...
 
class  Component
 Component. More...
 
class  ComponentTest
 
class  DateTimeParser
 DateTimeParser. More...
 
class  DateTimeParserTest
 
class  Document
 Document. More...
 
class  DocumentTest
 
class  ElementList
 VObject ElementList. More...
 
class  ElementListTest
 
class  EmClientTest
 
class  EmptyParameterTest
 
class  EmptyValueIssueTest
 This test is written for Issue 68: More...
 
class  EofException
 Exception thrown by parser when the end of the stream has been reached, before this was expected. More...
 
class  FakeComponent
 
class  FreeBusyData
 FreeBusyData is a helper class that manages freebusy information. More...
 
class  FreeBusyDataTest
 
class  FreeBusyGenerator
 This class helps with generating FREEBUSY reports based on existing sets of objects. More...
 
class  FreeBusyGeneratorTest
 
class  GoogleColonEscapingTest
 Google produces vcards with a weird escaping of urls. More...
 
class  InvalidDataException
 This exception is thrown whenever an invalid value is found anywhere in a iCalendar or vCard object. More...
 
class  Issue153Test
 
class  Issue259Test
 
class  Issue36WorkAroundTest
 
class  Issue40Test
 This test is created to handle the issues brought forward by issue 40. More...
 
class  Issue48Test
 
class  Issue50Test
 
class  Issue64Test
 
class  Issue96Test
 
class  IssueUndefinedIndexTest
 
class  JCalTest
 
class  JCardTest
 
class  LineFoldingIssueTest
 
class  MockDocument
 
class  Node
 A node is the root class for every element in an iCalendar of vCard object. More...
 
class  Parameter
 VObject Parameter. More...
 
class  ParameterTest
 
class  ParseException
 Exception thrown by Reader if an invalid object was attempted to be parsed. More...
 
class  Property
 Property. More...
 
class  PropertyTest
 
class  Reader
 iCalendar/vCard/jCal/jCard/xCal/xCard reader object. More...
 
class  ReaderTest
 
class  Settings
 This class provides a list of global defaults for vobject. More...
 
class  SlashRTest
 This issue was pointed out in Issue 55. More...
 
class  StringUtil
 Useful utilities for working with various strings. More...
 
class  StringUtilTest
 
class  TimeZoneUtil
 Time zone name translation. More...
 
class  TimeZoneUtilTest
 
class  UUIDUtil
 UUID Utility. More...
 
class  UUIDUtilTest
 
class  VCard21Test
 Assorted vcard 2.1 tests. More...
 
class  VCardConverter
 This utility converts vcards from one version to another. More...
 
class  VCardConverterTest
 
class  Version
 This class contains the version number for the VObject package. More...
 
class  VersionTest
 
class  Writer
 iCalendar/vCard/jCal/jCard/xCal/xCard writer object. More...
 
class  WriterTest
 

Functions

 writeStats ()
 
 write ($vcard)
 

Variables

 $paths
 
foreach($paths as $path) if (!class_exists( 'Sabre\\VObject\\Version'))
 
foreach($paths as $path) duplicate contact merge tool n
 
if($argc< 3) $input = fopen($argv[1], 'r')
 
 $output = fopen($argv[2], 'w')
 
 $debug = isset($argv[3]) ? fopen($argv[3], 'w') : null
 
 $splitter = new Splitter\VCard($input)
 
 $ignoredProperties
 
 $collectedNames = []
 
 $stats
 
No FN property
 
while($vcard=$splitter->getNext()) foreach ( $collectedNames as $vcard)
 

Function Documentation

◆ write()

Sabre\VObject\write (   $vcard)

Definition at line 76 of file mergeduplicates.php.

References Sabre\VObject\$collectedNames, Sabre\VObject\$debug, Sabre\VObject\$ignoredProperties, $ok, Sabre\VObject\$output, Sabre\VObject\$splitter, Sabre\VObject\$stats, Sabre\VObject\if, select, and Sabre\VObject\writeStats().

Referenced by Twig_Node_Module\compileConstructor(), PhpOffice\PhpSpreadsheet\Writer\Ods\save(), Sabre\DAVACL\Xml\Property\CurrentUserPrivilegeSetTest\testSerialize(), Sabre\CalDAV\SharingPluginTest\testShareRequest(), Sabre\DAV\Sharing\ShareResourceTest\testShareResource(), Sabre\DAV\Sharing\ShareResourceTest\testShareResourceInviteProperty(), Sabre\DAV\Sharing\ShareResourceTest\testShareResourceNotFound(), Sabre\DAV\Sharing\ShareResourceTest\testShareResourceNotISharedNode(), Sabre\DAVACL\Xml\Property\SupportedPrivilegeSetTest\testToHtml(), Monolog\Handler\FleepHookHandler\write(), Monolog\Handler\FlowdockHandler\write(), Monolog\Handler\RotatingFileHandler\write(), Monolog\Handler\SlackHandler\write(), Monolog\Handler\PushoverHandler\write(), Monolog\Handler\HipChatHandler\write(), PhpOffice\PhpSpreadsheet\Writer\Ods\Content\writeRows(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\Workbook\writeWorkbook().

76  {
77 
78  global $stats, $output;
79 
80  $stats["Total written"]++;
81  fwrite($output, $vcard->serialize() . "\n");
82 
83 }
84 
85 while ($vcard = $splitter->getNext()) {
86 
87  $stats["Total vcards"]++;
88  writeStats();
89 
90  $fn = isset($vcard->FN) ? (string)$vcard->FN : null;
91 
92  if (empty($fn)) {
93 
94  // Immediately write this vcard, we don't compare it.
95  $stats["No FN property"]++;
96  $stats['Unique cards']++;
97  write($vcard);
98  $vcard->destroy();
99  continue;
100 
101  }
102 
103  if (!isset($collectedNames[$fn])) {
104 
105  $collectedNames[$fn] = $vcard;
106  $stats['Unique cards']++;
107  continue;
108 
109  } else {
110 
111  // Starting comparison for all properties. We only check if properties
112  // in the current vcard exactly appear in the earlier vcard as well.
113  foreach ($vcard->children() as $newProp) {
114 
115  if (in_array($newProp->name, $ignoredProperties)) {
116  // We don't care about properties such as UID and REV.
117  continue;
118  }
119  $ok = false;
120  foreach ($collectedNames[$fn]->select($newProp->name) as $compareProp) {
121 
122  if ($compareProp->serialize() === $newProp->serialize()) {
123  $ok = true;
124  break;
125  }
126  }
127 
128  if (!$ok) {
129 
130  if ($newProp->name === 'EMAIL' || $newProp->name === 'TEL') {
131 
132  // We're going to make another attempt to find this
133  // property, this time just by value. If we find it, we
134  // consider it a success.
135  foreach ($collectedNames[$fn]->select($newProp->name) as $compareProp) {
136 
137  if ($compareProp->getValue() === $newProp->getValue()) {
138  $ok = true;
139  break;
140  }
141  }
142 
143  if (!$ok) {
144 
145  // Merging the new value in the old vcard.
146  $collectedNames[$fn]->add(clone $newProp);
147  $ok = true;
148  $stats['Merged values']++;
149 
150  }
151 
152  }
153 
154  }
155 
156  if (!$ok) {
157 
158  // echo $newProp->serialize() . " does not appear in earlier vcard!\n";
159  $stats['Error']++;
160  if ($debug) fwrite($debug, "Missing '" . $newProp->name . "' property in duplicate. Earlier vcard:\n" . $collectedNames[$fn]->serialize() . "\n\nLater:\n" . $vcard->serialize() . "\n\n");
161 
162  $vcard->destroy();
163  continue 2;
164  }
165 
166  }
167 
168  }
169 
170  $vcard->destroy();
171  $stats['Ignored duplicates']++;
172 
173 }
174 
175 foreach ($collectedNames as $vcard) {
176 
177  // Overwriting any old PRODID
178  $vcard->PRODID = '-//Sabre//Sabre VObject ' . Version::VERSION . '//EN';
179  write($vcard);
180  writeStats();
181 
182 }
foreach($paths as $path) if(!class_exists( 'Sabre\\VObject\\Version'))
select
Definition: langcheck.php:166
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ writeStats()

Sabre\VObject\writeStats ( )

Definition at line 65 of file mergeduplicates.php.

References $name, and Sabre\VObject\$stats.

Referenced by Sabre\VObject\write().

65  {
66 
67  global $stats;
68  foreach ($stats as $name => $value) {
69  echo str_pad($name, 23, " ", STR_PAD_RIGHT), str_pad($value, 6, " ", STR_PAD_LEFT), "\n";
70  }
71  // Moving cursor back a few lines.
72  echo "\033[" . count($stats) . "A";
73 
74 }
+ Here is the caller graph for this function:

Variable Documentation

◆ $collectedNames

Sabre::VObject\$collectedNames = []

Definition at line 53 of file mergeduplicates.php.

Referenced by Sabre\VObject\write().

◆ $debug

◆ $ignoredProperties

Sabre::VObject\$ignoredProperties
Initial value:
= [
"PRODID",
"VERSION",
"REV",
"UID",
"X-ABLABEL",
]

Definition at line 44 of file mergeduplicates.php.

Referenced by Sabre\VObject\write().

◆ $input

if ( $argc< 3) Sabre::VObject\$input = fopen($argv[1], 'r')

Definition at line 35 of file mergeduplicates.php.

Referenced by Sabre\VObject\Splitter\ICalendar\__construct(), Sabre\VObject\Splitter\VCard\__construct(), Sabre\VObject\Parser\Parser\__construct(), Sabre\VObject\Recur\EventIterator\__construct(), Sabre\VObject\FreeBusyGeneratorTest\assertFreeBusyReport(), Sabre\VObject\Component\VCardTest\assertValidateResult(), Sabre\VObject\Component\VCalendarTest\assertValidateResult(), Sabre\VObject\VCardConverter\convert(), Sabre\VObject\Component\VCalendarTest\expandData(), Sabre\VObject\Property\ICalendar\CalAddress\getNormalizedValue(), Sabre\VObject\Cli\main(), Sabre\VObject\ITip\BrokerTester\process(), Sabre\VObject\Property\UriTest\testAlwaysEncodeUriVCalendar(), Sabre\VObject\VCardConverterTest\testAnniversary(), Sabre\VObject\BirthdayCalendarGeneratorTest\testArrayOfVcardObjectsWithValidBirthdays(), Sabre\VObject\VCardConverterTest\testBDAYConversion(), Sabre\VObject\Component\VCalendarTest\testBrokenEventExpand(), Sabre\VObject\BirthdayCalendarGeneratorTest\testBrokenVcardWithoutFN(), Sabre\VObject\Component\VCalendarTest\testCalDAVMETHOD(), Sabre\VObject\Component\VCalendarTest\testCalDAVMultiComponent(), Sabre\VObject\Component\VCalendarTest\testCalDAVMultiUID(), Sabre\VObject\Component\VCalendarTest\testCalDAVNoComponents(), Sabre\VObject\Component\VCard\LanguageTagTest\testChangeAndSerialize(), Sabre\VObject\VCardConverterTest\testConvert21to40(), Sabre\VObject\VCardConverterTest\testConvert30to30(), Sabre\VObject\VCardConverterTest\testConvert30to40(), Sabre\VObject\VCardConverterTest\testConvert40to30(), Sabre\VObject\VCardConverterTest\testConvert40to40(), Sabre\VObject\VCardConverterTest\testConvertGroupCard(), Sabre\VObject\VCardConverterTest\testConvertIndividualCard(), Sabre\VObject\EmptyValueIssueTest\testDecodeValue(), Sabre\VObject\Recur\EventIterator\MaxInstancesTest\testExceedMaxRecurrences(), Sabre\VObject\Issue48Test\testExpand(), Sabre\VObject\Issue50Test\testExpand(), Sabre\VObject\Recur\EventIterator\MissingOverriddenTest\testExpand(), Sabre\VObject\Recur\EventIterator\ExpandFloatingTimesTest\testExpand(), Sabre\VObject\Recur\EventIterator\Issue26Test\testExpand(), Sabre\VObject\Recur\EventIterator\HandleRDateExpandTest\testExpand(), Sabre\VObject\Recur\EventIterator\IncorrectExpandTest\testExpand(), Sabre\VObject\Component\VCalendarTest\testExpand(), Sabre\VObject\Recur\EventIterator\ExpandFloatingTimesTest\testExpandWithReferenceTimezone(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponent(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponentNoResult(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponentWithFilter(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponentWithFilterNoResult(), Sabre\VObject\Component\VCard\DateAndOrTimeTest\testGetJsonValue(), Sabre\CalDAV\ICalendar\RecurTest\testGetJSONWithCount(), Sabre\CalDAV\ICalendar\RecurTest\testGetJSONWithUntil(), Sabre\CalDAV\ICalendar\CalAddressTest\testGetNormalizedValue(), Sabre\VObject\Component\VTimeZoneTest\testGetTimeZone(), Sabre\VObject\Component\VAlarmTest\testInTimeRangeBuggy(), Sabre\VObject\BirthdayCalendarGeneratorTest\testInvalidArgumentException(), Sabre\VObject\BirthdayCalendarGeneratorTest\testInvalidArgumentExceptionForPartiallyInvalidArray(), Sabre\VObject\Component\VFreeBusyTest\testIsFree(), Sabre\VObject\Property\BooleanTest\testMimeDir(), Sabre\VObject\Component\VCard\LanguageTagTest\testMimeDir(), Sabre\VObject\Property\FloatTest\testMimeDir(), Sabre\VObject\VCardConverterTest\testMultipleAnniversaries(), Sabre\VObject\Component\VCalendarTest\testNoComponents(), Sabre\VObject\VCardConverterTest\testNoLabel(), Sabre\VObject\RecurrenceIterator\OverrideFirstEventTest\testOverrideFirstEvent(), Sabre\VObject\BirthdayCalendarGeneratorTest\testParseException(), Sabre\VObject\Parser\JsonTest\testParseInvalidData(), Sabre\VObject\Parser\JsonTest\testParseStreamArg(), Sabre\VObject\VCard21Test\testPropertyPadValueCount(), Sabre\VObject\VCard21Test\testPropertyWithNoName(), Sabre\VObject\EmptyParameterTest\testRead(), Sabre\VObject\Issue96Test\testRead(), Sabre\VObject\IssueUndefinedIndexTest\testRead(), Sabre\VObject\ReaderTest\testReadIncompleteFile(), Sabre\VObject\Recur\NoInstancesTest\testRecurrence(), Sabre\VObject\RecurrenceIterator\OverrideFirstEventTest\testRemoveFirstEvent(), Sabre\VObject\Parser\JsonTest\testRoundTripJCal(), Sabre\VObject\Parser\JsonTest\testRoundTripJCard(), Sabre\VObject\VCardConverterTest\testUnknownSourceVCardVersion(), Sabre\VObject\VCardConverterTest\testUnknownTargetVCardVersion(), Sabre\VObject\Component\VTimeZoneTest\testValidate(), Sabre\VObject\Component\VCardTest\testValidate(), Sabre\VObject\Component\VJournalTest\testValidate(), Sabre\VObject\Component\VFreeBusyTest\testValidate(), Sabre\VObject\Component\VTodoTest\testValidate(), Sabre\VObject\Component\VJournalTest\testValidateBroken(), Sabre\VObject\Component\VCalendarTest\testValidateCorrect(), Sabre\VObject\Component\VCalendarTest\testValidateDoubleCalScale(), Sabre\VObject\Component\VCalendarTest\testValidateDoubleMethod(), Sabre\VObject\Component\VTodoTest\testValidateDUEbeforeDTSTART(), Sabre\VObject\Component\VTodoTest\testValidateDUEDTSTARTMisMatch(), Sabre\VObject\Component\VTodoTest\testValidateInvalid(), Sabre\VObject\Component\VCalendarTest\testValidateNoProdId(), Sabre\VObject\Component\VCalendarTest\testValidateNoVersion(), Sabre\VObject\Component\VCalendarTest\testValidateOneMasterEvent(), Sabre\CalDAV\ICalendar\RecurTest\testValidateStripEmpties(), Sabre\CalDAV\ICalendar\RecurTest\testValidateStripNoFreq(), Sabre\VObject\Component\VCalendarTest\testValidateTwoMasterEvents(), Sabre\VObject\Component\VCalendarTest\testValidateWrongVersion(), Sabre\VObject\DateTimeParserTest\testVCardDate(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithEmptyBirthdayProperty(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithInvalidBirthday(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithNoBirthday(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithValidBirthday(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithValidBirthdayLocalized(), and Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithValidBirthdayWithXAppleOmitYear().

◆ $output

Sabre::VObject\$output = fopen($argv[2], 'w')

Definition at line 36 of file mergeduplicates.php.

Referenced by Slim\Handlers\NotFound\__invoke(), Slim\Handlers\Error\__invoke(), Slim\Handlers\NotAllowed\__invoke(), Slim\Handlers\PhpError\__invoke(), Slim\Http\Response\__toString(), Text_Diff_Renderer\_block(), phpseclib\Net\SSH1\_format_log(), phpseclib\Net\SSH2\_format_log(), phpseclib\File\ANSI\_getScreen(), ilObjCategoryGUI\_importCategoriesForm(), phpseclib\File\ANSI\_processCoordinate(), ilPCTableGUI\_renderTable(), ilObjRoleGUI\adoptPermObject(), getid3_shorten\Analyze(), Sabre\VObject\FreeBusyGeneratorTest\assertFreeBusyReport(), Sabre\VObject\Property\TextTest\assertVCard21Serialization(), ilInternalLinkGUI\changeTargetObject(), ilObjLanguageFolder\checkAllLanguages(), ilLMEditorGUI\checkRequestParameters(), Parser\closeList(), Sabre\Xml\WriterTest\compare(), ilSystemStyleSkinContainer\compileLess(), ilGlossaryTermGUI\confirmDefinitionDeletion(), ilObjGlossaryGUI\confirmDefinitionDeletion(), Sabre\VObject\VCardConverter\convert(), Sabre\VObject\VCardConverter\convertProperty(), Sabre\CardDAV\Plugin\convertVCard(), SimpleSAML_Stats\createOutput(), assClozeTest\deleteGap(), ilPageObjectGUI\displayMedia(), Twig_Test_IntegrationTestCase\doIntegrationTest(), IMSGlobal\LTI\ToolProvider\ResourceLink\domnodeToArray(), Symfony\Component\Yaml\Dumper\dump(), Whoops\Util\TemplateHelper\dump(), Symfony\Component\Yaml\Inline\dumpArray(), ilImageMapEditorGUI\editMapArea(), ilImageMapEditorGUI\editMapAreas(), ilDclRecordListGUI\endImport(), phpseclib\Net\SSH1\exec(), phpseclib\Net\SSH2\exec(), cweagans\Composer\Patches\executeCommand(), Sabre\VObject\Component\VCalendarTest\expandData(), ilSAHSPresentationGUI\explorer(), ilSCORMPresentationGUI\explorer(), ilObjContentObjectGUI\explorer(), ilSCORM2004Item\exportAsXML(), ilObjSCORM2004LearningModule\exportHTML(), ilCOPageHTMLExport\exportHTMLMOB(), ilSCORM2004Asset\exportHTMLPageObjects(), ilObjSCORM2004LearningModule\exportHTMLScoObjects(), ilObjMediaObject\exportMediaFullscreen(), ilSCORM2004Asset\exportScorm(), ilObjSCORM2004LearningModule\exportScorm(), ilPCTable\extractText(), Jumbojett\OpenIDConnectClient\fetchURL(), Monolog\Formatter\LineFormatter\format(), Monolog\Formatter\HtmlFormatter\format(), EvalMath\funcs(), Sabre\DAV\Browser\Plugin\generateDirectoryIndex(), ilPageLayout\generatePreview(), ilHtmlToPdfTransformerFactory\generateTempPath(), Sabre\CardDAV\VCFExportPlugin\generateVCF(), assClozeTestGUI\getAnswerFeedbackOutput(), TCPDF\getCellCode(), ilSystemStyleLessFile\getContent(), phpseclib\File\X509\getDN(), getid3_lib\getFileSizeSyscall(), assQuestionGUI\getGenericFeedbackOutput(), ilImageMapEditorGUI\getImageMapOutput(), ilMail\getMailsOfFolder(), assClozeTestGUI\getPreview(), ilTestServiceGUI\getQuestionResultForTestUsers(), assClozeTestGUI\getSolutionOutput(), assTextSubsetGUI\getSpecificFeedbackOutput(), assNumericGUI\getSpecificFeedbackOutput(), assOrderingHorizontalGUI\getSpecificFeedbackOutput(), assFlashQuestionGUI\getSpecificFeedbackOutput(), assFileUploadGUI\getSpecificFeedbackOutput(), assSingleChoiceGUI\getSpecificFeedbackOutput(), assJavaAppletGUI\getSpecificFeedbackOutput(), assMultipleChoiceGUI\getSpecificFeedbackOutput(), assImagemapQuestionGUI\getSpecificFeedbackOutput(), assQuestion\getSuggestedSolutionOutput(), assClozeTestGUI\getTestOutput(), Twig_Tests_Node_Expression_NameTest\getTests(), Whoops\Run\handleException(), phpseclib\Crypt\Hash\hash(), Sabre\DAV\Sharing\Plugin\htmlActionsPanel(), Sabre\DAV\Browser\Plugin\htmlActionsPanel(), Sabre\CardDAV\Plugin\htmlActionsPanel(), Sabre\CalDAV\Plugin\htmlActionsPanel(), Sabre\DAVACL\Plugin\htmlActionsPanel(), Sabre\CardDAV\VCFExportPlugin\httpGet(), humanreadable(), ilLMPresentationGUI\ilLMNavigation(), ilLMPresentationGUI\ilMedia(), ilDclGenericMultiInputGUI\insert(), ilOrgUnitMultiLineInputGUI\insert(), ilOrgUnitGenericMultiInputGUI\insert(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\internalParseFormula(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryTermGUI\listDefinitions(), League\Flysystem\Adapter\Ftp\listDirectoryContentsRecursive(), Parser\magicLinkCallback(), RobRichards\XMLSecLibs\XMLSecurityKey\makeAsnSegment(), ilGlossaryPresentationGUI\media(), ilPersonalDesktopGUI\multiarray_sort(), EvalMath\nfx(), ilGlossaryTermGUI\output(), ilXlsFoParser\parse(), Symfony\Component\Yaml\Inline\parseMapping(), Sabre\HTTP\parsePrefer(), Symfony\Component\Yaml\Inline\parseQuotedScalar(), Symfony\Component\Yaml\Inline\parseScalar(), Symfony\Component\Yaml\Inline\parseSequence(), ilAssQuestionPreviewGUI\populateSolutionOutput(), ilAssQuestionPageGUI\postOutputProcessing(), ilWikiPageGUI\postOutputProcessing(), ilCertificateXlstProcess\process(), ilObjSurvey\processPrintoutput2FO(), ilObjTest\processPrintoutput2FO(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\processTokenStack(), ilvCard\quoted_printable_encode(), ilInternalLinkGUI\refreshRepositorySelector(), ilDclLinkButton\render(), Text_Diff_Renderer\render(), Slim\Handlers\PhpError\renderHtmlErrorMessage(), Slim\Handlers\Error\renderHtmlErrorMessage(), Slim\Handlers\NotAllowed\renderHtmlNotAllowedMessage(), ilGhostscriptRenderer\renderImages(), ilPageObjectGUI\replaceCurlyBrackets(), assClozeTest\replaceFirstGap(), ilLTIToolProvider\result(), Slim\App\run(), ilSCORM2004ScoGUI\sco_preview(), ilObjRoleGUI\selectDesktopItemObject(), Sabre\HTTP\Sapi\sendResponse(), phpCAS\serviceWeb(), CAS_Client\serviceWeb(), ilPDSelectedItemsBlockGUI\setFooterLinks(), ilObjContentObjectGUI\showEntrySelector(), ilObjMediaPoolGUI\showMedia(), ilPageObjectGUI\showMediaFullscreen(), ilMediaPoolPageGUI\showPage(), ilPortfolioPageGUI\showPage(), ilSCORM2004PageGUI\showPage(), ilPageObjectGUI\showPage(), ilContainerGUI\showPasteTreeObject(), ilLMPresentationGUI\showPrintView(), ilObjectCopyGUI\showSourceSelectionTree(), ilObjectCopyGUI\showTargetSelectionTree(), ilRepositoryGUI\showTree(), ilObjSCORM2004LearningModuleGUI\showTree(), assQuestionGUI\suggestedsolution(), Sabre\VObject\Property\UriTest\testAlwaysEncodeUriVCalendar(), Sabre\VObject\VCardConverterTest\testAnniversary(), Sabre\VObject\BirthdayCalendarGeneratorTest\testArrayOfVcardObjectsWithValidBirthdays(), Sabre\VObject\VCardConverterTest\testBDAYConversion(), Sabre\VObject\BirthdayCalendarGeneratorTest\testBrokenVcardWithoutFN(), Sabre\Xml\ReaderTest\testCDATA(), ilXlsFoParserTest\testCommasWillBeConvertedToPointInDecimalSepartor(), Sabre\VObject\VCardConverterTest\testConvert21to40(), Sabre\VObject\VCardConverterTest\testConvert30to30(), Sabre\VObject\VCardConverterTest\testConvert30to40(), Sabre\VObject\VCardConverterTest\testConvert40to30(), Sabre\VObject\VCardConverterTest\testConvert40to40(), Sabre\VObject\VCardConverterTest\testConvertGroupCard(), Sabre\VObject\VCardConverterTest\testConvertIndividualCard(), ZipStreamTest\ZipStreamTest\testDecompressFileWithMacUnarchiver(), Sabre\Xml\Element\KeyValueTest\testDeserialize(), Sabre\Xml\Element\UriTest\testDeserialize(), Sabre\Xml\Element\ElementsTest\testDeserialize(), Sabre\Xml\InfiteLoopTest\testDeserialize(), Sabre\Xml\Element\CDataTest\testDeserialize(), Sabre\Xml\Element\XmlFragmentTest\testDeserialize(), Sabre\XML\Deserializer\ValueObjectTest\testDeserializeValueObject(), Sabre\XML\Deserializer\ValueObjectTest\testDeserializeValueObjectAutoArray(), Sabre\XML\Deserializer\ValueObjectTest\testDeserializeValueObjectIgnoredElement(), Sabre\Xml\Element\KeyValueTest\testElementSkipProblem(), Sabre\VObject\Recur\EventIterator\MissingOverriddenTest\testExpand(), Sabre\VObject\Recur\EventIterator\ExpandFloatingTimesTest\testExpand(), Sabre\VObject\Component\VCalendarTest\testExpand(), Sabre\VObject\Recur\EventIterator\IncorrectExpandTest\testExpand(), Sabre\VObject\Recur\EventIterator\ExpandFloatingTimesTest\testExpandWithReferenceTimezone(), Twig_Tests_EnvironmentTest\testExtensionsAreNotInitializedWhenRenderingACompiledTemplate(), Sabre\HTTP\FunctionsTest\testGetHeaderValues(), Sabre\VObject\Component\VCard\DateAndOrTimeTest\testGetJsonValue(), Twig_Tests_NativeExtensionTest\testGetProperties(), grammarTest\testGrammar(), Sabre\CardDAV\PluginTest\testHTMLActionsPanel(), Sabre\CalDAV\PluginTest\testHTMLActionsPanel(), Sabre\Xml\Deserializer\KeyValueTest\testKeyValue(), Sabre\Xml\ReaderTest\testMappedElement(), Sabre\Xml\ReaderTest\testMappedElementCallBack(), Sabre\Xml\ReaderTest\testMappedElementCallBackNoNamespace(), enshrined\svgSanitize\Tests\SanitizerTest\testMinifiedOptions(), Sabre\VObject\VCardConverterTest\testMultipleAnniversaries(), Sabre\Xml\ReaderTest\testParseGetElements(), Sabre\Xml\ReaderTest\testParseGetElementsNoElements(), Sabre\Xml\ReaderTest\testParseProblem(), ilXlsFoParserTest\testParseWithCustomPageFormatting(), ilXlsFoParserTest\testParseWithNonCustomPageFormatting(), Sabre\HTTP\FunctionsTest\testPrefer(), Monolog\Processor\MercurialProcessorTest\testProcessor(), Sabre\VObject\VCard21Test\testPropertyPadValueCount(), Sabre\VObject\VCard21Test\testPropertyWithNoName(), Sabre\Xml\ReaderTest\testReadText(), Twig_Tests_Extension_CoreTest\testReverseFilterOnNonUTF8String(), ilDatabaseImplementationBaseTest\testSelectUsrData(), Sabre\DAV\Exception\TooManyMatchesTest\testSerialize(), Sabre\DAV\Exception\LockedTest\testSerialize(), Sabre\Xml\Element\CDataTest\testSerialize(), Sabre\Xml\Element\UriTest\testSerialize(), Sabre\Xml\Element\ElementsTest\testSerialize(), Sabre\Xml\Element\XmlFragmentTest\testSerialize(), Sabre\Xml\Element\KeyValueTest\testSerialize(), Sabre\DAV\Exception\LockedTest\testSerializeAmpersand(), Sabre\Xml\ReaderTest\testSimple(), Sabre\Xml\ReaderTest\testSimpleNamespacedAttribute(), Sabre\Uri\SplitTest\testSplit(), Sabre\HTTP\URLUtilTest\testSplitPath(), Sabre\Xml\WriterTest\testStartElementSimple(), Sabre\DAVACL\Xml\Property\PrincipalTest\testToHtml(), Twig_Tests_Extension_TextTest\testTruncate(), FastRoute\HackTypecheckerTest\testTypechecks(), Sabre\VObject\DateTimeParserTest\testVCardDate(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithEmptyBirthdayProperty(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithInvalidBirthday(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithNoBirthday(), Sabre\VObject\BirthdayCalendarGeneratorTest\testVcardStringWithValidBirthdayLocalized(), Sabre\Xml\WriterTest\testWriteElement(), Sabre\Xml\WriterTest\testWriteElementComplex(), Gettext\Generators\YamlDictionary\toString(), assClozeTest\updateClozeTextFromGaps(), EvalMath\vars(), ilIndividualAssessmentMembersGUI\view(), ilObjStudyProgrammeTreeGUI\view(), PhpOffice\PhpSpreadsheet\Calculation\Web\Service\webService(), Sabre\VObject\write(), cweagans\Composer\Patches\writePatchReport(), and Whoops\Run\writeToOutputNow().

◆ $paths

Sabre::VObject\$paths
Initial value:
= [
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php',
]

Definition at line 8 of file mergeduplicates.php.

◆ $splitter

◆ $stats

◆ foreach

Sabre::VObject::foreach

Definition at line 175 of file mergeduplicates.php.

◆ if

foreach ( $paths as $path) Sabre::VObject\if(!class_exists('Sabre\\VObject\\Version'))

◆ n

◆ property

No FN Sabre::VObject\property
Initial value:
=> 0,
"Ignored duplicates" => 0,
"Merged values" => 0,
"Error" => 0,
"Unique cards" => 0,
"Total written" => 0,
]

Definition at line 57 of file mergeduplicates.php.

Referenced by ilDclBaseFieldModel\hasProperty(), Sabre\HTTP\parsePrefer(), ilDclBaseFieldModel\setProperty(), Sabre\VObject\Parser\XmlTest\testRFC6321Section3_4_1_3(), Sabre\VObject\Parser\XmlTest\testRFC6321Section5(), and ilDclBaseFieldModel\updateProperties().