source/Core/Email.php
protected function _getSmarty()
    {
        if ($this->_oSmarty === null) {
            $this->_oSmarty = \OxidEsales\Eshop\Core\Registry::getUtilsView()->getSmarty();
        }

        //setting default view
        $this->_oSmarty->assign("oEmailView", $this);

        return $this->_oSmarty;
    }
protected function _getSmarty()
    {
        if ($this->_oSmarty === null) {
            $this->_oSmarty = \OxidEsales\Eshop\Core\Registry::getUtilsView()->getSmarty();
        }

        //setting default view
        $this->_oSmarty->assign("oEmailView", $this);

        return $this->_oSmarty;
    }
protected function _getSmarty ( ) { if ( $ this -> _oSmarty === null ) { $ this -> _oSmarty = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsView ( ) -> getSmarty ( ) ; } //setting default view $ this -> _oSmarty -> assign ( "oEmailView" , $ this ) ; return $ this -> _oSmarty ; }
Smarty instance getter, assigns this oxEmail instance to "oEmailView" variable

@return \Smarty
Smarty instance getter assigns this oxEmail instance to oEmailView variable