Author: dr
Date: Tue Jan 15 09:27:58 2008
New Revision: 7148

Log:
- Implemented issue #10069: DatabaseSchema only for particular tables by
  documenting the class properties better.

Modified:
    trunk/DatabaseSchema/ChangeLog
    trunk/DatabaseSchema/src/schema.php
    trunk/DatabaseSchema/src/structs/index.php
    trunk/DatabaseSchema/src/structs/table.php

Modified: trunk/DatabaseSchema/ChangeLog
==============================================================================
--- trunk/DatabaseSchema/ChangeLog [iso-8859-1] (original)
+++ trunk/DatabaseSchema/ChangeLog [iso-8859-1] Tue Jan 15 09:27:58 2008
@@ -1,6 +1,7 @@
 1.4alpha1 - [RELEASEDATE]
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
+- Implemented issue #10069: DatabaseSchema only for particular tables.
 - Implemented issue #10364: Added support for table name prefixes.
 - Implemented issue #11562: Schema validator for duplicate index names.
 

Modified: trunk/DatabaseSchema/src/schema.php
==============================================================================
--- trunk/DatabaseSchema/src/schema.php [iso-8859-1] (original)
+++ trunk/DatabaseSchema/src/schema.php [iso-8859-1] Tue Jan 15 09:27:58 2008
@@ -242,6 +242,9 @@
     /**
      * Returns the internal schema by reference.
      *
+     * The method returns an array where the key is the table name, and the
+     * value the table definition stored in a ezcDbSchemaTable struct.
+     *
      * @return array(string=>ezcDbSchemaTable)
      */
     public function &getSchema()

Modified: trunk/DatabaseSchema/src/structs/index.php
==============================================================================
--- trunk/DatabaseSchema/src/structs/index.php [iso-8859-1] (original)
+++ trunk/DatabaseSchema/src/structs/index.php [iso-8859-1] Tue Jan 15 09:27:58 
2008
@@ -16,6 +16,8 @@
 {
     /**
      * The fields that make up this index
+     *
+     * The array is indexed with the name of the field.
      *
      * @var array(string=>ezcDbSchemaIndexField)
      */

Modified: trunk/DatabaseSchema/src/structs/table.php
==============================================================================
--- trunk/DatabaseSchema/src/structs/table.php [iso-8859-1] (original)
+++ trunk/DatabaseSchema/src/structs/table.php [iso-8859-1] Tue Jan 15 09:27:58 
2008
@@ -17,12 +17,17 @@
     /**
      * A list of all the fields in this table.
      *
+     * The array is indexed with the field name.
+     *
      * @var array(string=>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)
      */


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to