DatabaseEvents

Class defining the events dispatched by the database API

final
since

2.0.0

package

Joomla Framework

Methods

__construct

Private constructor to prevent instantiation of this class

__construct() : mixed
since

2.0.0

Response

mixed

Constants

POST_CONNECT

Database event which is dispatched after the connection to the database server is opened.

Listeners to this event receive a Joomla\Database\Event\ConnectionEvent object.

Value 'onAfterConnect'
since

2.0.0

Type(s)

string

POST_DISCONNECT

Database event which is dispatched after the connection to the database server is closed.

Listeners to this event receive a Joomla\Database\Event\ConnectionEvent object.

Value 'onAfterDisconnect'
since

2.0.0

Type(s)

string