Difference between revisions of "JApplication::enqueueMessage"

From Joomla! Documentation

(Examples: added frontent example)
m (See also: moving preparation)
(2 intermediate revisions by the same user not shown)
Line 37: Line 37:
===See also===
===See also===
* {{JVer|11.1}} '''JApplication::enqueueMessage source code''' on [[jplatform:application/application.php#cl-382|BitBucket]]
* {{JVer|11.1}} '''JApplication::enqueueMessage source code''' on [[jplatform:application/application.php#cl-382|BitBucket]]
* {{JVer|11.1}} Class [[JApplication/11.1|JApplication]]
* {{JVer|11.1}} Class [[API17:JApplication|JApplication]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JApplication::enqueueMessage|Other versions of JApplication::enqueueMessage]]
* [[API17:JApplication::enqueueMessage|Other versions of JApplication::enqueueMessage]]
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
Line 67: Line 67:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:41, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JApplication::enqueueMessage


Enqueue a system message.

Description:JApplication::enqueueMessage [Edit Descripton]

public function enqueueMessage (
        $type= 'message'
Parameter Type Default Description
$msg string The message to enqueue.
$type string 'message' The message type.
  • Returns void
  • Defined on line 390 of libraries/joomla/application/application.php
  • Since Joomla 11.1

See also

SeeAlso:JApplication::enqueueMessage [Edit See Also]


To enqueue a message (in a module) for a administration/backend component:

$this->_mainframe->enqueueMessage('YOUR MESSAGE GOES HERE', 'message');

To enqueue a message (in a module) for a website/frontent component:

JFactory::getApplication()->enqueueMessage('YOUR MESSAGE GOES HERE', 'message');

User contributed notes

<CodeExamplesForm />