Show materialize confirmation message to delete  specified resource.

@param string $title
@param string $message
@param string $link

@return string
10790
public function mtDeleting($title, $message, $link)
    {
        $modal = new MaterializeDeleteConfirmationMessage();

        $modal = $this->modalDirector->build($title, 'Delete', $message, $link, $modal);

        return $modal->modalHead.$modal->modalBody.$modal->modalFooter;
    }
186470
public function success($message, $title = null)
    {
        return $this->getAlertLibrary(true)->success((string)$message, (string)$title);
    }
164919
public function link($link, $text=null, $title=null, $popup=false, $class=null) {
		if (is_null($text)) {
			// if no text is given, we use the text originally provided by the user
			$text = $link;
		}

		// deal with internal and (slightly) malformed links
		$link = $this->getLink($link);

		$attributes = $this->getHtmlAttributes(array(
			'title'=>$title,
			'target'=>$this->isTrue($popup)?"blank":null,
			'class'=>$class
		));

		return "<a href='$link'$attributes>$text</a>";
	}
27964
public function overlay( $message = '', $title = '', $level = null ) {
		$overlay = true;

		// If no message was provided, we should update
		// the most recently added message.
		if ( ! $message ) {
			return $this->update_last_message( compact( 'title', 'overlay', 'level' ) );
		}

		return $this->add_message(
			new Message( compact( 'title', 'message', 'overlay', 'level' ) )
		);
	}
855242
protected function debugSection($title, $message)
    {
        if (is_array($message) or is_object($message)) {
            $message = stripslashes(json_encode($message));
        }
        $this->debug("[$title] $message");
    }
913175
public function image(string $link, string $title = null, string $view = null): string
    {
        $view = $view ?: 'column.linkImage';

        return GridView::view($view, [
            'link'  => $link,
            'title' => $title,
        ])->render();
    }
801520
public function info(string $message, string $title = '', array $options = []): self
    {
        return $this->addNotification(self::INFO, $message, $title, $options);
    }
1060675
public function warning($message, $title = null)
    {
        return $this->getAlertLibrary(true)->warning((string)$message, (string)$title);
    }
255283
public function showError($view, $message, $title = null)
    {
        return $this->show($view, 'error', $message, $title);
    }
616495
public function messagesSendNew($token, $title, $text, $recipient)
    {
        $params = array(
            'token'     => $token,
            'title'     => $title,
            'text'      => $text,
            'recipient' => $recipient
        );

        return $this->query('messages/send.json', $params, 'post');
    }
1086747
public function setMessage($title, $message) {
		if ($message == '') throw new \InvalidArgumentException('message parameter is empty');
		$this->title = $title;
		$this->message = $message;
	}
585336
function(title, message) {
            if (!message) {
                message = title;
                title = null;
            }

            return Dialogs.open(null, {
                "title": title,
                "message": message,
                "dialog": "confirm"
            });
        }
140980
public function error($message = '', $title = '')
    {
        $this->dataCollection->add('message', $message);
        $this->dataCollection->add('title',   $title);

        return $this->render('Error');
    }
903902
public function message($title, $text = null)
    {
        if (!in_array($this->type, ['success', 'error', 'info', 'warning'])) {
            return '';
        }
        $container = $this->assetFactory->container(self::position);
        $type      = $this->resolveType();
        return $container->inlineScript('swal-message', $this->inline($type, $title, $text));
    }
175543
public function setTitle(Title $title)
    {
        $this->attachment['title'] = $title;

        if ($title->hasLink()) {
            $this->attachment['title_link'] = $title->getLink();
        }

        return $this;
    }
205442
protected function addMessageToSession($message, $title, $dismissable, $type)
    {
        $_SESSION[$this->alias][$type][] = compact('message', 'title', 'dismissable', 'type');

        return $this;
    }
1243844
public static function getJsMessage($title, $message, $type='info') {
	
		$types = array('info', 'warning', 'error');
		if (!in_array($type, $types)) $type = 'info';
	
		$message = '<script>$(document).ready(function(){$.showMessage("'.
				addslashes($title) .'","'.
				addslashes($message) .'","'.
				addslashes($type) .'");});</script>';
	
		return $message;
	
	}