<?php/** * Inheritance: no * Variants: no * * Fields Summary: * - point [geopoint] * - label [input] * - address [textarea] */namespace Pimcore\Model\DataObject;use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;use Pimcore\Model\DataObject\PreGetValueHookInterface;/*** @method static \Pimcore\Model\DataObject\Googlemap\Listing getList(array $config = [])* @method static \Pimcore\Model\DataObject\Googlemap\Listing|\Pimcore\Model\DataObject\Googlemap|null getByLabel($value, $limit = 0, $offset = 0, $objectTypes = null)* @method static \Pimcore\Model\DataObject\Googlemap\Listing|\Pimcore\Model\DataObject\Googlemap|null getByAddress($value, $limit = 0, $offset = 0, $objectTypes = null)*/class Googlemap extends Concrete{protected $o_classId = "2";protected $o_className = "googlemap";protected $point;protected $label;protected $address;/*** @param array $values* @return \Pimcore\Model\DataObject\Googlemap*/public static function create($values = array()) { $object = new static(); $object->setValues($values); return $object;}/*** Get point - Adresse* @return \Pimcore\Model\DataObject\Data\GeoCoordinates|null*/public function getPoint(): ?\Pimcore\Model\DataObject\Data\GeoCoordinates{ if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { $preValue = $this->preGetValue("point"); if ($preValue !== null) { return $preValue; } } $data = $this->point; if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { return $data->getPlain(); } return $data;}/*** Set point - Adresse* @param \Pimcore\Model\DataObject\Data\GeoCoordinates|null $point* @return \Pimcore\Model\DataObject\Googlemap*/public function setPoint(?\Pimcore\Model\DataObject\Data\GeoCoordinates $point){ $this->point = $point; return $this;}/*** Get label - Headline* @return string|null*/public function getLabel(): ?string{ if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { $preValue = $this->preGetValue("label"); if ($preValue !== null) { return $preValue; } } $data = $this->label; if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { return $data->getPlain(); } return $data;}/*** Set label - Headline* @param string|null $label* @return \Pimcore\Model\DataObject\Googlemap*/public function setLabel(?string $label){ $this->label = $label; return $this;}/*** Get address - Adresse* @return string|null*/public function getAddress(): ?string{ if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { $preValue = $this->preGetValue("address"); if ($preValue !== null) { return $preValue; } } $data = $this->address; if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { return $data->getPlain(); } return $data;}/*** Set address - Adresse* @param string|null $address* @return \Pimcore\Model\DataObject\Googlemap*/public function setAddress(?string $address){ $this->address = $address; return $this;}}