The Database class methods isReadConnected() and isWriteConnected() are the correct ways to test if the database is connected.
Can you give us any more details about the problem you're seeing? Both of those methods are returning true/false appropriately in my tests.
Tyler
$this->dbOnError = '<something>';
to
$this->dbOnError = '';
Setting dbOnError to an empty value will prevent the Database class from throwing an error on a failed connection.
Tyler
> --
> You received this message because you are subscribed to the Google Groups "Simple PHP Framework" group.
> To post to this group, send email to simple-php...@googlegroups.com.
> To unsubscribe from this group, send email to simple-php-frame...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-php-framework?hl=en.
>