table_prefix

Skip to end of metadata
Go to start of metadata

API:table prefix

API Quick reference
Variable name: table_prefix
Modx versions: > 9.5 Verified + Evolution
Variable type: string
Object parent: DocumentParser

Description

Contains the database table prefix as defined during MODx installation (default "modx_").

Usage / Examples

<?php
echo ( $modx->db->config['table_prefix'] );
?>

Related

Notes

Labels

api api Delete
documentparser documentparser Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.