コード例 #1
0
 public function setValueToObject()
 {
     $strOldValue = $this->getStrValue();
     $this->convertValueToFloat();
     $bitReturn = parent::setValueToObject();
     $this->setStrValue($strOldValue);
     return $bitReturn;
 }
コード例 #2
0
 public function setValueToObject()
 {
     $strOldValue = $this->getStrValue();
     $this->setStrValue(processWysiwygHtmlContent($this->getStrValue()));
     $bitReturn = parent::setValueToObject();
     $this->setStrValue($strOldValue);
     return $bitReturn;
 }
コード例 #3
0
 public function setValueToObject()
 {
     $objReflection = new class_reflection($this->getObjSourceObject());
     $strSetter = $objReflection->getSetter($this->getStrSourceProperty());
     if ($strSetter !== null && uniStrtolower(uniSubstr($strSetter, 0, 6)) == "setobj" && !$this->getStrValue() instanceof class_date && $this->getStrValue() > 0) {
         $this->setStrValue(new class_date($this->getStrValue()));
     }
     return parent::setValueToObject();
 }
コード例 #4
0
 /**
  * Calls the source-objects setter and stores the value.
  * If you want to skip a single setter, remove the field before.
  *
  * @throws class_exception
  * @return mixed
  */
 public function setValueToObject()
 {
     if ($this->getBitReadonly() == true) {
         return true;
     }
     return parent::setValueToObject();
 }