ezcDbSchemaField) */ public $fields; /** * A list of all the indexes on this table. * * @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() ) { ksort( $fields ); ksort( $indexes ); $this->fields = $fields; $this->indexes = $indexes; } static public function __set_state( array $array ) { return new ezcDbSchemaTable( $array['fields'], $array['indexes'] ); } } ?>