source/Application/Model/NewsSubscribed.php
public function setOptInStatus($iStatus)
    {
        $this->oxnewssubscribed__oxdboptin = new \OxidEsales\Eshop\Core\Field($iStatus, \OxidEsales\Eshop\Core\Field::T_RAW);
        $this->save();
    }
public function setOptInStatus($iStatus)
    {
        $this->oxnewssubscribed__oxdboptin = new \OxidEsales\Eshop\Core\Field($iStatus, \OxidEsales\Eshop\Core\Field::T_RAW);
        $this->save();
    }
public function setOptInStatus ( $ iStatus ) { $ this -> oxnewssubscribed__oxdboptin = new \ OxidEsales \ Eshop \ Core \ Field ( $ iStatus , \ OxidEsales \ Eshop \ Core \ Field :: T_RAW ) ; $ this -> save ( ) ; }
Newsletter subscription status setter

@param int $iStatus subscription status
Newsletter subscription status setter