TYPO3 CMS
TYPO3_6-2
|
Public Member Functions | |
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 () | |
![]() | |
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) | |
Public Attributes | |
$name | |
$fields = array() | |
$indexes = array() | |
$opts = array() | |
$current_field | |
$drop_table | |
$drop_field = array() | |
$currentPlatform = true | |
![]() | |
$parent | |
$currentElement | |
Definition at line 206 of file adodb-xmlschema.inc.php.
dbTable::_tag_cdata | ( | & | $parser, |
$cdata | |||
) |
XML Callback to process CDATA elements
private
Definition at line 319 of file adodb-xmlschema.inc.php.
dbTable::_tag_cdata | ( | & | $parser, |
$cdata | |||
) |
XML Callback to process CDATA elements
private
Definition at line 347 of file adodb-xmlschema03.inc.php.
dbTable::_tag_close | ( | & | $parser, |
$tag | |||
) |
XML Callback to process end elements
private
Definition at line 343 of file adodb-xmlschema.inc.php.
References dbObject\create(), and dbObject\destroy().
dbTable::_tag_close | ( | & | $parser, |
$tag | |||
) |
XML Callback to process end elements
private
Definition at line 375 of file adodb-xmlschema03.inc.php.
References dbObject\create(), and dbObject\destroy().
dbTable::_tag_open | ( | & | $parser, |
$tag, | |||
$attributes | |||
) |
XML Callback to process start elements. Elements currently processed are: INDEX, DROP, FIELD, KEY, NOTNULL, AUTOINCREMENT & DEFAULT.
private
Definition at line 262 of file adodb-xmlschema.inc.php.
References dbObject\supportedPlatform().
dbTable::_tag_open | ( | & | $parser, |
$tag, | |||
$attributes | |||
) |
XML Callback to process start elements. Elements currently processed are: INDEX, DROP, FIELD, KEY, NOTNULL, AUTOINCREMENT & DEFAULT.
private
Definition at line 287 of file adodb-xmlschema03.inc.php.
References dbObject\supportedPlatform().
dbTable::addData | ( | $attributes | ) |
Adds data to a table object
array | $attributes | Data attributes |
Definition at line 377 of file adodb-xmlschema.inc.php.
dbTable::addData | ( | $attributes | ) |
Adds data to a table object
array | $attributes | Data attributes |
Definition at line 414 of file adodb-xmlschema03.inc.php.
dbTable::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:
X: CLOB (character large object) or largest varchar size if CLOB is not supported
string | $name | Name of the table to which the field will be added. |
string | $type | ADODB datadict field type. |
string | $size | Field size |
array | $opts | Field options array |
Definition at line 413 of file adodb-xmlschema.inc.php.
References dbObject\FieldID().
dbTable::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:
X: CLOB (character large object) or largest varchar size if CLOB is not supported
string | $name | Name of the table to which the field will be added. |
string | $type | ADODB datadict field type. |
string | $size | Field size |
array | $opts | Field options array |
Definition at line 450 of file adodb-xmlschema03.inc.php.
References dbObject\FieldID().
dbTable::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.
string | $field | Field name |
string | $opt | ADOdb field option |
mixed | $value | Field option value |
Definition at line 447 of file adodb-xmlschema.inc.php.
References dbObject\FieldID().
dbTable::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.
string | $field | Field name |
string | $opt | ADOdb field option |
mixed | $value | Field option value |
Definition at line 486 of file adodb-xmlschema03.inc.php.
References dbObject\FieldID().
dbTable::addIndex | ( | $attributes | ) |
Adds an index to a table object
array | $attributes | Index attributes |
Definition at line 365 of file adodb-xmlschema.inc.php.
dbTable::addIndex | ( | $attributes | ) |
Adds an index to a table object
array | $attributes | Index attributes |
Definition at line 402 of file adodb-xmlschema03.inc.php.
dbTable::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.
string | $opt | Table option |
Definition at line 465 of file adodb-xmlschema.inc.php.
dbTable::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.
string | $opt | Table option |
Definition at line 506 of file adodb-xmlschema03.inc.php.
dbTable::create | ( | & | $xmls | ) |
Generates the SQL that will create the table in the database
object | $xmls | adoSchema object |
Definition at line 479 of file adodb-xmlschema.inc.php.
dbTable::create | ( | & | $xmls | ) |
Generates the SQL that will create the table in the database
object | $xmls | adoSchema object |
Definition at line 520 of file adodb-xmlschema03.inc.php.
dbTable::dbTable | ( | & | $parent, |
$attributes = NULL |
|||
) |
Iniitializes a new table object.
string | $prefix | DB Object prefix |
array | $attributes | Array of table attributes. |
Definition at line 251 of file adodb-xmlschema.inc.php.
References dbObject\$parent, and dbObject\prefix().
dbTable::dbTable | ( | & | $parent, |
$attributes = NULL |
|||
) |
Iniitializes a new table object.
string | $prefix | DB Object prefix |
array | $attributes | Array of table attributes. |
Definition at line 276 of file adodb-xmlschema03.inc.php.
References dbObject\$parent, and dbObject\prefix().
dbTable::drop | ( | ) |
Marks a field or table for destruction
Definition at line 588 of file adodb-xmlschema.inc.php.
References logMsg().
dbTable::drop | ( | ) |
Marks a field or table for destruction
Definition at line 629 of file adodb-xmlschema03.inc.php.
References logMsg().
dbTable::$current_field |
Definition at line 231 of file adodb-xmlschema.inc.php.
dbTable::$currentPlatform = true |
Definition at line 267 of file adodb-xmlschema03.inc.php.
dbTable::$drop_field = array() |
Definition at line 243 of file adodb-xmlschema.inc.php.
dbTable::$drop_table |
Definition at line 237 of file adodb-xmlschema.inc.php.
dbTable::$fields = array() |
Definition at line 216 of file adodb-xmlschema.inc.php.
dbTable::$indexes = array() |
Definition at line 221 of file adodb-xmlschema.inc.php.
dbTable::$name |
Definition at line 211 of file adodb-xmlschema.inc.php.
dbTable::$opts = array() |
Definition at line 226 of file adodb-xmlschema.inc.php.