Notify a warning alert.

@param  string       $message
@param  string|null  $title
@param  array        $options
546301
protected function notifyWarning($message, $title = null, array $options = [])
    {
        $this->notifyFlash($message, 'warning', $title, $options);
    }
148887
public function error($message, $title = null)
    {
        return $this->getAlertLibrary(true)->error((string)$message, (string)$title);
    }
271755
public function out($message, $options = array())
    {
        
        $returnValue =  $this->isCli ? $this->renderCliOutput($message,$options) : $this->renderHtmlOutput($message,$options);
        if ($this->logOny){
            //do nothing
        }
        else{
            echo $returnValue ;
        }
        common_Logger::i($message, array('SCRIPTS_RUNNER'));
        
    }
678575
public function title(string $message)
    {
        $this->style->newLine();
        $this->output->writeln(sprintf(
            '<highlight>>></> <title>%s</>',
            OutputFormatter::escapeTrailingBackslash(strtoupper($message))
        ));
        $this->style->newLine();
    }
1060675
public function warning($message, $title = null)
    {
        return $this->getAlertLibrary(true)->warning((string)$message, (string)$title);
    }
92402
public function notifyViaDesktop($title, $body, $icon = null)
    {
        if (!static::enabled()) {
            return false;
        }

        $notifier = NotifierFactory::create();

        $notification =
            (new Notification())
                ->setTitle($title)
                ->setBody($body);

        if (!is_null($icon)) {
            $notification->setIcon('http://vjeantet.fr/images/logo.png');
        }

        $notifier->send($notification);
    }
1269074
protected function notifyInfo($message, $title = null, array $options = [])
    {
        $this->notifyFlash($message, 'info', $title, $options);
    }
633808
public function addNotice($message, ...$text): void
    {
        $this->add(self::TYPE_NOTICE, $message, ...$text);
    }
865
protected function notifyDanger($message, $title = null, array $options = [])
    {
        $this->notifyFlash($message, 'danger', $title, $options);
    }
1251056
public function addTransientMessage($message, $options = null) {
		$options = $this->_mergeOptions($options);
		$options['message'] = $message;

		$messages = (array)Configure::read('TransientFlash.' . $options['key']);
		if ($messages && count($messages) > $this->getConfig('limit')) {
			array_shift($messages);
		}
		$messages[] = $options;
		Configure::write('TransientFlash.' . $options['key'], $messages);
	}
753006
public function warning($message)
    {
        $this->message = $message;
        $this->type = 'warning';
        $this->title = 'Warning';
        $this->icon = 'sl sl-icon-bell warning ln-notify-icon';

        return $this->setNotifier();
    }
882819
public function writeSelectPrompt($message, &$options)
    {
        $this->writeLine();

        // translate options
        foreach ($options as $optionKey => $optionValue) {
            $options[$optionKey] = $this->translator->translate($optionValue);
        }

        // write prompt badge
        $this->writeBadge('badge_pick', Color::RED);

        // output prompt
        $prompt = new Select(
            $this->translator->translate($message),
            $options,
            false,
            false
        );

        $answer = $prompt->show();

        $this->writeLine();

        return strtolower($answer);
    }
855242
protected function debugSection($title, $message)
    {
        if (is_array($message) or is_object($message)) {
            $message = stripslashes(json_encode($message));
        }
        $this->debug("[$title] $message");
    }
986353
public function addNotification(string $type, string $message, string $title = '', array $options = []): self
    {
        $this->notifications[] = [
            'type'    => in_array($type, $this->allowedTypes, true) ? $type : self::WARNING,
            'title'   => $this->escapeSingleQuote($title),
            'message' => $this->escapeSingleQuote($message),
            'options' => json_encode($options),
        ];

        $this->session->flash(self::TOASTR_NOTIFICATIONS, $this->notifications);

        return $this;
    }
140980
public function error($message = '', $title = '')
    {
        $this->dataCollection->add('message', $message);
        $this->dataCollection->add('title',   $title);

        return $this->render('Error');
    }
358372
public void displayWarning(final String message) {
        notificationMessage.showNotification(SPUIStyleDefinitions.SP_NOTIFICATION_WARNING_MESSAGE_STYLE, null, message,
                true);
    }
203094
public function danger($title, $content, $icon = true, $iconSmall = true)
    {
        $this->message('danger', $title, $content, $icon, $iconSmall);
    }