|
Moodle
2.2.1
http://www.collinsharper.com
|


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 () | |
Data Fields | |
| $name | |
| $fields = array() | |
| $indexes = array() | |
| $opts = array() | |
| $current_field | |
| $drop_table | |
| $drop_field = array() | |
| $currentPlatform = true | |
Definition at line 206 of file adodb-xmlschema.inc.php.
| _tag_cdata | ( | &$ | parser, |
| $ | cdata | ||
| ) |
XML Callback to process CDATA elements
private
Reimplemented from dbObject.
Definition at line 319 of file adodb-xmlschema.inc.php.

| _tag_cdata | ( | &$ | parser, |
| $ | cdata | ||
| ) |
XML Callback to process CDATA elements
private
Reimplemented from dbObject.
Definition at line 347 of file adodb-xmlschema03.inc.php.

| _tag_close | ( | &$ | parser, |
| $ | tag | ||
| ) |
XML Callback to process end elements
private
Reimplemented from dbObject.
Definition at line 343 of file adodb-xmlschema.inc.php.

| _tag_close | ( | &$ | parser, |
| $ | tag | ||
| ) |
XML Callback to process end elements
private
Reimplemented from dbObject.
Definition at line 375 of file adodb-xmlschema03.inc.php.

| _tag_open | ( | &$ | parser, |
| $ | tag, | ||
| $ | attributes | ||
| ) |
XML Callback to process start elements. Elements currently processed are: INDEX, DROP, FIELD, KEY, NOTNULL, AUTOINCREMENT & DEFAULT.
private
Reimplemented from dbObject.
Definition at line 262 of file adodb-xmlschema.inc.php.

| _tag_open | ( | &$ | parser, |
| $ | tag, | ||
| $ | attributes | ||
| ) |
XML Callback to process start elements. Elements currently processed are: INDEX, DROP, FIELD, KEY, NOTNULL, AUTOINCREMENT & DEFAULT.
private
Reimplemented from dbObject.
Definition at line 287 of file adodb-xmlschema03.inc.php.

| addData | ( | $ | attributes | ) |
Adds data to a table object
| array | $attributes | Data attributes |
Definition at line 377 of file adodb-xmlschema.inc.php.

| addData | ( | $ | attributes | ) |
Adds data to a table object
| array | $attributes | Data attributes |
Definition at line 414 of file 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:
| 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.


| 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:
| 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.

| 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.


| 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.

| addIndex | ( | $ | attributes | ) |
Adds an index to a table object
| array | $attributes | Index attributes |
Definition at line 365 of file adodb-xmlschema.inc.php.

| addIndex | ( | $ | attributes | ) |
Adds an index to a table object
| array | $attributes | Index attributes |
Definition at line 402 of file adodb-xmlschema03.inc.php.
| 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.

| 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.
| create | ( | &$ | xmls | ) |
Generates the SQL that will create the table in the database
| object | $xmls | adoSchema object |
Reimplemented from dbObject.
Definition at line 479 of file adodb-xmlschema.inc.php.


| create | ( | &$ | xmls | ) |
Generates the SQL that will create the table in the database
| object | $xmls | adoSchema object |
Reimplemented from dbObject.
Definition at line 520 of file adodb-xmlschema03.inc.php.

| 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.

| 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.

| drop | ( | ) |
Marks a field or table for destruction
Definition at line 588 of file adodb-xmlschema.inc.php.


| drop | ( | ) |
Marks a field or table for destruction
Definition at line 629 of file adodb-xmlschema03.inc.php.

| $current_field |
Definition at line 231 of file adodb-xmlschema.inc.php.
| $currentPlatform = true |
Definition at line 267 of file adodb-xmlschema03.inc.php.
| $drop_field = array() |
Definition at line 243 of file adodb-xmlschema.inc.php.
Definition at line 237 of file adodb-xmlschema.inc.php.
| $fields = array() |
Definition at line 216 of file adodb-xmlschema.inc.php.
| $indexes = array() |
Definition at line 221 of file adodb-xmlschema.inc.php.
| $name |
Definition at line 211 of file adodb-xmlschema.inc.php.
| $opts = array() |
Definition at line 226 of file adodb-xmlschema.inc.php.