\Zend_Amf_Adobe_DbInspector

This class implements authentication against XML file with roles for Flex Builder.

Summary

Methods
Properties
Constants
describeTable()
connect()
getTables()
No public properties found
No constants found
_connect()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

describeTable()

describeTable(string  $dbType, array|object  $dbDescription, string  $tableName) : array

Describe database object.

Usage example: $inspector->describeTable('Pdo_Mysql', array( 'host' => '127.0.0.1', 'username' => 'webuser', 'password' => 'xxxxxxxx', 'dbname' => 'test' ), 'mytable' );

Parameters

string $dbType

Database adapter type for Zend_Db

array|object $dbDescription

Adapter-specific connection settings

string $tableName

Table name

Returns

array —

Table description

connect()

connect(string  $dbType, array|object  $dbDescription) : boolean

Test database connection

Parameters

string $dbType

Database adapter type for Zend_Db

array|object $dbDescription

Adapter-specific connection settings

Returns

boolean

getTables()

getTables(string  $dbType, array|object  $dbDescription) : array

Get the list of database tables

Parameters

string $dbType

Database adapter type for Zend_Db

array|object $dbDescription

Adapter-specific connection settings

Returns

array —

List of the tables

_connect()

_connect(string  $dbType, array|object  $dbDescription) : \Zend_Db_Adapter_Abstract

Connect to the database

Parameters

string $dbType

Database adapter type for Zend_Db

array|object $dbDescription

Adapter-specific connection settings

Returns

\Zend_Db_Adapter_Abstract