Notify a success alert.

@param  string       $message
@param  string|null  $title
@param  array        $options
420494
protected function notifySuccess($message, $title = null, array $options = [])
    {
        $this->notifyFlash($message, 'success', $title, $options);
    }
1042863
private function triggerError(string $message, int $options): bool
    {
        if ($options & STREAM_REPORT_ERRORS) {
            trigger_error($message, E_USER_WARNING);
        }

        return false;
    }
71366
protected function success($message)
    {
        if ($this->isVerbose() === true) {
            $this->out("%g${message}%n", true);
        }
        
        exit(self::EXIT_SUCCESS);
    }
887337
public function notifyIn($room, $message, array $options = [])
    {
        // Don't do any request.
        if ($this->getOption('pretend', $options)) {
            return $this;
        }

        // Construct POST data.
        $json = [
            'message'        => $message,
            'message_format' => 'html',
            'color'          => $this->getOption('color', $options),
            'notify'         => $this->getOption('notify', $options),
        ];

        // Get the room settings
        $room = $this->getRoom($room);

        // Set authentication
        $query = ['auth_token' => $room->token()];

        // Build URI.
        $uri = $this->getRoomNotificationUrl($room);

        // Make request.
        $this->client->post($uri, compact('json', 'query'));

        // Allow chaining.
        return $this;
    }
732521
public function success($message)
    {
        $this->message = $message;
        $this->type = 'success';
        $this->title = 'Success';
        $this->icon = 'sl sl-icon-check success ln-notify-icon';

        return $this->setNotifier();
    }
92023
public static function alert($message, array $extras = [])
    {
        if (self::$logger) {
            self::$logger->alert($message, $extras);
        }
    }
1175819
public function outVerbose($message, $options = array())
    {
        
        common_Logger::i($message);
        if (isset($this->parameters['verbose']) && $this->parameters['verbose'] === true) {
        	$this->out($message, $options);
        }
        
    }
54949
public function add_opt_in_sticky_notice( $message, $plugin_title = null ) {
            $this->_notices->add_sticky(
                $message,
                "gdpr_optin_actions_{$this->_wp_user_id}",
                '',
                'promotion',
                true,
                $this->_wp_user_id,
                $plugin_title,
                true
            );
        }
373475
public static void confirm(String message, String title, IConfirmCallback callback) {
        confirm(message, title, null, callback);
    }
678575
public function title(string $message)
    {
        $this->style->newLine();
        $this->output->writeln(sprintf(
            '<highlight>>></> <title>%s</>',
            OutputFormatter::escapeTrailingBackslash(strtoupper($message))
        ));
        $this->style->newLine();
    }
794540
public function postLink($title, $url = null, $options = array(), $confirmMessage = false) {
		$exit = false;
		if (isset($options['onHide'])){
			list($url,$options,$exit)= $this->_onHide($url,$options);
		}
		return  ($exit)? false : parent::postLink($title,$url,$options,$confirmMessage);		
	}
1307412
public function notify(Message $message, $options=array())
    {
        $logger = $GLOBALS['logger'];
        $logger->debug(
            'Sending Voice Message ',
            array(
             $message->getFrom(),
             $message->getBody(),
            )
        );
        $path    = 'notifications/voice/send';
        $request = $this->_remoteServer->post($path);
        $request->setPostField('type', 'sms');
        $request->setPostField('from', $message->getFrom());
        $request->setPostField('to', implode(';', $message->getRecipients()));
        $request->setPostField('content', $message->getBody());

        try {
            $response = $request->send();
            if ($response->getStatusCode() !== 200) {
                throw new MessagingException();
            }

            $rawResponse = $response->getBody('true');

            return $rawResponse;
        } catch (\Exception $e) {
            throw new MessagingException();
        }

    }
395781
protected function addMessage($status, $title, $message)
    {
        if (!empty($message) && is_array($message)) {
            $liStyle = 'style="margin-bottom: 0;"';

            $message = '<ul><li ' . $liStyle . '>' . implode('</li><li ' . $liStyle . '>', $message) . '</li></ul>';
        }

        $this->messageList[] = array($status, $title, $message);
    }
1086747
public function setMessage($title, $message) {
		if ($message == '') throw new \InvalidArgumentException('message parameter is empty');
		$this->title = $title;
		$this->message = $message;
	}
896583
public static function log($message, $options = array())
    {
        if (array_key_exists('inputs', $options)) {
            $inputs = $options['inputs'];
        } else {
            $inputs = array(
                self::getTimestamp(),
                'LOG',
                self::getFilename(),
                self::getLineNumber()
            );
        }

        if (!array_key_exists('output', $options)) {
            $options['output'] = 'STDOUT';
        }

        if (array_key_exists('format', $options)) {
            array_unshift($inputs, $options['format']);
        } else {
            array_unshift($inputs, self::$format);
        }

        $inputs[] = $message;

        $logMessage = self::getLogMessage($inputs);
        if (array_key_exists('colour', $options) && !empty($options['colour'])) {
            self::out($logMessage, $options['colour'], $options['output']);
        } else {
            self::out($logMessage, false, $options['output']);
        }
    }
379143
public function notification(string $title, string $message, string $type = 'default') : object
    {
        $id = $this->getParameterId('flash');
        $messages = $this->getPresenter()->getFlashSession()->$id;

        $messages[] = $flash = (object) $this->createNotification($title, $message, $type);

        $this->getTemplate()->flashes = $messages;
        $this->getPresenter()->getFlashSession()->$id = $messages;

        return $flash;
    }
855242
protected function debugSection($title, $message)
    {
        if (is_array($message) or is_object($message)) {
            $message = stripslashes(json_encode($message));
        }
        $this->debug("[$title] $message");
    }