API17

API17:JController::setMessage

From Joomla! Documentation

Joomla 11.1 JController::setMessage

Description

Sets the internal message that is passed with a redirect.


public function setMessage (
        $text
        $type= 'message'
)
Parameter Type Default Description
$text string Message to display on redirect.
$type string 'message' Message type (since 11.1). Optional, defaults to 'message'.
  • Returns string Previous message
  • Defined on line 934 of libraries/joomla/application/component/controller.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples