close(); ?>
closeConnection(); ?>In this example, we are assuming the existence of a UserModel class that extends from a BaseModel class which handles the database connection. The closeConnection() method is called on the UserModel object to close the database connection. Package Library: Custom package (UserModel extends BaseModel)