Functions for database replication. I guess it could be used for cluster situations too. This default class has replication disabled. To enable, replace this class with your own.
This is the code documentation for the SproutCMS project
Search documentation |
class ReplicationFunctions for database replication. I guess it could be used for cluster situations too. This default class has replication disabled. To enable, replace this class with your own.
Functions
public adminUrlunknown Replication::adminUrl ( ); Checks we are using the correct server for admin. Return false if the server is correct Return the URL to redirect to if the server is incorrect. public enabledunknown Replication::enabled ( ); This function does not have a description public getReadHostvoid Replication::getReadHost ( ); Return the IP address or hostname of the read server to use public getWriteHostvoid Replication::getWriteHost ( ); Return the IP address or hostname of the write server to use public postFileUpdatebool Replication::postFileUpdate ( string $filename ); Handle replication of a file to other servers. This is always called, even if replication is not enabled above. |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |