A container to store a table definition in.
Source for this file: /DatabaseSchema/src/structs/table.php
ezcBaseStruct | --ezcDbSchemaTable
Version: | //autogentag// |
public array(string=>ezcDbSchemaField) |
$fields
A list of all the fields in this table. The array is indexed with the field name. |
public array(string=>ezcDbSchemaIndex) |
$indexes
A list of all the indexes on this table. The array is indexed with the index name, where the index with the name 'primary' is a special one describing the primairy key. |
public static void |
__set_state(
$array
)
|
public ezcDbSchemaTable |
__construct(
$fields
, [ $indexes
= array()] )
Constructs an ezcDbSchemaTable object. |
Name | Type | Description |
---|---|---|
$array |
array |
Constructs an ezcDbSchemaTable object.
Name | Type | Description |
---|---|---|
$fields |
array(string=>ezcDbSchemaField) | |
$indexes |
array(string=>ezcDbSchemaIndex) |