classes/component/ComponentSubmitForm.php
protected function sendFlashMessage()
    {
        $bFlashOn = $this->property(self::PROPERTY_FLASH_ON);
        if (!$bFlashOn) {
            return;
        }

        $sMessage = Result::message();
        if (empty($sMessage)) {
            return;
        }

        if (Result::status()) {
            Flash::success($sMessage);
        } else {
            Flash::error($sMessage);
        }
    }
protected function sendFlashMessage()
    {
        $bFlashOn = $this->property(self::PROPERTY_FLASH_ON);
        if (!$bFlashOn) {
            return;
        }

        $sMessage = Result::message();
        if (empty($sMessage)) {
            return;
        }

        if (Result::status()) {
            Flash::success($sMessage);
        } else {
            Flash::error($sMessage);
        }
    }
protected function sendFlashMessage ( ) { $ bFlashOn = $ this -> property ( self :: PROPERTY_FLASH_ON ) ; if ( ! $ bFlashOn ) { return ; } $ sMessage = Result :: message ( ) ; if ( empty ( $ sMessage ) ) { return ; } if ( Result :: status ( ) ) { Flash :: success ( $ sMessage ) ; } else { Flash :: error ( $ sMessage ) ; } }
Send flash message
Send flash message