34 private $fieldCollection;
36 private $linkCollection =
null;
44 $this->languageId = $languageId;
72 return $this->latitude;
90 return $this->longitude;
108 return $this->languageId;
117 return $this->fieldCollection;
127 $this->fieldCollection = $fieldCollection;
146 $this->location = $location;
161 $field->setValue($value);
165 $this->fieldCollection->addItem(
185 $result[$field->getType()] = $field->getValue();
229 public static function load(
int $id)
267 return Json::encode(ArrayConverter::convertToArray($this));
277 return ArrayConverter::convertToArray($this);
289 return ArrayConverter::convertFromArray(Json::decode($jsonData));
300 return ArrayConverter::convertFromArray($arrayData);
308 $this->linkCollection = $collection;
316 return $this->linkCollection;
324 $this->linkCollection->clear();
341 if($entityType ===
'')
346 $this->linkCollection->addItem(
358 return $this->linkCollection->count() > 0;
372 string $strategyType = StringConverter::STRATEGY_TYPE_TEMPLATE,
373 string $contentType = StringConverter::CONTENT_TYPE_HTML
376 return StringConverter::convertToString($this, $format, $strategyType,
$contentType);
setLatitude(string $latitude)
toString(Format $format, string $strategyType=StringConverter::STRATEGY_TYPE_TEMPLATE, string $contentType=StringConverter::CONTENT_TYPE_HTML)
addLink(string $entityId, string $entityType)
setLinks(AddressLinkCollection $collection)
static fromJson(string $jsonData)
static fromArray(array $arrayData)
setFieldValue(int $type, string $value)
setLongitude(string $longitude)
setLocation(?Location $location)
__construct(string $languageId)
setFieldCollection(FieldCollection $fieldCollection)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)