/** * Return description of the table * * @param string $table * @param bool $keys * @return array */ public function describe($table = null, $keys = false) { if (!$table) { $table = $this->table; } if ($table) { return $this->adapter->schema($table, $keys); } else { return array(); } }