Lines Matching refs:property
55 foreach ($input->children() as $property) {
56 $this->convertProperty($input, $output, $property, $targetVersion);
67 * @param Property $property
70 …onvertProperty(Component\VCard $input, Component\VCard $output, Property $property, $targetVersion) argument
73 if (in_array($property->name, ['VERSION', 'PRODID'])) {
77 $parameters = $property->parameters();
84 $valueType = $property->getValueType();
90 $property->name,
91 $property->getParts(),
97 … if ($property instanceof Property\Uri && in_array($property->name, ['PHOTO', 'LOGO', 'SOUND'])) {
99 } elseif ($property instanceof Property\VCard\DateAndOrTime) {
107 $parts = DateTimeParser::parseVCardDateTime($property->getValue());
129 } elseif ('KIND' === $property->name) {
130 switch (strtolower($property->getValue())) {
150 if (in_array($property->name, ['NAME', 'MAILER', 'LABEL', 'CLASS'])) {
154 if ($property instanceof Property\Binary) {
156 …} elseif ($property instanceof Property\VCard\DateAndOrTime && isset($parameters['X-APPLE-OMIT-YEA…
159 $parts = DateTimeParser::parseVCardDateTime($property->getValue());
160 if ($parts['year'] === $property['X-APPLE-OMIT-YEAR']->getValue()) {
169 switch ($property->name) {
171 if ('COMPANY' === strtoupper($property->getValue())) {
176 if ('GROUP' === strtoupper($property->getValue())) {
192 if (!$property->group) {
195 $label = $input->{$property->group.'.X-ABLABEL'};
223 $newProperty->group = $property->group;