public static function checkDbConnection()
		{
			try {
				// Check DB Connection
				Yii::$app->db->isActive;

				return TRUE;
			} catch (Exception $e) {
				print_r($e->getMessage());
			}

			return FALSE;
		}
public static function checkDbConnection()
		{
			try {
				// Check DB Connection
				Yii::$app->db->isActive;

				return TRUE;
			} catch (Exception $e) {
				print_r($e->getMessage());
			}

			return FALSE;
		}
public static function checkDbConnection ( ) { try { // Check DB Connection Yii :: $ app -> db -> isActive ; return TRUE ; } catch ( Exception $ e ) { print_r ( $ e -> getMessage ( ) ) ; } return FALSE ; }
Checks if database connections works

@return boolean
Checks if database connections works