DB_Common::provides()

DB_Common::provides() -- checks for a feature

Synopsis

require_once 'DB.php';

boolean provides (string $feature)

Description

Checks if a feature avaible for the choosen database type.

Parameter

string $feature

the feature to check

Return value

boolean - if TRUE, the feature is supported

Note

This function can not be called statically

Warning

The provided information are only hints. Check the documention of your database system for the real supported features. Ie. MySQL supports transactions, but not for every table type.