$parent
$parent :
var object Parent
Creates a table object in ADOdb's datadict format
This class stores information about a database table. As charactaristics of the table are loaded from the external source, methods and properties of this class are used to build up the table description in ADOdb's datadict format.
supportedPlatform(string $platform = NULL) : boolean
Checks whether the specified RDBMS is supported by the current database object or its ranking ancestor.
| string | $platform | RDBMS platform name (from ADODB platform list). |
TRUE if RDBMS is supported; otherwise returns FALSE.
addField(string $name, string $type, string $size = NULL, array $opts = NULL) : array
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 |
Field specifier array
addFieldOpt(string $field, string $opt, mixed $value = NULL) : array
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 |
Field specifier array