source/Application/Model/User.php
protected function _insert()
    {

        // set oxcreate date
        $this->oxuser__oxcreate = new \OxidEsales\Eshop\Core\Field(date('Y-m-d H:i:s'), \OxidEsales\Eshop\Core\Field::T_RAW);

        if (!isset($this->oxuser__oxboni->value)) {
            $this->oxuser__oxboni = new \OxidEsales\Eshop\Core\Field($this->getBoni(), \OxidEsales\Eshop\Core\Field::T_RAW);
        }

        return parent::_insert();
    }
protected function _insert()
    {

        // set oxcreate date
        $this->oxuser__oxcreate = new \OxidEsales\Eshop\Core\Field(date('Y-m-d H:i:s'), \OxidEsales\Eshop\Core\Field::T_RAW);

        if (!isset($this->oxuser__oxboni->value)) {
            $this->oxuser__oxboni = new \OxidEsales\Eshop\Core\Field($this->getBoni(), \OxidEsales\Eshop\Core\Field::T_RAW);
        }

        return parent::_insert();
    }
protected function _insert ( ) { // set oxcreate date $ this -> oxuser__oxcreate = new \ OxidEsales \ Eshop \ Core \ Field ( date ( 'Y-m-d H:i:s' ) , \ OxidEsales \ Eshop \ Core \ Field :: T_RAW ) ; if ( ! isset ( $ this -> oxuser__oxboni -> value ) ) { $ this -> oxuser__oxboni = new \ OxidEsales \ Eshop \ Core \ Field ( $ this -> getBoni ( ) , \ OxidEsales \ Eshop \ Core \ Field :: T_RAW ) ; } return parent :: _insert ( ) ; }
Inserts user object data to DB. Returns true on success.

@return bool
Inserts user object data to DB . Returns true on success .