source/Application/Model/NewsSubscribed.php
protected function _insert()
    {
        // set subscription date
        $this->oxnewssubscribed__oxsubscribed = new \OxidEsales\Eshop\Core\Field(date('Y-m-d H:i:s'), \OxidEsales\Eshop\Core\Field::T_RAW);

        return parent::_insert();
    }
protected function _insert()
    {
        // set subscription date
        $this->oxnewssubscribed__oxsubscribed = new \OxidEsales\Eshop\Core\Field(date('Y-m-d H:i:s'), \OxidEsales\Eshop\Core\Field::T_RAW);

        return parent::_insert();
    }
protected function _insert ( ) { // set subscription date $ this -> oxnewssubscribed__oxsubscribed = new \ OxidEsales \ Eshop \ Core \ Field ( date ( 'Y-m-d H:i:s' ) , \ OxidEsales \ Eshop \ Core \ Field :: T_RAW ) ; return parent :: _insert ( ) ; }
Inserts nbews object data to DB. Returns true on success.

@return mixed oxid on success or false on failure
Inserts nbews object data to DB . Returns true on success .