Zend Framework
1.12
|
Public Member Functions | |
describeTable ($dbType, $dbDescription, $tableName) | |
Describe database object. | |
connect ($dbType, $dbDescription) | |
Test database connection. | |
getTables ($dbType, $dbDescription) | |
Get the list of database tables. | |
Protected Member Functions | |
_connect ($dbType, $dbDescription) | |
Connect to the database. | |
|
protected |
Connect to the database.
string | $dbType | Database adapter type for Zend_Db |
array | object | $dbDescription | Adapter-specific connection settings |
connect | ( | $dbType, | |
$dbDescription | |||
) |
Test database connection.
string | $dbType | Database adapter type for Zend_Db |
array | object | $dbDescription | Adapter-specific connection settings |
describeTable | ( | $dbType, | |
$dbDescription, | |||
$tableName | |||
) |
Describe database object.
Usage example: $inspector->describeTable('Pdo_Mysql', array( 'host' => '127.0.0.1', 'username' => 'webuser', 'password' => 'xxxxxxxx', 'dbname' => 'test' ), 'mytable' );
string | $dbType | Database adapter type for Zend_Db |
array | object | $dbDescription | Adapter-specific connection settings |
string | $tableName | Table name |
getTables | ( | $dbType, | |
$dbDescription | |||
) |
Get the list of database tables.
string | $dbType | Database adapter type for Zend_Db |
array | object | $dbDescription | Adapter-specific connection settings |