Lines Matching refs:property
55 foreach ($input->children() as $property) {
57 $this->convertProperty($input, $output, $property, $targetVersion);
70 * @param Property $property
75 …vertProperty(Component\VCard $input, Component\VCard $output, Property $property, $targetVersion) { argument
78 if (in_array($property->name, ['VERSION', 'PRODID'])) {
82 $parameters = $property->parameters();
89 $valueType = $property->getValueType();
92 $property->name,
93 $property->getParts(),
101 … if ($property instanceof Property\Uri && in_array($property->name, ['PHOTO', 'LOGO', 'SOUND'])) {
105 } elseif ($property instanceof Property\VCard\DateAndOrTime) {
114 $parts = DateTimeParser::parseVCardDateTime($property->getValue());
137 } elseif ($property->name === 'KIND') {
139 switch (strtolower($property->getValue())) {
163 if (in_array($property->name, ['NAME', 'MAILER', 'LABEL', 'CLASS'])) {
167 if ($property instanceof Property\Binary) {
171 …} elseif ($property instanceof Property\VCard\DateAndOrTime && isset($parameters['X-APPLE-OMIT-YEA…
175 $parts = DateTimeParser::parseVCardDateTime($property->getValue());
176 if ($parts['year'] === $property['X-APPLE-OMIT-YEAR']->getValue()) {
186 switch ($property->name) {
188 if (strtoupper($property->getValue()) === 'COMPANY') {
193 if (strtoupper($property->getValue()) === 'GROUP') {
209 if (!$property->group) {
212 $label = $input->{$property->group . '.X-ABLABEL'};
242 $newProperty->group = $property->group;