<?php
/**
* Inheritance: no
* Variants: no
*
* Fields Summary:
* - companyName [input]
* - companyName2 [input]
* - address [table]
* - phone [input]
* - fax [input]
* - email [email]
* - website [input]
* - showWebsite [checkbox]
* - street [input]
* - zip [input]
* - city [input]
* - country [country]
* - location [geopoint]
* - mapstext [calculatedValue]
* - mapHash [input]
* - customerNumber [input]
* - customerGroup [input]
* - typeFieldAWD [checkbox]
* - typeFieldKEI [checkbox]
* - typeFieldLCR [checkbox]
* - typeFieldRP [checkbox]
* - typeFieldSI [checkbox]
* - typeFieldSTC [checkbox]
* - typeFieldSTP [checkbox]
* - typeFieldSUB [checkbox]
* - typeFieldWM [checkbox]
* - typeFieldCOBOT [checkbox]
* - typeFieldSERVICE [checkbox]
* - typeFieldLEIT [checkbox]
* - typeFieldSER [checkbox]
* - typeFieldANW_ZENTRUM [checkbox]
* - partnerType [input]
* - partnerTypeList [calculatedValue]
* - image [image]
* - evaID [input]
* - lorchID [input]
* - googleLocationOverride [input]
*/
namespace Pimcore\Model\DataObject;
use Pimcore\Model\DataObject\Exception\InheritanceParentNotFoundException;
use Pimcore\Model\DataObject\PreGetValueHookInterface;
/**
* @method static \Pimcore\Model\DataObject\Partner\Listing getList(array $config = [])
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCompanyName($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCompanyName2($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByPhone($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByFax($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByEmail($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByWebsite($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByShowWebsite($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByStreet($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByZip($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCity($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCountry($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByMapHash($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCustomerNumber($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByCustomerGroup($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldAWD($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldKEI($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldLCR($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldRP($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSI($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSTC($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSTP($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSUB($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldWM($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldCOBOT($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSERVICE($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldLEIT($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldSER($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByTypeFieldANW_ZENTRUM($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByPartnerType($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByImage($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByEvaID($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByLorchID($value, $limit = 0, $offset = 0, $objectTypes = null)
* @method static \Pimcore\Model\DataObject\Partner\Listing|\Pimcore\Model\DataObject\Partner|null getByGoogleLocationOverride($value, $limit = 0, $offset = 0, $objectTypes = null)
*/
class Partner extends Concrete
{
protected $o_classId = "3";
protected $o_className = "Partner";
protected $companyName;
protected $companyName2;
protected $address;
protected $phone;
protected $fax;
protected $email;
protected $website;
protected $showWebsite;
protected $street;
protected $zip;
protected $city;
protected $country;
protected $location;
protected $mapHash;
protected $customerNumber;
protected $customerGroup;
protected $typeFieldAWD;
protected $typeFieldKEI;
protected $typeFieldLCR;
protected $typeFieldRP;
protected $typeFieldSI;
protected $typeFieldSTC;
protected $typeFieldSTP;
protected $typeFieldSUB;
protected $typeFieldWM;
protected $typeFieldCOBOT;
protected $typeFieldSERVICE;
protected $typeFieldLEIT;
protected $typeFieldSER;
protected $typeFieldANW_ZENTRUM;
protected $partnerType;
protected $image;
protected $evaID;
protected $lorchID;
protected $googleLocationOverride;
/**
* @param array $values
* @return \Pimcore\Model\DataObject\Partner
*/
public static function create($values = array()) {
$object = new static();
$object->setValues($values);
return $object;
}
/**
* Get companyName - Company name
* @return string|null
*/
public function getCompanyName()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("companyName");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->companyName;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set companyName - Company name
* @param string|null $companyName
* @return \Pimcore\Model\DataObject\Partner
*/
public function setCompanyName($companyName)
{
$this->companyName = $companyName;
return $this;
}
/**
* Get companyName2 - Company name 2
* @return string|null
*/
public function getCompanyName2()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("companyName2");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->companyName2;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set companyName2 - Company name 2
* @param string|null $companyName2
* @return \Pimcore\Model\DataObject\Partner
*/
public function setCompanyName2($companyName2)
{
$this->companyName2 = $companyName2;
return $this;
}
/**
* Get address - Address (multiple lines)
* @return array
*/
public function getAddress()
{
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 - Address (multiple lines)
* @param array|null $address
* @return \Pimcore\Model\DataObject\Partner
*/
public function setAddress($address)
{
$this->address = $address;
return $this;
}
/**
* Get phone - Phone
* @return string|null
*/
public function getPhone()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("phone");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->phone;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set phone - Phone
* @param string|null $phone
* @return \Pimcore\Model\DataObject\Partner
*/
public function setPhone($phone)
{
$this->phone = $phone;
return $this;
}
/**
* Get fax - Fax
* @return string|null
*/
public function getFax()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("fax");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->fax;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set fax - Fax
* @param string|null $fax
* @return \Pimcore\Model\DataObject\Partner
*/
public function setFax($fax)
{
$this->fax = $fax;
return $this;
}
/**
* Get email - E-Mail
* @return string|null
*/
public function getEmail()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("email");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->email;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set email - E-Mail
* @param string|null $email
* @return \Pimcore\Model\DataObject\Partner
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get website - Website
* @return string|null
*/
public function getWebsite()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("website");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->website;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set website - Website
* @param string|null $website
* @return \Pimcore\Model\DataObject\Partner
*/
public function setWebsite($website)
{
$this->website = $website;
return $this;
}
/**
* Get showWebsite - showWebsite
* @return bool|null
*/
public function getShowWebsite()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("showWebsite");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->showWebsite;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set showWebsite - showWebsite
* @param bool|null $showWebsite
* @return \Pimcore\Model\DataObject\Partner
*/
public function setShowWebsite($showWebsite)
{
$this->showWebsite = $showWebsite;
return $this;
}
/**
* Get street - street
* @return string|null
*/
public function getStreet()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("street");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->street;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set street - street
* @param string|null $street
* @return \Pimcore\Model\DataObject\Partner
*/
public function setStreet($street)
{
$this->street = $street;
return $this;
}
/**
* Get zip - zip
* @return string|null
*/
public function getZip()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("zip");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->zip;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set zip - zip
* @param string|null $zip
* @return \Pimcore\Model\DataObject\Partner
*/
public function setZip($zip)
{
$this->zip = $zip;
return $this;
}
/**
* Get city - city
* @return string|null
*/
public function getCity()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("city");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->city;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set city - city
* @param string|null $city
* @return \Pimcore\Model\DataObject\Partner
*/
public function setCity($city)
{
$this->city = $city;
return $this;
}
/**
* Get country - country
* @return string|null
*/
public function getCountry()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("country");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->country;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set country - country
* @param string|null $country
* @return \Pimcore\Model\DataObject\Partner
*/
public function setCountry($country)
{
$this->country = $country;
return $this;
}
/**
* Get location - Location
* @return \Pimcore\Model\DataObject\Data\GeoCoordinates|null
*/
public function getLocation()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("location");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->location;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set location - Location
* @param \Pimcore\Model\DataObject\Data\GeoCoordinates|null $location
* @return \Pimcore\Model\DataObject\Partner
*/
public function setLocation($location)
{
$this->location = $location;
return $this;
}
/**
* Get mapstext - mapstext
* @return \Pimcore\Model\DataObject\Data\CalculatedValue|null
*/
public function getMapstext()
{
$data = new \Pimcore\Model\DataObject\Data\CalculatedValue('mapstext');
$data->setContextualData("object", null, null, null);
$object = $this;
$data = \Pimcore\Model\DataObject\Service::getCalculatedFieldValue($object, $data);
return $data;
}
/**
* Set mapstext - mapstext
* @param \Pimcore\Model\DataObject\Data\CalculatedValue|null $mapstext
* @return \Pimcore\Model\DataObject\Partner
*/
public function setMapstext($mapstext)
{
return $this;
}
/**
* Get mapHash - mapHash
* @return string|null
*/
public function getMapHash()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("mapHash");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->mapHash;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set mapHash - mapHash
* @param string|null $mapHash
* @return \Pimcore\Model\DataObject\Partner
*/
public function setMapHash($mapHash)
{
$this->mapHash = $mapHash;
return $this;
}
/**
* Get customerNumber - customerNumber
* @return string|null
*/
public function getCustomerNumber()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("customerNumber");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->customerNumber;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set customerNumber - customerNumber
* @param string|null $customerNumber
* @return \Pimcore\Model\DataObject\Partner
*/
public function setCustomerNumber($customerNumber)
{
$this->customerNumber = $customerNumber;
return $this;
}
/**
* Get customerGroup - customerGroup
* @return string|null
*/
public function getCustomerGroup()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("customerGroup");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->customerGroup;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set customerGroup - customerGroup
* @param string|null $customerGroup
* @return \Pimcore\Model\DataObject\Partner
*/
public function setCustomerGroup($customerGroup)
{
$this->customerGroup = $customerGroup;
return $this;
}
/**
* Get typeFieldAWD - AWD
* @return bool|null
*/
public function getTypeFieldAWD()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldAWD");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldAWD;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldAWD - AWD
* @param bool|null $typeFieldAWD
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldAWD($typeFieldAWD)
{
$this->typeFieldAWD = $typeFieldAWD;
return $this;
}
/**
* Get typeFieldKEI - KEI
* @return bool|null
*/
public function getTypeFieldKEI()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldKEI");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldKEI;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldKEI - KEI
* @param bool|null $typeFieldKEI
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldKEI($typeFieldKEI)
{
$this->typeFieldKEI = $typeFieldKEI;
return $this;
}
/**
* Get typeFieldLCR - LCR
* @return bool|null
*/
public function getTypeFieldLCR()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldLCR");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldLCR;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldLCR - LCR
* @param bool|null $typeFieldLCR
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldLCR($typeFieldLCR)
{
$this->typeFieldLCR = $typeFieldLCR;
return $this;
}
/**
* Get typeFieldRP - RP
* @return bool|null
*/
public function getTypeFieldRP()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldRP");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldRP;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldRP - RP
* @param bool|null $typeFieldRP
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldRP($typeFieldRP)
{
$this->typeFieldRP = $typeFieldRP;
return $this;
}
/**
* Get typeFieldSI - SI
* @return bool|null
*/
public function getTypeFieldSI()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldSI");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldSI;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldSI - SI
* @param bool|null $typeFieldSI
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldSI($typeFieldSI)
{
$this->typeFieldSI = $typeFieldSI;
return $this;
}
/**
* Get typeFieldSTC - STC
* @return bool|null
*/
public function getTypeFieldSTC()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldSTC");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldSTC;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldSTC - STC
* @param bool|null $typeFieldSTC
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldSTC($typeFieldSTC)
{
$this->typeFieldSTC = $typeFieldSTC;
return $this;
}
/**
* Get typeFieldSTP - STP
* @return bool|null
*/
public function getTypeFieldSTP()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldSTP");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldSTP;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldSTP - STP
* @param bool|null $typeFieldSTP
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldSTP($typeFieldSTP)
{
$this->typeFieldSTP = $typeFieldSTP;
return $this;
}
/**
* Get typeFieldSUB - SUB
* @return bool|null
*/
public function getTypeFieldSUB()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldSUB");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldSUB;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldSUB - SUB
* @param bool|null $typeFieldSUB
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldSUB($typeFieldSUB)
{
$this->typeFieldSUB = $typeFieldSUB;
return $this;
}
/**
* Get typeFieldWM - WM
* @return bool|null
*/
public function getTypeFieldWM()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldWM");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldWM;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldWM - WM
* @param bool|null $typeFieldWM
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldWM($typeFieldWM)
{
$this->typeFieldWM = $typeFieldWM;
return $this;
}
/**
* Get typeFieldCOBOT - Cobot Partner
* @return bool|null
*/
public function getTypeFieldCOBOT()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldCOBOT");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldCOBOT;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldCOBOT - Cobot Partner
* @param bool|null $typeFieldCOBOT
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldCOBOT($typeFieldCOBOT)
{
$this->typeFieldCOBOT = $typeFieldCOBOT;
return $this;
}
/**
* Get typeFieldSERVICE - SERVICE
* @return bool|null
*/
public function getTypeFieldSERVICE()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldSERVICE");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldSERVICE;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldSERVICE - SERVICE
* @param bool|null $typeFieldSERVICE
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldSERVICE($typeFieldSERVICE)
{
$this->typeFieldSERVICE = $typeFieldSERVICE;
return $this;
}
/**
* Get typeFieldLEIT - LEIT
* @return bool|null
*/
public function getTypeFieldLEIT()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldLEIT");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldLEIT;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldLEIT - LEIT
* @param bool|null $typeFieldLEIT
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldLEIT($typeFieldLEIT)
{
$this->typeFieldLEIT = $typeFieldLEIT;
return $this;
}
/**
* Get typeFieldSER - SER
* @return bool|null
*/
public function getTypeFieldSER()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldSER");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldSER;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldSER - SER
* @param bool|null $typeFieldSER
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldSER($typeFieldSER)
{
$this->typeFieldSER = $typeFieldSER;
return $this;
}
/**
* Get typeFieldANW_ZENTRUM - ANW_ZENTRUM
* @return bool|null
*/
public function getTypeFieldANW_ZENTRUM()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("typeFieldANW_ZENTRUM");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->typeFieldANW_ZENTRUM;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set typeFieldANW_ZENTRUM - ANW_ZENTRUM
* @param bool|null $typeFieldANW_ZENTRUM
* @return \Pimcore\Model\DataObject\Partner
*/
public function setTypeFieldANW_ZENTRUM($typeFieldANW_ZENTRUM)
{
$this->typeFieldANW_ZENTRUM = $typeFieldANW_ZENTRUM;
return $this;
}
/**
* Get partnerType - Partner Type
* @return string|null
*/
public function getPartnerType()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("partnerType");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->partnerType;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set partnerType - Partner Type
* @param string|null $partnerType
* @return \Pimcore\Model\DataObject\Partner
*/
public function setPartnerType($partnerType)
{
$this->partnerType = $partnerType;
return $this;
}
/**
* Get partnerTypeList - Type List
* @return \Pimcore\Model\DataObject\Data\CalculatedValue|null
*/
public function getPartnerTypeList()
{
$data = new \Pimcore\Model\DataObject\Data\CalculatedValue('partnerTypeList');
$data->setContextualData("object", null, null, null);
$object = $this;
$data = \Pimcore\Model\DataObject\Service::getCalculatedFieldValue($object, $data);
return $data;
}
/**
* Set partnerTypeList - Type List
* @param \Pimcore\Model\DataObject\Data\CalculatedValue|null $partnerTypeList
* @return \Pimcore\Model\DataObject\Partner
*/
public function setPartnerTypeList($partnerTypeList)
{
return $this;
}
/**
* Get image - Image
* @return \Pimcore\Model\Asset\Image|null
*/
public function getImage()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("image");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->image;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set image - Image
* @param \Pimcore\Model\Asset\Image|null $image
* @return \Pimcore\Model\DataObject\Partner
*/
public function setImage($image)
{
$this->image = $image;
return $this;
}
/**
* Get evaID - evaID
* @return string|null
*/
public function getEvaID()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("evaID");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->evaID;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set evaID - evaID
* @param string|null $evaID
* @return \Pimcore\Model\DataObject\Partner
*/
public function setEvaID($evaID)
{
$this->evaID = $evaID;
return $this;
}
/**
* Get lorchID - lorchID
* @return string|null
*/
public function getLorchID()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("lorchID");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->lorchID;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set lorchID - lorchID
* @param string|null $lorchID
* @return \Pimcore\Model\DataObject\Partner
*/
public function setLorchID($lorchID)
{
$this->lorchID = $lorchID;
return $this;
}
/**
* Get googleLocationOverride - google location override
* @return string|null
*/
public function getGoogleLocationOverride()
{
if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) {
$preValue = $this->preGetValue("googleLocationOverride");
if ($preValue !== null) {
return $preValue;
}
}
$data = $this->googleLocationOverride;
if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) {
return $data->getPlain();
}
return $data;
}
/**
* Set googleLocationOverride - google location override
* @param string|null $googleLocationOverride
* @return \Pimcore\Model\DataObject\Partner
*/
public function setGoogleLocationOverride($googleLocationOverride)
{
$this->googleLocationOverride = $googleLocationOverride;
return $this;
}
}