/** * Info for Table * * Returns an array of info for the given table where the keys * are the columns and the values are info about that column. * * @see Zend_Db::describeTable() * @param string $tableName Name of the table we're looking up. * @return array */ public function infoForTable($tableName) { if (!isset($this->_tableInfo[$tableName])) { // We don't have it in this SimpleDb instance yet, so look it up. $this->_tableInfo[$tableName] = $this->_db->describeTable($tableName); } return $this->_tableInfo[$tableName]; }