diff --git a/dblayeroo.php b/dblayeroo.php index 204c1ee..006fa1a 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -1183,6 +1183,22 @@ class dblayeroo } /* }}} */ + /** Dump the configuration of the table in an array + */ + public function exportConf () + /* {{{ */ + { + return array ("table" => $this->table, + "tableprefix" => $this->tableprefix, + "fields" => $this->fields, + "primary" => $this->primary, + "unique" => $this->unique, + "foreign" => $this->foreign, + "titles" => $this->titles, + ); + } + /* }}} */ + ///////////////////////////////////// /// MANAGE THE REQUEST BY OOP /// ///////////////////////////////////// @@ -1359,9 +1375,11 @@ class dblayeroo * @deprecated 0.36 */ public function displayColumn ($columnNames = array ()) + /* {{{ */ { return $this->displayAdd ($columnNames); } + /* }}} */ /** Set the columns to display for the next SELECT request. * The columns are ordered by the first added to the last added