Lines Matching refs:targetVersion
30 * @param int $targetVersion
32 public function convert(Component\VCard $input, $targetVersion) argument
35 if ($inputVersion === $targetVersion) {
42 if (!in_array($targetVersion, [Document::VCARD30, Document::VCARD40])) {
46 $newVersion = Document::VCARD40 === $targetVersion ? '4.0' : '3.0';
56 $this->convertProperty($input, $output, $property, $targetVersion);
68 * @param int $targetVersion
70 …onvertProperty(Component\VCard $input, Component\VCard $output, Property $property, $targetVersion) argument
86 if (Document::VCARD30 !== $targetVersion && 'PHONE-NUMBER' === $valueType) {
96 if (Document::VCARD30 === $targetVersion) {
148 } elseif (Document::VCARD40 === $targetVersion) {
225 if (Document::VCARD40 === $targetVersion) {