/** * Get the list of columns for the table * * @return array The list of columns * * @since 1.0.0 */ public function getTableColumns() { if (empty($this->fields)) { $this->fields = $this->database->getTableColumns($this->name); } return $this->fields; }