Path

ez components / documentation / api reference / 2007.1.1 / databaseschema


eZ Components 2007.1.1

DatabaseSchema: ezcDbSchemaTable

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcDbSchemaTable

A container to store a table definition in. [source]

Parents

ezcBaseStruct
   |
   --ezcDbSchemaTable

Member Variables

public array(string=>ezcDbSchemaField) $fields
A list of all the fields in this table.
public array(string=>ezcDbSchemaIndex) $indexes
A list of all the indexes on this table.

Method Summary

public ezcDbSchemaTable __construct( $fields, [$indexes = array()] )
Constructs an ezcDbSchemaTable object.
public static void __set_state( $array )

Methods

__construct

ezcDbSchemaTable __construct( array(string=>ezcDbSchemaField) $fields, [array(string=>ezcDbSchemaIndex) $indexes = array()] )
Constructs an ezcDbSchemaTable object.

Parameters

Name Type Description
$fields array(string=>ezcDbSchemaField)  
$indexes array(string=>ezcDbSchemaIndex)  

__set_state

void __set_state( $array )

Parameters

Name Type Description
$array array  

Last updated: Wed, 28 Nov 2007