Function DatabaseConnector->is_forum_db
Definitions
sources/database.php
- Find whether this database connector is to the forum database.If we are not on a multi-site-network then the answer is always 'No', because really we're checking to see if we are the forum database and also not the site database.Also see: get_db_for, is_on_multi_site_network.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Returns
- Whether we are
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether this database connector is to the forum database.If we are not on a multi-site-network then the answer is always 'No', because really we're checking to see if we are the forum database and also not the site database.Also see: get_db_for, is_on_multi_site_network.
*
* @return boolean Whether we are
*/
public function is_forum_db() : bool
* Find whether this database connector is to the forum database.If we are not on a multi-site-network then the answer is always 'No', because really we're checking to see if we are the forum database and also not the site database.Also see: get_db_for, is_on_multi_site_network.
*
* @return boolean Whether we are
*/
public function is_forum_db() : bool