Function __global->get_table_prefix
Definitions
sources/database.php
- Get the table prefixes used for all software tables, commonly used when you are installing the software in the same database as your forums.The default table prefix is 'cms_'. Note that anything that might write to an arbitrary db, must ask that db for its table prefix (if it needs it of course... the db abstracts away most needs for it).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Returns
- The table prefix
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the table prefixes used for all software tables, commonly used when you are installing the software in the same database as your forums.The default table prefix is 'cms_'. Note that anything that might write to an arbitrary db, must ask that db for its table prefix (if it needs it of course... the db abstracts away most needs for it).
*
* @return string The table prefix
*/
function get_table_prefix() : string
* Get the table prefixes used for all software tables, commonly used when you are installing the software in the same database as your forums.The default table prefix is 'cms_'. Note that anything that might write to an arbitrary db, must ask that db for its table prefix (if it needs it of course... the db abstracts away most needs for it).
*
* @return string The table prefix
*/
function get_table_prefix() : string
