getMailtype example

        // So just return isHtml here again.         return $this->isHtml;
    }

    /** * Returns whether or not this is a orderstate-mail * * @return bool */
    public function isOrderStateMail()
    {
        if ($this->getMailtype() != self::MAILTYPE_STATE) {
            return false;
        }

        if ($this->getStatus() === null) {
            return false;
        }

        return $this->getStatus()->getGroup() === 'state';
    }

    /** * Returns whether or not this is a paymentstate-mail * * @return bool */
Home | Imprint | This part of the site doesn't use cookies.