Jump to main content Jump to doc navigation

xPDO::getManager

Gets the manager class for this xPDO connection.

The manager class can perform operations such as creating or altering table structures, creating data containers, generating custom persistence classes, and other advanced operations that do not need to be loaded frequently.

Syntax

API Docs: https://api.modx.com/revolution/2.2/db_core_xpdo_xpdo.class.html#\xPDO::getManager()

object|null getManager ()

Example

$manager = $xpdo->getManager();

See Also