Documentation

Mage_Core_Model_Message
in package

Table of Contents

Constants

ERROR  : mixed = 'error'
NOTICE  : mixed = 'notice'
SUCCESS  : mixed = 'success'
WARNING  : mixed = 'warning'

Methods

error()  : Mage_Core_Model_Message_Abstract
notice()  : Mage_Core_Model_Message_Abstract
success()  : Mage_Core_Model_Message_Abstract
warning()  : Mage_Core_Model_Message_Abstract
_factory()  : Mage_Core_Model_Message_Abstract
Build a message of one type.

Constants

NOTICE

public mixed NOTICE = 'notice'

SUCCESS

public mixed SUCCESS = 'success'

WARNING

public mixed WARNING = 'warning'

Methods

_factory()

Build a message of one type.

protected _factory(string $text, string $type[, array<int, string|Link|null> $args = [] ]) : Mage_Core_Model_Message_Abstract

$text is plain text with %s placeholders. $args fills the placeholders. The renderer escapes the text and each argument. Do not escape them in the caller. A \Maho\Message\Link argument renders as an anchor. A newline renders as a line break.

Parameters
$text : string
$type : string
$args : array<int, string|Link|null> = []
Return values
Mage_Core_Model_Message_Abstract
On this page

Search results