ezcDbSchemaField) */ public $fields; /** * 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. * * @var array(string=>ezcDbSchemaIndex) */ public $indexes; /** * Constructs an ezcDbSchemaTable object. * * @param array(string=>ezcDbSchemaField) $fields * @param array(string=>ezcDbSchemaIndex) $indexes */ function __construct( $fields, $indexes = array() ) { $this->fields = $fields; $this->indexes = $indexes; } static public function __set_state( array $array ) { return new ezcDbSchemaTable( $array['fields'], $array['indexes'] ); } } ?>