source/Application/Model/ListObject.php
public function assign($aData)
    {
        if (!is_array($aData)) {
            return;
        }
        foreach ($aData as $sKey => $sValue) {
            $sFieldName = strtolower($this->_sTableName . '__' . $sKey);
            $this->$sFieldName = new \OxidEsales\Eshop\Core\Field($sValue);
        }
    }
public function assign($aData)
    {
        if (!is_array($aData)) {
            return;
        }
        foreach ($aData as $sKey => $sValue) {
            $sFieldName = strtolower($this->_sTableName . '__' . $sKey);
            $this->$sFieldName = new \OxidEsales\Eshop\Core\Field($sValue);
        }
    }
public function assign ( $ aData ) { if ( ! is_array ( $ aData ) ) { return ; } foreach ( $ aData as $ sKey => $ sValue ) { $ sFieldName = strtolower ( $ this -> _sTableName . '__' . $ sKey ) ; $ this -> $ sFieldName = new \ OxidEsales \ Eshop \ Core \ Field ( $ sValue ) ; } }
Assigns database record to object

@param object $aData Database record

@return null
Assigns database record to object