API Documentation

Amf/Adobe/DbInspector.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Amf
version
$Id: DbInspector.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Amf_Adobe_DbInspector

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Amf_Adobe_DbInspector

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Amf
subpackage
Adobe
Methods
_connect
describeTable
connect
getTables

Description

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

Methods

_connect

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

Connect to the database

Arguments
$dbType
string
Database adapter type for Zend_Db
$dbDescription
arrayobject
Adapter-specific connection settings
Details
visibility
protected
final
false
static
false
see
Zend_Db::factory()

connect

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

Test database connection

Arguments
$dbType
string
Database adapter type for Zend_Db
$dbDescription
arrayobject
Adapter-specific connection settings
Output
bool
Details
visibility
public
final
false
static
false
see
Zend_Db::factory()

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' );

Arguments
$dbType
string
Database adapter type for Zend_Db
$dbDescription
arrayobject
Adapter-specific connection settings
$tableName
string
Table name
Output
array
Table description
Details
visibility
public
final
false
static
false
see
Zend_Db::describeTable()
see
Zend_Db::factory()

getTables

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

Get the list of database tables

Arguments
$dbType
string
Database adapter type for Zend_Db
$dbDescription
arrayobject
Adapter-specific connection settings
Output
array
List of the tables
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.