\dbObject

Abstract DB Object. This class provides basic methods for database objects, such as tables and indexes.

Summary

Methods
Properties
Constants
dbObject()
_tag_open()
_tag_cdata()
_tag_close()
create()
destroy()
supportedPlatform()
prefix()
FieldID()
$parent
$currentElement
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$parent

$parent : 

var object Parent

Type

$currentElement

$currentElement : 

var string current element

Type

Methods

dbObject()

dbObject(  $parent,   $attributes = NULL) 

NOP

Parameters

$parent
$attributes

_tag_open()

_tag_open(  $parser,   $tag,   $attributes) 

XML Callback to process start elements

Parameters

$parser
$tag
$attributes

_tag_cdata()

_tag_cdata(  $parser,   $cdata) 

XML Callback to process CDATA elements

Parameters

$parser
$cdata

_tag_close()

_tag_close(  $parser,   $tag) 

XML Callback to process end elements

Parameters

$parser
$tag

create()

create(  $xmls) 

Parameters

$xmls

destroy()

destroy() 

Destroys the object

supportedPlatform()

supportedPlatform(string  $platform = NULL) : boolean

Checks whether the specified RDBMS is supported by the current database object or its ranking ancestor.

Parameters

string $platform

RDBMS platform name (from ADODB platform list).

Returns

boolean —

TRUE if RDBMS is supported; otherwise returns FALSE.

prefix()

prefix(string  $name = '') : string

Returns the prefix set by the ranking ancestor of the database object.

Parameters

string $name

Prefix string.

Returns

string —

Prefix.

FieldID()

FieldID(string  $field) : string

Extracts a field ID from the specified field.

Parameters

string $field

Field.

Returns

string —

Field ID.