dbTable Klassenreferenz

dbTable Klassenreferenz
Klassendiagramm für dbTable:
Zusammengehörigkeiten von dbTable:

Öffentliche Methoden

 dbTable (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 addIndex ($attributes)
 
 addData ($attributes)
 
 addField ($name, $type, $size=NULL, $opts=NULL)
 
 addFieldOpt ($field, $opt, $value=NULL)
 
 addTableOpt ($opt)
 
 create (&$xmls)
 
 drop ()
 
 dbTable (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 addIndex ($attributes)
 
 addData ($attributes)
 
 addField ($name, $type, $size=NULL, $opts=NULL)
 
 addFieldOpt ($field, $opt, $value=NULL)
 
 addTableOpt ($opt)
 
 create (&$xmls)
 
 drop ()
 
- Öffentliche Methoden geerbt von dbObject
 dbObject (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 create (&$xmls)
 
 destroy ()
 
 supportedPlatform ($platform=NULL)
 
 prefix ($name= '')
 
 FieldID ($field)
 
 dbObject (&$parent, $attributes=NULL)
 
 _tag_open (&$parser, $tag, $attributes)
 
 _tag_cdata (&$parser, $cdata)
 
 _tag_close (&$parser, $tag)
 
 create (&$xmls)
 
 destroy ()
 
 supportedPlatform ($platform=NULL)
 
 prefix ($name= '')
 
 FieldID ($field)
 

Datenfelder

 $name
 
 $fields = array()
 
 $indexes = array()
 
 $opts = array()
 
 $current_field
 
 $drop_table
 
 $drop_field = array()
 
 $currentPlatform = true
 
- Datenfelder geerbt von dbObject
 $parent
 
 $currentElement
 

Ausführliche Beschreibung

Definiert in Zeile 206 der Datei adodb-xmlschema.inc.php.

Dokumentation der Elementfunktionen

_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

private

Definiert in Zeile 319 der Datei adodb-xmlschema.inc.php.

Benutzt addFieldOpt() und addTableOpt().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

_tag_cdata ( $parser,
  $cdata 
)

XML Callback to process CDATA elements

private

Definiert in Zeile 347 der Datei adodb-xmlschema03.inc.php.

Benutzt addFieldOpt() und addTableOpt().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

_tag_close ( $parser,
  $tag 
)

XML Callback to process end elements

private

Definiert in Zeile 343 der Datei adodb-xmlschema.inc.php.

Benutzt create() und dbObject\destroy().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

_tag_close ( $parser,
  $tag 
)

XML Callback to process end elements

private

Definiert in Zeile 375 der Datei adodb-xmlschema03.inc.php.

Benutzt create() und dbObject\destroy().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

_tag_open ( $parser,
  $tag,
  $attributes 
)

XML Callback to process start elements. Elements currently processed are: INDEX, DROP, FIELD, KEY, NOTNULL, AUTOINCREMENT & DEFAULT.

private

Definiert in Zeile 262 der Datei adodb-xmlschema.inc.php.

Benutzt addData(), addField(), addFieldOpt(), addIndex(), drop() und dbObject\supportedPlatform().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

_tag_open ( $parser,
  $tag,
  $attributes 
)

XML Callback to process start elements. Elements currently processed are: INDEX, DROP, FIELD, KEY, NOTNULL, AUTOINCREMENT & DEFAULT.

private

Definiert in Zeile 287 der Datei adodb-xmlschema03.inc.php.

Benutzt addData(), addField(), addFieldOpt(), addIndex(), drop() und dbObject\supportedPlatform().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

addData (   $attributes)

Adds data to a table object

Parameter
array$attributesData attributes
Rückgabe
object dbData object

Definiert in Zeile 377 der Datei adodb-xmlschema.inc.php.

Wird benutzt von _tag_open().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

addData (   $attributes)

Adds data to a table object

Parameter
array$attributesData attributes
Rückgabe
object dbData object

Definiert in Zeile 414 der Datei adodb-xmlschema03.inc.php.

addField (   $name,
  $type,
  $size = NULL,
  $opts = NULL 
)

Adds a field to a table object

$name is the name of the table to which the field should be added. $type is an ADODB datadict field type. The following field types are supported as of ADODB 3.40:

  • C: varchar

X: CLOB (character large object) or largest varchar size if CLOB is not supported

  • C2: Multibyte varchar
  • X2: Multibyte CLOB
  • B: BLOB (binary large object)
  • D: Date (some databases do not support this, and we return a datetime type)
  • T: Datetime or Timestamp
  • L: Integer field suitable for storing booleans (0 or 1)
  • I: Integer (mapped to I4)
  • I1: 1-byte integer
  • I2: 2-byte integer
  • I4: 4-byte integer
  • I8: 8-byte integer
  • F: Floating point number
  • N: Numeric or decimal number
Parameter
string$nameName of the table to which the field will be added.
string$typeADODB datadict field type.
string$sizeField size
array$optsField options array
Rückgabe
array Field specifier array

Definiert in Zeile 413 der Datei adodb-xmlschema.inc.php.

Benutzt $name, $opts und dbObject\FieldID().

Wird benutzt von _tag_open().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

addField (   $name,
  $type,
  $size = NULL,
  $opts = NULL 
)

Adds a field to a table object

$name is the name of the table to which the field should be added. $type is an ADODB datadict field type. The following field types are supported as of ADODB 3.40:

  • C: varchar

X: CLOB (character large object) or largest varchar size if CLOB is not supported

  • C2: Multibyte varchar
  • X2: Multibyte CLOB
  • B: BLOB (binary large object)
  • D: Date (some databases do not support this, and we return a datetime type)
  • T: Datetime or Timestamp
  • L: Integer field suitable for storing booleans (0 or 1)
  • I: Integer (mapped to I4)
  • I1: 1-byte integer
  • I2: 2-byte integer
  • I4: 4-byte integer
  • I8: 8-byte integer
  • F: Floating point number
  • N: Numeric or decimal number
Parameter
string$nameName of the table to which the field will be added.
string$typeADODB datadict field type.
string$sizeField size
array$optsField options array
Rückgabe
array Field specifier array

Definiert in Zeile 450 der Datei adodb-xmlschema03.inc.php.

Benutzt $name, $opts und dbObject\FieldID().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

addFieldOpt (   $field,
  $opt,
  $value = NULL 
)

Adds a field option to the current field specifier

This method adds a field option allowed by the ADOdb datadict and appends it to the given field.

Parameter
string$fieldField name
string$optADOdb field option
mixed$valueField option value
Rückgabe
array Field specifier array

Definiert in Zeile 447 der Datei adodb-xmlschema.inc.php.

Benutzt dbObject\FieldID().

Wird benutzt von _tag_cdata() und _tag_open().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

addFieldOpt (   $field,
  $opt,
  $value = NULL 
)

Adds a field option to the current field specifier

This method adds a field option allowed by the ADOdb datadict and appends it to the given field.

Parameter
string$fieldField name
string$optADOdb field option
mixed$valueField option value
Rückgabe
array Field specifier array

Definiert in Zeile 486 der Datei adodb-xmlschema03.inc.php.

Benutzt dbObject\FieldID().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

addIndex (   $attributes)

Adds an index to a table object

Parameter
array$attributesIndex attributes
Rückgabe
object dbIndex object

Definiert in Zeile 365 der Datei adodb-xmlschema.inc.php.

Benutzt $name.

Wird benutzt von _tag_open().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

addIndex (   $attributes)

Adds an index to a table object

Parameter
array$attributesIndex attributes
Rückgabe
object dbIndex object

Definiert in Zeile 402 der Datei adodb-xmlschema03.inc.php.

Benutzt $name.

addTableOpt (   $opt)

Adds an option to the table

This method takes a comma-separated list of table-level options and appends them to the table object.

Parameter
string$optTable option
Rückgabe
array Options

Definiert in Zeile 465 der Datei adodb-xmlschema.inc.php.

Benutzt $opts.

Wird benutzt von _tag_cdata().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

addTableOpt (   $opt)

Adds an option to the table

This method takes a comma-separated list of table-level options and appends them to the table object.

Parameter
string$optTable option
Rückgabe
array Options

Definiert in Zeile 506 der Datei adodb-xmlschema03.inc.php.

Benutzt $opts.

create ( $xmls)

Generates the SQL that will create the table in the database

Parameter
object$xmlsadoSchema object
Rückgabe
array Array containing table creation SQL

Definiert in Zeile 479 der Datei adodb-xmlschema.inc.php.

Benutzt logMsg().

Wird benutzt von _tag_close().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

create ( $xmls)

Generates the SQL that will create the table in the database

Parameter
object$xmlsadoSchema object
Rückgabe
array Array containing table creation SQL

Definiert in Zeile 520 der Datei adodb-xmlschema03.inc.php.

Benutzt logMsg().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

dbTable ( $parent,
  $attributes = NULL 
)

Iniitializes a new table object.

Parameter
string$prefixDB Object prefix
array$attributesArray of table attributes.

Definiert in Zeile 251 der Datei adodb-xmlschema.inc.php.

Benutzt dbObject\$parent und dbObject\prefix().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

dbTable ( $parent,
  $attributes = NULL 
)

Iniitializes a new table object.

Parameter
string$prefixDB Object prefix
array$attributesArray of table attributes.

Definiert in Zeile 276 der Datei adodb-xmlschema03.inc.php.

Benutzt dbObject\$parent und dbObject\prefix().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

drop ( )

Marks a field or table for destruction

Definiert in Zeile 588 der Datei adodb-xmlschema.inc.php.

Benutzt $current_field und logMsg().

Wird benutzt von _tag_open().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

drop ( )

Marks a field or table for destruction

Definiert in Zeile 629 der Datei adodb-xmlschema03.inc.php.

Benutzt $current_field und logMsg().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Datenelemente

$current_field

Definiert in Zeile 231 der Datei adodb-xmlschema.inc.php.

Wird benutzt von drop().

$currentPlatform = true

Definiert in Zeile 267 der Datei adodb-xmlschema03.inc.php.

$drop_field = array()

Definiert in Zeile 243 der Datei adodb-xmlschema.inc.php.

$drop_table

Definiert in Zeile 237 der Datei adodb-xmlschema.inc.php.

$fields = array()

Definiert in Zeile 216 der Datei adodb-xmlschema.inc.php.

$indexes = array()

Definiert in Zeile 221 der Datei adodb-xmlschema.inc.php.

$name

Definiert in Zeile 211 der Datei adodb-xmlschema.inc.php.

Wird benutzt von addField() und addIndex().

$opts = array()

Definiert in Zeile 226 der Datei adodb-xmlschema.inc.php.

Wird benutzt von addField() und addTableOpt().


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.