Method: IsConnected
Parameters
This function takes no parameters
Description
There may come a time where you'll need to check that one of your A Wee Tiny Blog objects has been connected to a database. For example, sometimes scripts get complicated and things run the risk of being called out of order. Alternatively, you might be debugging something that's going wrong with your scripts.
This function quickly checks if the variable storing its connection is NULL or not and returns the answer.
Return value
Being a simple yes or no question, this function returns TRUE if the A Wee Tiny Blog object appears to have a connection to a database, FALSE if not.