DatabaseSchema: ezcDbSchemaIndex
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaIndex
|
A container to store a table index in. [
source]
Parents
ezcBaseStruct
|
--ezcDbSchemaIndex
Member Variables
|
public array(string=>ezcDbSchemaIndexField) |
$indexFields
The fields that make up this index |
|
public bool |
$primary
Whether this is the primary index for a table. |
|
public bool |
$unique
Whether entries in this index need to be unique. |
Method Summary
|
public ezcDbSchemaIndex |
__construct(
$indexFields, [$primary = false], [$unique = true] )
Constructs an ezcDbSchemaIndex object. |
|
public static void |
__set_state(
$array )
|
Methods
__construct
ezcDbSchemaIndex __construct(
array(string=>ezcDbSchemaIndexField)
$indexFields, [bool
$primary = false], [bool
$unique = true] )
Constructs an ezcDbSchemaIndex object.
Parameters
| Name |
Type |
Description |
$indexFields |
array(string=>ezcDbSchemaIndexField) |
|
$primary |
bool |
|
$unique |
bool |
|
__set_state
void __set_state(
$array )
Parameters
| Name |
Type |
Description |
$array |
array |
|
Last updated: Thu, 01 Nov 2007