add a getName() method for consistency with the Column and Table objects
authorChuck Hagenbuch <chuck@horde.org>
Sat, 10 Jan 2009 16:10:12 +0000 (11:10 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 10 Jan 2009 16:10:12 +0000 (11:10 -0500)
framework/Db/lib/Horde/Db/Adapter/Abstract/Index.php

index 1719fd9..9407b2e 100644 (file)
@@ -54,6 +54,19 @@ class Horde_Db_Adapter_Abstract_Index
 
 
     /*##########################################################################
+    # Accessor
+    ##########################################################################*/
+
+    /**
+     * @return  string
+     */
+    public function getName()
+    {
+        return $this->name;
+    }
+
+
+    /*##########################################################################
     # Casting
     ##########################################################################*/