/**
 * Set size - Size
 * @return string
 */
 public function getSize()
 {
     $data = $this->size;
     if (\Pimcore\Model\Object::doGetInheritedValues($this->getObject()) && $this->getDefinition()->getFieldDefinition("size")->isEmpty($data)) {
         return $this->getValueFromParent("size");
     }
     return $data;
 }
 /**
 * Set identificationShortId - IdentificationShortId
 * @return string
 */
 public function getIdentificationShortId()
 {
     $data = $this->identificationShortId;
     if (\Pimcore\Model\Object::doGetInheritedValues($this->getObject()) && $this->getDefinition()->getFieldDefinition("identificationShortId")->isEmpty($data)) {
         return $this->getValueFromParent("identificationShortId");
     }
     return $data;
 }
 /**
 * Set auth_PayerID - PayerID
 * @return string
 */
 public function getAuth_PayerID()
 {
     $data = $this->auth_PayerID;
     if (\Pimcore\Model\Object::doGetInheritedValues($this->getObject()) && $this->getDefinition()->getFieldDefinition("auth_PayerID")->isEmpty($data)) {
         return $this->getValueFromParent("auth_PayerID");
     }
     return $data;
 }
Beispiel #4
0
 /**
 * Get filterdefinition - filterdefinition
 * @return \Pimcore\Model\Document\Page | \Pimcore\Model\Document\Snippet | \Pimcore\Model\Document | \Pimcore\Model\Asset | \Pimcore\Model\Object\AbstractObject
 */
 public function getFilterdefinition()
 {
     $preValue = $this->preGetValue("filterdefinition");
     if ($preValue !== null && !\Pimcore::inAdmin()) {
         return $preValue;
     }
     $data = $this->getClass()->getFieldDefinition("filterdefinition")->preGetData($this);
     if (\Pimcore\Model\Object::doGetInheritedValues() && $this->getClass()->getFieldDefinition("filterdefinition")->isEmpty($data)) {
         return $this->getValueFromParent("filterdefinition");
     }
     return $data;
 }
Beispiel #5
0
 /**
 * Get similarityFieldsInheritance - inherit SimilarityFields
 * @return string
 */
 public function getSimilarityFieldsInheritance()
 {
     $preValue = $this->preGetValue("similarityFieldsInheritance");
     if ($preValue !== null && !\Pimcore::inAdmin()) {
         return $preValue;
     }
     $data = $this->similarityFieldsInheritance;
     if (\Pimcore\Model\Object::doGetInheritedValues() && $this->getClass()->getFieldDefinition("similarityFieldsInheritance")->isEmpty($data)) {
         return $this->getValueFromParent("similarityFieldsInheritance");
     }
     return $data;
 }