src/AbstractDbEntity.php
protected function setDbValue($property, $value, $setAsModified = true, $force = false)
    {
        $value = $this->getValueWithPropertyType($property, $value);

        if ($this->dbData[$property] !== $value || $force) {
            $this->dbData[$property] = $value;

            if ($setAsModified && !$this->isDbPropertyModified($property)) {
                $this->modifiedDbProperties[] = $property;
            }
        }
    }
protected function setDbValue($property, $value, $setAsModified = true, $force = false)
    {
        $value = $this->getValueWithPropertyType($property, $value);

        if ($this->dbData[$property] !== $value || $force) {
            $this->dbData[$property] = $value;

            if ($setAsModified && !$this->isDbPropertyModified($property)) {
                $this->modifiedDbProperties[] = $property;
            }
        }
    }
protected function setDbValue ( $ property , $ value , $ setAsModified = true , $ force = false ) { $ value = $ this -> getValueWithPropertyType ( $ property , $ value ) ; if ( $ this -> dbData [ $ property ] !== $ value || $ force ) { $ this -> dbData [ $ property ] = $ value ; if ( $ setAsModified && ! $ this -> isDbPropertyModified ( $ property ) ) { $ this -> modifiedDbProperties [ ] = $ property ; } } }
Set a row field value.

@param string $property
@param mixed  $value
@param bool   $setAsModified
@param bool   $force
Set a row field value .